org.apache.directory.server.core.interceptor.context
Class EntryOperationContext

java.lang.Object
  extended by org.apache.directory.server.core.interceptor.context.AbstractOperationContext
      extended by org.apache.directory.server.core.interceptor.context.EntryOperationContext
All Implemented Interfaces:
OperationContext

public class EntryOperationContext
extends AbstractOperationContext

A Entry context used for Interceptors. It contains all the informations needed for the hasEntry operation, and used by all the interceptors

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
 
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
EntryOperationContext(CoreSession session)
          Creates a new instance of EntryOperationContext.
EntryOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN entryDn)
          Creates a new instance of EntryOperationContext.
 
Method Summary
 java.lang.String getName()
           
 java.lang.String toString()
           
 
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

EntryOperationContext

public EntryOperationContext(CoreSession session)
Creates a new instance of EntryOperationContext.


EntryOperationContext

public EntryOperationContext(CoreSession session,
                             org.apache.directory.shared.ldap.name.DN entryDn)
Creates a new instance of EntryOperationContext.

Parameters:
entryDn - The Entry DN to unbind
Method Detail

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 java.lang.Object
See Also:
Object.toString()


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.