public class MoveAndRenameOperationContext extends RenameOperationContext
newDn, newRdn
logChange, modifiedEntry
authorizedPrincipal, byPassed, currentInterceptor, dn, EMPTY_CONTROLS, entry, interceptors, originalEntry, partition, requestControls, responseControls, session, throwReferral, transaction
Constructor and Description |
---|
MoveAndRenameOperationContext(CoreSession session)
Creates a new instance of MoveAndRenameOperationContext.
|
MoveAndRenameOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.name.Dn oldDn,
org.apache.directory.api.ldap.model.name.Dn newSuperiorDn,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
boolean delOldRdn)
Creates a new instance of MoveAndRenameOperationContext.
|
MoveAndRenameOperationContext(CoreSession session,
org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<ModDnAva>> |
getModifiedAvas() |
org.apache.directory.api.ldap.model.name.Dn |
getNewSuperiorDn() |
void |
setModifiedAvas(Map<String,List<ModDnAva>> modifiedAvas) |
void |
setNewSuperiorDn(org.apache.directory.api.ldap.model.name.Dn newSuperiorDn)
Set the new Superior Dn
|
String |
toString() |
getDeleteOldRdn, getName, getNewDn, getNewRdn, setDelOldDn, setNewDn, setNewRdn
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 MoveAndRenameOperationContext(CoreSession session)
session
- The session to usepublic MoveAndRenameOperationContext(CoreSession session, org.apache.directory.api.ldap.model.name.Dn oldDn, org.apache.directory.api.ldap.model.name.Dn newSuperiorDn, org.apache.directory.api.ldap.model.name.Rdn newRdn, boolean delOldRdn)
session
- The session to useoldDn
- the original source entry Dn to be moved and renamednewSuperiorDn
- the new entry superior of the target after the movenewRdn
- the new rdn to use for the target once renameddelOldRdn
- true if the old rdn value is deleted, false otherwisepublic MoveAndRenameOperationContext(CoreSession session, org.apache.directory.api.ldap.model.message.ModifyDnRequest modifyDnRequest)
public org.apache.directory.api.ldap.model.name.Dn getNewSuperiorDn()
public void setNewSuperiorDn(org.apache.directory.api.ldap.model.name.Dn newSuperiorDn)
newSuperiorDn
- The new Superior Dnpublic String toString()
toString
in class RenameOperationContext
Object.toString()
public Map<String,List<ModDnAva>> getModifiedAvas()
public void setModifiedAvas(Map<String,List<ModDnAva>> modifiedAvas)
modifiedAvas
- the modifiedAvas to setCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.