|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.interceptor.context.AbstractOperationContext
org.apache.directory.server.core.interceptor.context.AbstractChangeOperationContext
public abstract class AbstractChangeOperationContext
An abstract base class used by all change inducing operations.
Field Summary | |
---|---|
protected LogChange |
logChange
The flag used to tell the server to store the change sinto the changeLog |
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 | |
---|---|
AbstractChangeOperationContext(CoreSession session)
|
|
AbstractChangeOperationContext(CoreSession session,
org.apache.directory.shared.ldap.name.DN dn)
|
Method Summary | |
---|---|
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 |
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, 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, 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, ignoreReferral, isBypassed, isFirstOperation, isReferralIgnored, isReferralThrown, lookup, lookup, modify, newLookupContext, setByPassed, setDn, setEntry, throwReferral |
Field Detail |
---|
protected LogChange logChange
Constructor Detail |
---|
public AbstractChangeOperationContext(CoreSession session)
public AbstractChangeOperationContext(CoreSession session, org.apache.directory.shared.ldap.name.DN dn)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |