public class LocalBackendModifyOperation extends ModifyOperationWrapper implements PreOperationModifyOperation, PostOperationModifyOperation, PostResponseModifyOperation, PostSynchronizationModifyOperation
LOCALBACKENDOPERATIONS
Constructor and Description |
---|
LocalBackendModifyOperation(ModifyOperation modify)
Creates a new operation that may be used to modify an entry in a
local backend of the Directory Server.
|
Modifier and Type | Method and Description |
---|---|
void |
addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify operation.
|
Entry |
getCurrentEntry()
Retrieves the current entry before any modifications are applied.
|
List<org.forgerock.opendj.ldap.ByteString> |
getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if
available.
|
Entry |
getModifiedEntry()
Retrieves the modified entry that is to be written to the backend.
|
List<org.forgerock.opendj.ldap.ByteString> |
getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available.
|
addRawModification, getEntryDN, getModifications, getRawEntryDN, getRawModifications, setRawEntryDN, setRawModifications, toString
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
getEntryDN, getModifications, getRawEntryDN, getRawModifications
addAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, removeResponseControl, setErrorMessage
getEntryDN, getModifications, getRawEntryDN, getRawModifications
addAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getReferralURLs, getResultCode, removeResponseControl, setErrorMessage, setMatchedDN, setReferralURLs, setResponseData, setResultCode
getEntryDN, getModifications, getRawEntryDN, getRawModifications
getAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCode
getEntryDN, getModifications, getRawEntryDN, getRawModifications
getAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCode
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControl, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString
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
public LocalBackendModifyOperation(ModifyOperation modify)
modify
- The operation to enhance.public final Entry getCurrentEntry()
getCurrentEntry
in interface PostOperationModifyOperation
getCurrentEntry
in interface PostResponseModifyOperation
getCurrentEntry
in interface PostSynchronizationModifyOperation
getCurrentEntry
in interface PreOperationModifyOperation
null
if it is not yet available.public final List<org.forgerock.opendj.ldap.ByteString> getCurrentPasswords()
getCurrentPasswords
in interface PostOperationModifyOperation
getCurrentPasswords
in interface PostResponseModifyOperation
getCurrentPasswords
in interface PostSynchronizationModifyOperation
getCurrentPasswords
in interface PreOperationModifyOperation
null
if there were none or this
information is not yet available.public final Entry getModifiedEntry()
getModifiedEntry
in interface PostOperationModifyOperation
getModifiedEntry
in interface PostResponseModifyOperation
getModifiedEntry
in interface PostSynchronizationModifyOperation
getModifiedEntry
in interface PreOperationModifyOperation
null
if it is not yet available.public final List<org.forgerock.opendj.ldap.ByteString> getNewPasswords()
getNewPasswords
in interface PostOperationModifyOperation
getNewPasswords
in interface PostResponseModifyOperation
getNewPasswords
in interface PostSynchronizationModifyOperation
getNewPasswords
in interface PreOperationModifyOperation
null
if there were none or this
information is not yet available.public void addModification(Modification modification) throws DirectoryException
This may only be called by pre-operation plugins.
addModification
in interface ModifyOperation
addModification
in interface PreOperationModifyOperation
addModification
in class ModifyOperationWrapper
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.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.