public abstract class ModifyDNOperationWrapper extends OperationWrapper<ModifyDNOperation> implements ModifyDNOperation
LOCALBACKENDOPERATIONS
Constructor and Description |
---|
ModifyDNOperationWrapper(ModifyDNOperation modifyDN)
Creates a new moddn operation based on the provided moddn operation.
|
Modifier and Type | Method and Description |
---|---|
void |
addModification(Modification modification)
Adds the provided modification to the set of modifications to be applied
as part of the update.
|
boolean |
deleteOldRDN()
Indicates whether the current RDN value should be removed from the entry.
|
org.forgerock.opendj.ldap.Dn |
getEntryDN()
Retrieves the DN of the entry to rename.
|
List<Modification> |
getModifications()
Retrieves the set of modifications applied to attributes of the target
entry in the course of processing this modify DN operation.
|
org.forgerock.opendj.ldap.Dn |
getNewDN()
Retrieves the new DN for the entry.
|
org.forgerock.opendj.ldap.Rdn |
getNewRDN()
Retrieves the new RDN to use for the entry.
|
org.forgerock.opendj.ldap.Dn |
getNewSuperior()
Retrieves the newSuperior DN for the entry.
|
Entry |
getOriginalEntry()
Retrieves the current entry, before it is renamed.
|
org.forgerock.opendj.ldap.ByteString |
getRawEntryDN()
Retrieves the raw, unprocessed entry DN as included in the client request.
|
org.forgerock.opendj.ldap.ByteString |
getRawNewRDN()
Retrieves the raw, unprocessed newRDN as included in the request from the
client.
|
org.forgerock.opendj.ldap.ByteString |
getRawNewSuperior()
Retrieves the raw, unprocessed newSuperior from the client request.
|
Entry |
getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed.
|
void |
setDeleteOldRDN(boolean deleteOldRDN)
Specifies whether the current RDN value should be removed from the entry.
|
void |
setRawEntryDN(org.forgerock.opendj.ldap.ByteString rawEntryDN)
Specifies the raw, unprocessed entry DN as included in the client request.
|
void |
setRawNewRDN(org.forgerock.opendj.ldap.ByteString rawNewRDN)
Specifies the raw, unprocessed newRDN as included in the request from the
client.
|
void |
setRawNewSuperior(org.forgerock.opendj.ldap.ByteString rawNewSuperior)
Specifies the raw, unprocessed newSuperior for this modify DN operation, as
provided in the request from the client.
|
abort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, equals, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperation, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getProxiedAuthorizationDN, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, hashCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setProxiedAuthorizationDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString, toString
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getProxiedAuthorizationDN, setProxiedAuthorizationDN
abort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString, toString
addAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getReferralURLs, getResultCode, removeResponseControl, setErrorMessage, setMatchedDN, setReferralURLs, setResponseData, setResultCode
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControl, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString
public ModifyDNOperationWrapper(ModifyDNOperation modifyDN)
modifyDN
- The moddn operation to wrappublic void addModification(Modification modification)
ModifyDNOperation
addModification
in interface ModifyDNOperation
modification
- The modification to add to the set of modifications
to apply to the entry.public boolean deleteOldRDN()
ModifyDNOperation
deleteOldRDN
in interface ModifyDNOperation
deleteOldRDN
in interface SubordinateModifyDNOperation
true
if the current RDN value should be removed from
the entry, or false
if not.public org.forgerock.opendj.ldap.Dn getEntryDN()
ModifyDNOperation
getRawEntryDN
method.getEntryDN
in interface ModifyDNOperation
getEntryDN
in interface SubordinateModifyDNOperation
null
if the raw
entry DN has not yet been processed.public List<Modification> getModifications()
ModifyDNOperation
getModifications
in interface ModifyDNOperation
null
if that
information is not yet available (e.g., during pre-parse plugins).public org.forgerock.opendj.ldap.Rdn getNewRDN()
ModifyDNOperation
getRawNewRDN
method.getNewRDN
in interface ModifyDNOperation
getNewRDN
in interface SubordinateModifyDNOperation
null
if the raw
newRDN has not yet been processed.public org.forgerock.opendj.ldap.Dn getNewSuperior()
ModifyDNOperation
getRawNewSuperior
method.getNewSuperior
in interface ModifyDNOperation
getNewSuperior
in interface SubordinateModifyDNOperation
null
if there is
no newSuperior DN for this request or if the raw newSuperior has
not yet been processed.public Entry getOriginalEntry()
ModifyDNOperation
getOriginalEntry
in interface ModifyDNOperation
getOriginalEntry
in interface SubordinateModifyDNOperation
null
if it is not yet
available.public org.forgerock.opendj.ldap.ByteString getRawEntryDN()
ModifyDNOperation
getRawEntryDN
in interface ModifyDNOperation
getRawEntryDN
in interface SubordinateModifyDNOperation
public org.forgerock.opendj.ldap.ByteString getRawNewRDN()
ModifyDNOperation
getRawNewRDN
in interface ModifyDNOperation
getRawNewRDN
in interface SubordinateModifyDNOperation
public org.forgerock.opendj.ldap.ByteString getRawNewSuperior()
ModifyDNOperation
getRawNewSuperior
in interface ModifyDNOperation
getRawNewSuperior
in interface SubordinateModifyDNOperation
null
if there is none.public Entry getUpdatedEntry()
ModifyDNOperation
getUpdatedEntry
in interface ModifyDNOperation
getUpdatedEntry
in interface SubordinateModifyDNOperation
null
if it is not yet
available.public void setDeleteOldRDN(boolean deleteOldRDN)
ModifyDNOperation
setDeleteOldRDN
in interface ModifyDNOperation
deleteOldRDN
- Specifies whether the current RDN value should be
removed from the entry.public void setRawEntryDN(org.forgerock.opendj.ldap.ByteString rawEntryDN)
ModifyDNOperation
setRawEntryDN
in interface ModifyDNOperation
rawEntryDN
- The raw, unprocessed entry DN as included in the client
request.public void setRawNewRDN(org.forgerock.opendj.ldap.ByteString rawNewRDN)
ModifyDNOperation
setRawNewRDN
in interface ModifyDNOperation
rawNewRDN
- The raw, unprocessed newRDN as included in the request
from the client.public void setRawNewSuperior(org.forgerock.opendj.ldap.ByteString rawNewSuperior)
ModifyDNOperation
setRawNewSuperior
in interface ModifyDNOperation
rawNewSuperior
- The raw, unprocessed newSuperior as provided in the
request from the client.public org.forgerock.opendj.ldap.Dn getNewDN()
ModifyDNOperation
getNewDN
in interface ModifyDNOperation
null
if there is
neither newRDN, nor entryDN for this request.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.