public class MoveOperationContext extends AbstractChangeOperationContext
logChange, modifiedEntry
authorizedPrincipal, byPassed, currentInterceptor, dn, EMPTY_CONTROLS, entry, interceptors, originalEntry, partition, requestControls, responseControls, session, throwReferral, transaction
Constructor and Description |
---|
MoveOperationContext(CoreSession session)
Creates a new instance of MoveOperationContext.
|
MoveOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn oldDn,
org.apache.directory.api.ldap.model.name.Dn newSuperior)
Creates a new instance of MoveOperationContext.
|
MoveOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest)
Create a new instanc eof MoveOperationContext
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
org.apache.directory.api.ldap.model.name.Dn |
getNewDn() |
org.apache.directory.api.ldap.model.name.Dn |
getNewSuperior() |
org.apache.directory.api.ldap.model.name.Dn |
getOldSuperior() |
org.apache.directory.api.ldap.model.name.Rdn |
getRdn() |
void |
setNewDn(org.apache.directory.api.ldap.model.name.Dn newDn) |
void |
setNewSuperior(org.apache.directory.api.ldap.model.name.Dn newSuperior) |
void |
setOldSuperior(org.apache.directory.api.ldap.model.name.Dn oldSuperior) |
void |
setRdn(org.apache.directory.api.ldap.model.name.Rdn rdn) |
String |
toString() |
getChangeLogEvent, getModifiedEntry, getRid, isGenerateNoReplEvt, isLogChange, isPushToEvtInterceptor, isReplEvent, setChangeLogEvent, setGenerateNoReplEvt, setLogChange, setModifiedEntry, setPushToEvtInterceptor, setReplEvent, setRid
addRequestControl, addRequestControls, addResponseControl, delete, getCurrentInterceptor, getDn, getEffectivePrincipal, getEntry, getNextInterceptor, getOriginalEntry, getPartition, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, getTransaction, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, ignoreReferral, isReferralIgnored, isReferralThrown, lookup, newLookupContext, setAuthorizedPrincipal, setCurrentInterceptor, setDn, setEntry, setInterceptors, setOriginalEntry, setPartition, setRequestControls, setSession, setTransaction, throwReferral
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addRequestControl, addRequestControls, addResponseControl, delete, getCurrentInterceptor, getDn, getEffectivePrincipal, getEntry, getNextInterceptor, getPartition, getRequestControl, getResponseControl, getResponseControlCount, getResponseControls, getSession, getTransaction, hasRequestControl, hasRequestControls, hasResponseControl, hasResponseControls, ignoreReferral, isReferralIgnored, isReferralThrown, lookup, newLookupContext, setCurrentInterceptor, setDn, setEntry, setInterceptors, setPartition, setTransaction, throwReferral
public MoveOperationContext(CoreSession session)
session
- The session to usepublic MoveOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn oldDn, org.apache.directory.api.ldap.model.name.Dn newSuperior)
session
- The session to useoldDn
- the original source entry Dn to be moved and renamednewSuperior
- the new entry superior of the target after the movepublic MoveOperationContext(CoreSession session, org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest)
session
- The session to usemodifyDnRequest
- The ModDN operation to applypublic org.apache.directory.api.ldap.model.name.Dn getOldSuperior()
public void setOldSuperior(org.apache.directory.api.ldap.model.name.Dn oldSuperior)
oldSuperior
- the oldSuperior to setpublic org.apache.directory.api.ldap.model.name.Dn getNewSuperior()
public void setNewSuperior(org.apache.directory.api.ldap.model.name.Dn newSuperior)
newSuperior
- the newSuperior to setpublic org.apache.directory.api.ldap.model.name.Rdn getRdn()
public void setRdn(org.apache.directory.api.ldap.model.name.Rdn rdn)
rdn
- the rdn to setpublic org.apache.directory.api.ldap.model.name.Dn getNewDn()
public void setNewDn(org.apache.directory.api.ldap.model.name.Dn newDn)
newDn
- the newDn to setpublic String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.