public abstract class ModifyOperationWrapper extends OperationWrapper<ModifyOperation> implements ModifyOperation
LOCALBACKENDOPERATIONS
Modifier | Constructor and Description |
---|---|
protected |
ModifyOperationWrapper(ModifyOperation modify)
Creates a new modify operation based on the provided modify operation.
|
Modifier and Type | Method and Description |
---|---|
void |
addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify
operation.
|
void |
addRawModification(RawModification rawModification)
Adds the provided modification to the set of raw modifications for this
modify operation.
|
org.forgerock.opendj.ldap.Dn |
getEntryDN()
Retrieves the DN of the entry to modify.
|
List<Modification> |
getModifications()
Retrieves the set of modifications for this modify operation.
|
org.forgerock.opendj.ldap.ByteString |
getRawEntryDN()
Retrieves the raw, unprocessed entry DN as included in the client request.
|
List<RawModification> |
getRawModifications()
Retrieves the set of raw, unprocessed modifications as included in the
client request.
|
void |
setRawEntryDN(org.forgerock.opendj.ldap.ByteString rawEntryDN)
Specifies the raw, unprocessed entry DN as included in the client request.
|
void |
setRawModifications(List<RawModification> rawModifications)
Specifies the raw modifications for this modify operation.
|
String |
toString()
Retrieves a string representation of this operation.
|
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
clone, finalize, getClass, notify, notifyAll, 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
protected ModifyOperationWrapper(ModifyOperation modify)
modify
- The modify operation to wrappublic void addModification(Modification modification) throws DirectoryException
ModifyOperation
addModification
in interface ModifyOperation
modification
- The modification to add to the set of changes for
this modify operation.DirectoryException
- If an unexpected problem occurs while applying
the modification to the entry.public void addRawModification(RawModification rawModification)
ModifyOperation
addRawModification
in interface ModifyOperation
rawModification
- The modification to add to the set of raw
modifications for this modify operation.public org.forgerock.opendj.ldap.Dn getEntryDN()
ModifyOperation
getRawEntryDN
method.getEntryDN
in interface ModifyOperation
null
if the raw
entry DN has not yet been processed.public List<Modification> getModifications()
ModifyOperation
getModifications
in interface ModifyOperation
null
if the modifications have not yet been
processed.public org.forgerock.opendj.ldap.ByteString getRawEntryDN()
ModifyOperation
getRawEntryDN
in interface ModifyOperation
public List<RawModification> getRawModifications()
ModifyOperation
getRawModifications
in interface ModifyOperation
public void setRawEntryDN(org.forgerock.opendj.ldap.ByteString rawEntryDN)
ModifyOperation
setRawEntryDN
in interface ModifyOperation
rawEntryDN
- The raw, unprocessed entry DN as included in the client
request.public void setRawModifications(List<RawModification> rawModifications)
ModifyOperation
setRawModifications
in interface ModifyOperation
rawModifications
- The raw modifications for this modify operation.public String toString()
Operation
toString
in interface Operation
toString
in class OperationWrapper<ModifyOperation>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.