Example usage for Java javax.naming.directory SearchControls fields, constructors, methods, implement or subclass
The text is from its open source code.
int | OBJECT_SCOPE Search the named object. |
int | ONELEVEL_SCOPE Search one level of the named context. |
int | SUBTREE_SCOPE Search the entire subtree rooted at the named object. |
SearchControls() Constructs a search constraints using defaults. | |
SearchControls(int scope, long countlim, int timelim, String[] attrs, boolean retobj, boolean deref) Constructs a search constraints using arguments. |
long | getCountLimit() Retrieves the maximum number of entries that will be returned as a result of the search. |
boolean | getDerefLinkFlag() Determines whether links will be dereferenced during the search. |
String[] | getReturningAttributes() Retrieves the attributes that will be returned as part of the search. |
boolean | getReturningObjFlag() Determines whether objects will be returned as part of the result. |
int | getSearchScope() Retrieves the search scope of these SearchControls. |
int | getTimeLimit() Retrieves the time limit of these SearchControls in milliseconds. |
void | setCountLimit(long limit) Sets the maximum number of entries to be returned as a result of the search. |
void | setDerefLinkFlag(boolean on) Enables/disables link dereferencing during the search. |
void | setReturningAttributes(String[] attrs) Specifies the attributes that will be returned as part of the search. |
void | setReturningObjFlag(boolean on) Enables/disables returning objects returned as part of the result. |
void | setSearchScope(int scope) Sets the search scope to one of: OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE. |
void | setTimeLimit(int ms) Sets the time limit of these SearchControls in milliseconds. |