public abstract class AbstractChangeOperationContext extends AbstractOperationContext implements ChangeOperationContext
| Modifier and Type | Field and Description |
|---|---|
protected LogChange |
logChange
The flag used to tell the server to store the change sinto the changeLog
|
authorizedPrincipal, byPassed, dn, EMPTY_CONTROLS, entry, next, previous, requestControls, responseControls, session, throwReferral| Constructor and Description |
|---|
AbstractChangeOperationContext(CoreSession session) |
AbstractChangeOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn) |
| Modifier and Type | Method and Description |
|---|---|
ChangeLogEvent |
getChangeLogEvent()
Gets the ChangeLogEvent associated with this operation after the
operation has been executed.
|
boolean |
isLogChange() |
void |
setChangeLogEvent(ChangeLogEvent changeLogEvent) |
void |
setLogChange(LogChange logChange)
Set the flag which tells the server to log the changes into
the changeLog file
|
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, setAuthorizedPrincipal, setByPassed, setDn, setEntry, setNextOperation, setPreviousOperation, setRequestControls, setSession, throwReferralclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, 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, throwReferralprotected LogChange logChange
public AbstractChangeOperationContext(CoreSession session)
public AbstractChangeOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn)
public ChangeLogEvent getChangeLogEvent()
ChangeOperationContextgetChangeLogEvent in interface ChangeOperationContextChangeOperationContext.getChangeLogEvent()public void setChangeLogEvent(ChangeLogEvent changeLogEvent)
public void setLogChange(LogChange logChange)
setLogChange in interface ChangeOperationContextlogChange - The flagpublic boolean isLogChange()
isLogChange in interface ChangeOperationContextCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.