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

java.lang.Object
  extended by org.apache.directory.server.core.interceptor.context.AbstractOperationContext
      extended by org.apache.directory.server.core.interceptor.context.AbstractChangeOperationContext
All Implemented Interfaces:
ChangeOperationContext, OperationContext
Direct Known Subclasses:
AddOperationContext, DeleteOperationContext, ModifyOperationContext, MoveOperationContext, RenameOperationContext

public abstract class AbstractChangeOperationContext
extends AbstractOperationContext
implements ChangeOperationContext

An abstract base class used by all change inducing operations.

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
 
Constructor Summary
AbstractChangeOperationContext(CoreSession session)
           
AbstractChangeOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.LdapDN dn)
           
 
Method Summary
 ChangeLogEvent getChangeLogEvent()
          Gets the ChangeLogEvent associated with this operation after the operation has been executed.
 void setChangeLogEvent(ChangeLogEvent changeLogEvent)
           
 
Methods inherited from class org.apache.directory.server.core.interceptor.context.AbstractOperationContext
add, addRequestControl, addRequestControls, addResponseControl, delete, getByPassed, getDn, getEffectivePrincipal, getEntry, getFirstOperation, getLastOperation, getName, 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, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.server.core.interceptor.context.OperationContext
add, addRequestControl, addRequestControls, addResponseControl, delete, getByPassed, getDn, getEffectivePrincipal, getEntry, getFirstOperation, getLastOperation, getName, getNextOperation, getPreviousOperation, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, hasBypass, hasEntry, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, isBypassed, isFirstOperation, lookup, lookup, modify, newLookupContext, setByPassed, setDn, setEntry
 

Constructor Detail

AbstractChangeOperationContext

public AbstractChangeOperationContext(CoreSession session)

AbstractChangeOperationContext

public AbstractChangeOperationContext(CoreSession session,
                                      org.apache.directory.shared.ldap.name.LdapDN dn)
Method Detail

getChangeLogEvent

public ChangeLogEvent getChangeLogEvent()
Description copied from interface: ChangeOperationContext
Gets the ChangeLogEvent associated with this operation after the operation has been executed. Returns null if the ChangeLogService has not been enabled.

Specified by:
getChangeLogEvent in interface ChangeOperationContext
Returns:
the ChangeLogEvent associated with this operation, or null
See Also:
ChangeOperationContext.getChangeLogEvent()

setChangeLogEvent

public void setChangeLogEvent(ChangeLogEvent changeLogEvent)


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