|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Given a search filter and a scope the search engine identifies valid candidate entries returning their ids.
| Field Summary | |
static java.lang.String |
ALIASMODE_KEY
|
static java.lang.String |
ALWAYS
|
static java.lang.String |
FINDING
|
static java.lang.String |
NEVER
|
static java.lang.String |
SEARCHING
|
| Method Summary | |
boolean |
evaluate(ExprNode filter,
java.math.BigInteger id)
Evaluates a filter on an entry with a id. |
Optimizer |
getOptimizer()
Gets the optimizer for this DefaultSearchEngine. |
javax.naming.NamingEnumeration |
search(javax.naming.Name base,
java.util.Map env,
ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
Conducts a search on a database. |
| Field Detail |
public static final java.lang.String ALIASMODE_KEY
public static final java.lang.String ALWAYS
public static final java.lang.String NEVER
public static final java.lang.String FINDING
public static final java.lang.String SEARCHING
| Method Detail |
public Optimizer getOptimizer()
public javax.naming.NamingEnumeration search(javax.naming.Name base,
java.util.Map env,
ExprNode filter,
javax.naming.directory.SearchControls searchCtls)
throws javax.naming.NamingException
base - the search baseenv - the environment for the searchfilter - the search filter AST rootsearchCtls - the JNDI search controls
javax.naming.NamingException - if the search fails
public boolean evaluate(ExprNode filter,
java.math.BigInteger id)
throws javax.naming.NamingException
filter - the filter root AST nodeid - the id of the entry to test
javax.naming.NamingException - if something goes wrong while accessing the db
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||