public interface ModifyDNOperation extends Operation, SubordinateModifyDNOperation
LOCALBACKENDOPERATIONS
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.Dn |
getProxiedAuthorizationDN()
Retrieves the proxied authorization DN for this operation if proxied
authorization has been requested.
|
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 |
setProxiedAuthorizationDN(org.forgerock.opendj.ldap.Dn dn)
Sets the proxied authorization DN for this operation if proxied
authorization has been requested.
|
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, 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
org.forgerock.opendj.ldap.ByteString getRawEntryDN()
getRawEntryDN
in interface SubordinateModifyDNOperation
void setRawEntryDN(org.forgerock.opendj.ldap.ByteString rawEntryDN)
rawEntryDN
- The raw, unprocessed entry DN as included in the client
request.org.forgerock.opendj.ldap.Dn getEntryDN()
getRawEntryDN
method.getEntryDN
in interface SubordinateModifyDNOperation
null
if the raw
entry DN has not yet been processed.org.forgerock.opendj.ldap.ByteString getRawNewRDN()
getRawNewRDN
in interface SubordinateModifyDNOperation
void setRawNewRDN(org.forgerock.opendj.ldap.ByteString rawNewRDN)
rawNewRDN
- The raw, unprocessed newRDN as included in the request
from the client.org.forgerock.opendj.ldap.Rdn getNewRDN()
getRawNewRDN
method.getNewRDN
in interface SubordinateModifyDNOperation
null
if the raw
newRDN has not yet been processed.boolean deleteOldRDN()
deleteOldRDN
in interface SubordinateModifyDNOperation
true
if the current RDN value should be removed from
the entry, or false
if not.void setDeleteOldRDN(boolean deleteOldRDN)
deleteOldRDN
- Specifies whether the current RDN value should be
removed from the entry.org.forgerock.opendj.ldap.ByteString getRawNewSuperior()
getRawNewSuperior
in interface SubordinateModifyDNOperation
null
if there is none.void setRawNewSuperior(org.forgerock.opendj.ldap.ByteString rawNewSuperior)
rawNewSuperior
- The raw, unprocessed newSuperior as provided in the
request from the client.org.forgerock.opendj.ldap.Dn getNewSuperior()
getRawNewSuperior
method.getNewSuperior
in interface SubordinateModifyDNOperation
null
if there is
no newSuperior DN for this request or if the raw newSuperior has
not yet been processed.org.forgerock.opendj.ldap.Dn getNewDN()
null
if there is
neither newRDN, nor entryDN for this request.List<Modification> getModifications()
null
if that
information is not yet available (e.g., during pre-parse plugins).void addModification(Modification modification)
modification
- The modification to add to the set of modifications
to apply to the entry.Entry getOriginalEntry()
getOriginalEntry
in interface SubordinateModifyDNOperation
null
if it is not yet
available.Entry getUpdatedEntry()
getUpdatedEntry
in interface SubordinateModifyDNOperation
null
if it is not yet
available.org.forgerock.opendj.ldap.Dn getProxiedAuthorizationDN()
getProxiedAuthorizationDN
in interface Operation
null
if proxied
authorization has not been requested.void setProxiedAuthorizationDN(org.forgerock.opendj.ldap.Dn dn)
setProxiedAuthorizationDN
in interface Operation
dn
- The proxied authorization DN for this operation if proxied
authorization has been requested, or null
if proxied
authorization has not been requested.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.