org.apache.directory.server.core.interceptor.context
Interface ChangeOperationContext

All Superinterfaces:
OperationContext
All Known Implementing Classes:
AbstractChangeOperationContext, AddOperationContext, DeleteOperationContext, ModifyOperationContext, MoveAndRenameOperationContext, MoveOperationContext, RenameOperationContext

public interface ChangeOperationContext
extends OperationContext

Operations (write based) causing changes extend this interface.

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

Method Summary
 ChangeLogEvent getChangeLogEvent()
          Gets the ChangeLogEvent associated with this operation after the operation has been executed.
 boolean isLogChange()
           
 void setLogChange(LogChange log)
          Set the flag which tells the server to log the changes into the changeLog file
 
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, ignoreReferral, isBypassed, isFirstOperation, isReferralIgnored, isReferralThrown, lookup, lookup, modify, newLookupContext, setByPassed, setDn, setEntry, throwReferral
 

Method Detail

getChangeLogEvent

ChangeLogEvent getChangeLogEvent()
Gets the ChangeLogEvent associated with this operation after the operation has been executed. Returns null if the ChangeLogService has not been enabled.

Returns:
the ChangeLogEvent associated with this operation, or null

setLogChange

void setLogChange(LogChange log)
Set the flag which tells the server to log the changes into the changeLog file

Parameters:
log - The flag

isLogChange

boolean isLogChange()
Returns:
True if the changes are logged into the changeLog


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