|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.interceptor.context.AbstractOperationContext
org.apache.directory.server.core.interceptor.context.SearchingOperationContext
org.apache.directory.server.core.interceptor.context.SearchOperationContext
public class SearchOperationContext
A Search context used for Interceptors. It contains all the informations needed for the search operation, and used by all the interceptors
Field Summary |
---|
Fields inherited from class org.apache.directory.server.core.interceptor.context.SearchingOperationContext |
---|
abandoned, aliasDerefMode, allOperationalAttributes, allUserAttributes, noAttributes, returningAttributes, scope, sizeLimit, timeLimit, typesOnly |
Fields inherited from class org.apache.directory.server.core.interceptor.context.AbstractOperationContext |
---|
authorizedPrincipal, byPassed, dn, EMPTY_CONTROLS, entry, next, previous, requestControls, responseControls, session, throwReferral |
Constructor Summary | |
---|---|
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,
javax.naming.directory.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,
java.util.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. |
Method Summary | |
---|---|
org.apache.directory.shared.ldap.filter.ExprNode |
getFilter()
|
java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.directory.server.core.interceptor.context.SearchingOperationContext |
---|
getAliasDerefMode, getReturningAttributes, getScope, getSearchControls, getSearchControls, getSizeLimit, getTimeLimit, isAbandoned, isAllOperationalAttributes, isAllUserAttributes, isNoAttributes, isTypesOnly, setAbandoned, setAliasDerefMode, setAllOperationalAttributes, setAllUserAttributes, setNoAttributes, setReturningAttributes, setReturningAttributes, setReturningAttributes, setScope, setSizeLimit, setTimeLimit, setTypesOnly |
Methods inherited from class org.apache.directory.server.core.interceptor.context.AbstractOperationContext |
---|
add, 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, throwReferral |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchOperationContext(CoreSession session)
public SearchOperationContext(CoreSession session, org.apache.directory.shared.ldap.message.internal.InternalSearchRequest searchRequest) throws java.lang.Exception
java.lang.Exception
public SearchOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn, org.apache.directory.shared.ldap.filter.ExprNode filter, javax.naming.directory.SearchControls searchControls) throws java.lang.Exception
dn
- the dn of the search basefilter
- the filter AST to use for the searchsearchControls
- the search controls
java.lang.Exception
public 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, java.util.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 returnMethod Detail |
---|
public 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 java.lang.String toString()
toString
in class SearchingOperationContext
Object.toString()
public java.lang.String getName()
getName
in interface OperationContext
getName
in class AbstractOperationContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |