public class SearchOperationContext extends SearchingOperationContext
abandoned, aliasDerefMode, allOperationalAttributes, allUserAttributes, noAttributes, returningAttributes, scope, sizeLimit, timeLimit, typesOnlyauthorizedPrincipal, byPassed, dn, EMPTY_CONTROLS, entry, next, previous, requestControls, responseControls, session, throwReferral| Constructor and Description |
|---|
SearchOperationContext(CoreSession session)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.filter.ExprNode filter,
SearchControls searchControls)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn,
org.apache.directory.shared.ldap.filter.SearchScope scope,
org.apache.directory.shared.ldap.filter.ExprNode filter,
Set<org.apache.directory.shared.ldap.schema.AttributeTypeOptions> returningAttributes)
Creates a new instance of SearchOperationContext.
|
SearchOperationContext(CoreSession session,
org.apache.directory.shared.ldap.message.internal.InternalSearchRequest searchRequest)
Creates a new instance of SearchOperationContext.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.shared.ldap.filter.ExprNode |
getFilter() |
String |
getName() |
boolean |
hasManageDsaItControl()
Checks whether or not the ManageDsaITControl is present.
|
void |
setFilter(org.apache.directory.shared.ldap.filter.ExprNode filter)
Set the filter into the context.
|
String |
toString() |
getAliasDerefMode, getReturningAttributes, getScope, getSearchControls, getSearchControls, getSizeLimit, getTimeLimit, isAbandoned, isAllOperationalAttributes, isAllUserAttributes, isNoAttributes, isTypesOnly, setAbandoned, setAliasDerefMode, setAllOperationalAttributes, setAllUserAttributes, setNoAttributes, setReturningAttributes, setReturningAttributes, setReturningAttributes, setScope, setSizeLimit, setTimeLimit, setTypesOnlyadd, addRequestControl, addRequestControls, addResponseControl, delete, getByPassed, getDn, getEffectivePrincipal, getEntry, getFirstOperation, getLastOperation, getNextOperation, getPreviousOperation, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, hasBypass, hasEntry, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, ignoreReferral, isBypassed, isFirstOperation, isReferralIgnored, isReferralThrown, lookup, lookup, modify, newLookupContext, setAuthorizedPrincipal, setByPassed, setDn, setEntry, setNextOperation, setPreviousOperation, setRequestControls, setSession, throwReferralpublic SearchOperationContext(CoreSession session)
public SearchOperationContext(CoreSession session, org.apache.directory.shared.ldap.message.internal.InternalSearchRequest searchRequest) throws Exception
Exceptionpublic SearchOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn, org.apache.directory.shared.ldap.filter.ExprNode filter, SearchControls searchControls) throws Exception
dn - the dn of the search basefilter - the filter AST to use for the searchsearchControls - the search controlsExceptionpublic SearchOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn, org.apache.directory.shared.ldap.filter.SearchScope scope, org.apache.directory.shared.ldap.filter.ExprNode filter, Set<org.apache.directory.shared.ldap.schema.AttributeTypeOptions> returningAttributes)
session - the session this operation is associated withdn - the search basescope - the search scopefilter - the filter AST to use for the searchaliasDerefMode - the alias dereferencing modereturningAttributes - the attributes to returnpublic boolean hasManageDsaItControl()
public org.apache.directory.shared.ldap.filter.ExprNode getFilter()
public void setFilter(org.apache.directory.shared.ldap.filter.ExprNode filter)
filter - The filter to setpublic String toString()
toString in class SearchingOperationContextObject.toString()public String getName()
getName in interface OperationContextgetName in class AbstractOperationContextCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.