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, throwReferral
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
protected LogChange logChange
public AbstractChangeOperationContext(CoreSession session)
public AbstractChangeOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn)
public ChangeLogEvent getChangeLogEvent()
ChangeOperationContext
getChangeLogEvent
in interface ChangeOperationContext
ChangeOperationContext.getChangeLogEvent()
public void setChangeLogEvent(ChangeLogEvent changeLogEvent)
public void setLogChange(LogChange logChange)
setLogChange
in interface ChangeOperationContext
logChange
- The flagpublic boolean isLogChange()
isLogChange
in interface ChangeOperationContext
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.