|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InternalSearchRequest
Search request protocol message interface.
| Field Summary | |
|---|---|
static MessageTypeEnum[] |
RESPONSE_TYPES
Different response types that a search request may return. |
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String attribute)
Adds an attribute to the set of entry attributes to return. |
java.util.List<java.lang.String> |
getAttributes()
Gets a list of the attributes to be returned from each entry which matches the search filter. |
LdapDN |
getBase()
Gets the search base as a distinguished name. |
AliasDerefMode |
getDerefAliases()
Gets the alias handling parameter. |
ExprNode |
getFilter()
Gets the search filter associated with this search request. |
MessageTypeEnum[] |
getResponseTypes()
Gets the different response types generated by a search request. |
SearchScope |
getScope()
Gets the search scope parameter enumeration. |
int |
getSizeLimit()
A sizelimit that restricts the maximum number of entries to be returned as a result of the search. |
int |
getTimeLimit()
Gets the timelimit that restricts the maximum time (in seconds) allowed for a search. |
boolean |
getTypesOnly()
An indicator as to whether search results will contain both attribute types and values, or just attribute types. |
void |
removeAttribute(java.lang.String attribute)
Removes an attribute to the set of entry attributes to return. |
void |
setBase(LdapDN baseDn)
Sets the search base as a distinguished name. |
void |
setDerefAliases(AliasDerefMode aliasDerefAliases)
Sets the alias handling parameter. |
void |
setFilter(ExprNode filter)
Sets the search filter associated with this search request. |
void |
setScope(SearchScope scope)
Sets the search scope parameter enumeration. |
void |
setSizeLimit(int entriesMax)
Sets sizelimit that restricts the maximum number of entries to be returned as a result of the search. |
void |
setTimeLimit(int secondsMax)
Sets the timelimit that restricts the maximum time (in seconds) allowed for a search. |
void |
setTypesOnly(boolean typesOnly)
An indicator as to whether search results will contain both attribute types and values, or just attribute types. |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalResultResponseRequest |
|---|
getResultResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalRequest |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalMessage |
|---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalAbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Field Detail |
|---|
static final MessageTypeEnum[] RESPONSE_TYPES
getResponseTypes()| Method Detail |
|---|
MessageTypeEnum[] getResponseTypes()
getResponseTypes in interface ManyReplyRequestRESPONSE_TYPESLdapDN getBase()
void setBase(LdapDN baseDn)
baseDn - the search baseSearchScope getScope()
void setScope(SearchScope scope)
scope - the scope enumeration parameter.AliasDerefMode getDerefAliases()
void setDerefAliases(AliasDerefMode aliasDerefAliases)
aliasDerefAliases - the alias handling parameter enumeration.int getSizeLimit()
void setSizeLimit(int entriesMax)
entriesMax - maximum search result entries to return.int getTimeLimit()
void setTimeLimit(int secondsMax)
secondsMax - the search time limit in seconds.boolean getTypesOnly()
void setTypesOnly(boolean typesOnly)
typesOnly - true for only types, false for types and values.ExprNode getFilter()
void setFilter(ExprNode filter)
filter - the expression node for the root of the filter expression
tree.java.util.List<java.lang.String> getAttributes()
void addAttribute(java.lang.String attribute)
attribute - the attribute description or identifier.void removeAttribute(java.lang.String attribute)
attribute - the attribute description or identifier.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||