org.apache.directory.server.core.interceptor.context
Class ListOperationContext
java.lang.Object
org.apache.directory.server.core.interceptor.context.AbstractOperationContext
org.apache.directory.server.core.interceptor.context.SearchingOperationContext
org.apache.directory.server.core.interceptor.context.ListOperationContext
- All Implemented Interfaces:
- OperationContext
public class ListOperationContext
- extends SearchingOperationContext
A ListContext context used for Interceptors. It contains all the informations
needed for the List operation, and used by all the interceptors
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
Constructor Summary |
ListOperationContext(CoreSession session)
Creates a new instance of ListOperationContext. |
ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN dn)
Creates a new instance of ListOperationContext. |
ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN dn,
org.apache.directory.shared.ldap.message.AliasDerefMode aliasDerefMode)
Creates a new instance of ListOperationContext. |
ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN dn,
org.apache.directory.shared.ldap.message.AliasDerefMode aliasDerefMode,
java.util.Set<org.apache.directory.shared.ldap.schema.AttributeTypeOptions> returningAttributes)
Creates a new instance of ListOperationContext with attributes to return. |
Methods inherited from class org.apache.directory.server.core.interceptor.context.SearchingOperationContext |
getAliasDerefMode, getReturningAttributes, getScope, getSearchControls, getSearchControls, getSizeLimit, getTimeLimit, isAbandoned, isAllOperationalAttributes, isAllUserAttributes, isNoAttributes, setAbandoned, setAllOperationalAttributes, setAllUserAttributes, setNoAttributes, setReturningAttributes, setReturningAttributes, setReturningAttributes, setScope, setSizeLimit, setTimeLimit |
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, isBypassed, isFirstOperation, lookup, lookup, modify, newLookupContext, setAuthorizedPrincipal, setByPassed, setDn, setEntry, setNextOperation, setPreviousOperation, setRequestControls, setSession |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ListOperationContext
public ListOperationContext(CoreSession session)
- Creates a new instance of ListOperationContext.
ListOperationContext
public ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN dn)
- Creates a new instance of ListOperationContext.
- Parameters:
dn
- The DN to get the suffix from
ListOperationContext
public ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN dn,
org.apache.directory.shared.ldap.message.AliasDerefMode aliasDerefMode)
- Creates a new instance of ListOperationContext.
- Parameters:
dn
- The DN to get the suffix fromaliasDerefMode
- the alias dereferencing mode to use
ListOperationContext
public ListOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN dn,
org.apache.directory.shared.ldap.message.AliasDerefMode aliasDerefMode,
java.util.Set<org.apache.directory.shared.ldap.schema.AttributeTypeOptions> returningAttributes)
- Creates a new instance of ListOperationContext with attributes to return.
- Parameters:
session
- the session associated with this OperationContext
dn
- the base DNaliasDerefMode
- the alias dereferencing mode to usereturningAttributes
- the attributes to return
getName
public java.lang.String getName()
- Specified by:
getName
in interface OperationContext
- Specified by:
getName
in class AbstractOperationContext
- Returns:
- the operation name
toString
public java.lang.String toString()
- Overrides:
toString
in class SearchingOperationContext
- See Also:
Object.toString()
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.