org.opends.server.workflowelement.localbackend
Class LocalBackendModifyDNOperation

java.lang.Object
  extended by org.opends.server.core.OperationWrapper
      extended by org.opends.server.core.ModifyDNOperationWrapper
          extended by org.opends.server.workflowelement.localbackend.LocalBackendModifyDNOperation
All Implemented Interfaces:
ModifyDNOperation, Operation, InProgressOperation, PluginOperation, PostOperationModifyDNOperation, PostOperationOperation, PostResponseModifyDNOperation, PostResponseOperation, PostSynchronizationModifyDNOperation, PostSynchronizationOperation, PreOperationModifyDNOperation, PreOperationOperation, SubordinateModifyDNOperation

public class LocalBackendModifyDNOperation
extends ModifyDNOperationWrapper
implements PreOperationModifyDNOperation, PostOperationModifyDNOperation, PostResponseModifyDNOperation, PostSynchronizationModifyDNOperation

This class defines an operation used to move an entry in a local backend of the Directory Server.


Field Summary
 
Fields inherited from interface org.opends.server.types.Operation
LOCALBACKENDOPERATIONS
 
Constructor Summary
LocalBackendModifyDNOperation(ModifyDNOperation operation)
          Creates a new operation that may be used to move an entry in a local backend of the Directory Server.
 
Method Summary
 Entry getOriginalEntry()
          Retrieves the current entry, before it is renamed.
 Entry getUpdatedEntry()
          Retrieves the new entry, as it will appear after it is renamed.
 
Methods inherited from class org.opends.server.core.ModifyDNOperationWrapper
addModification, deleteOldRDN, getChangeNumber, getEntryDN, getModifications, getNewDN, getNewRDN, getNewSuperior, getProxiedAuthorizationDN, getRawEntryDN, getRawNewRDN, getRawNewSuperior, setChangeNumber, setDeleteOldRDN, setProxiedAuthorizationDN, setRawEntryDN, setRawNewRDN, setRawNewSuperior
 
Methods inherited from class org.opends.server.core.OperationWrapper
abort, addRequestControl, addResponseControl, appendAdditionalLogMessage, appendErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogMessage, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getCommonLogElements, getConnectionID, getErrorMessage, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getReferralURLs, getRequestControls, getRequestLogElements, getResponseControls, getResponseLogElements, getResultCode, isInternalOperation, isSynchronizationOperation, operationCompleted, removeAttachment, removeRequestControl, removeResponseControl, setAdditionalLogMessage, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInternalOperation, setMatchedDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opends.server.types.operation.PreOperationModifyDNOperation
addModification, deleteOldRDN, getEntryDN, getModifications, getNewRDN, getNewSuperior, getRawEntryDN, getRawNewRDN, getRawNewSuperior
 
Methods inherited from interface org.opends.server.types.operation.PreOperationOperation
addResponseControl, appendAdditionalLogMessage, appendErrorMessage, getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, removeResponseControl, setAdditionalLogMessage, setErrorMessage
 
Methods inherited from interface org.opends.server.types.operation.PostOperationModifyDNOperation
deleteOldRDN, getEntryDN, getModifications, getNewRDN, getNewSuperior, getRawEntryDN, getRawNewRDN, getRawNewSuperior
 
Methods inherited from interface org.opends.server.types.operation.PostOperationOperation
addResponseControl, appendAdditionalLogMessage, appendErrorMessage, getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, getMatchedDN, getReferralURLs, getResultCode, removeResponseControl, setAdditionalLogMessage, setErrorMessage, setMatchedDN, setReferralURLs, setResponseData, setResultCode
 
Methods inherited from interface org.opends.server.types.operation.PostResponseModifyDNOperation
deleteOldRDN, getEntryDN, getModifications, getNewRDN, getNewSuperior, getRawEntryDN, getRawNewRDN, getRawNewSuperior
 
Methods inherited from interface org.opends.server.types.operation.PostResponseOperation
getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCode
 
Methods inherited from interface org.opends.server.types.operation.PostSynchronizationModifyDNOperation
deleteOldRDN, getEntryDN, getModifications, getNewRDN, getNewSuperior, getRawEntryDN, getRawNewRDN, getRawNewSuperior
 
Methods inherited from interface org.opends.server.types.operation.PostSynchronizationOperation
getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCode
 
Methods inherited from interface org.opends.server.types.operation.PluginOperation
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString
 
Methods inherited from interface org.opends.server.types.Operation
abort, addRequestControl, addResponseControl, appendAdditionalLogMessage, appendErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogMessage, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getCommonLogElements, getConnectionID, getErrorMessage, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getReferralURLs, getRequestControls, getRequestLogElements, getResponseControls, getResponseLogElements, getResultCode, isInternalOperation, isSynchronizationOperation, operationCompleted, removeAttachment, removeRequestControl, removeResponseControl, setAdditionalLogMessage, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInternalOperation, setMatchedDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString, toString
 
Methods inherited from interface org.opends.server.types.operation.InProgressOperation
addResponseControl, appendAdditionalLogMessage, appendErrorMessage, getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, getMatchedDN, getReferralURLs, getResultCode, removeResponseControl, setAdditionalLogMessage, setErrorMessage, setMatchedDN, setReferralURLs, setResponseData, setResultCode
 

Constructor Detail

LocalBackendModifyDNOperation

public LocalBackendModifyDNOperation(ModifyDNOperation operation)
Creates a new operation that may be used to move an entry in a local backend of the Directory Server.

Parameters:
operation - The operation to enhance.
Method Detail

getOriginalEntry

public final Entry getOriginalEntry()
Retrieves the current entry, before it is renamed. This will not be available to pre-parse plugins or during the conflict resolution portion of the synchronization processing.

Specified by:
getOriginalEntry in interface ModifyDNOperation
Specified by:
getOriginalEntry in interface PostOperationModifyDNOperation
Specified by:
getOriginalEntry in interface PostResponseModifyDNOperation
Specified by:
getOriginalEntry in interface PostSynchronizationModifyDNOperation
Specified by:
getOriginalEntry in interface PreOperationModifyDNOperation
Specified by:
getOriginalEntry in interface SubordinateModifyDNOperation
Overrides:
getOriginalEntry in class ModifyDNOperationWrapper
Returns:
The current entry, or null if it is not yet available.

getUpdatedEntry

public final Entry getUpdatedEntry()
Retrieves the new entry, as it will appear after it is renamed. This will not be available to pre-parse plugins or during the conflict resolution portion of the synchronization processing.

Specified by:
getUpdatedEntry in interface ModifyDNOperation
Specified by:
getUpdatedEntry in interface PostOperationModifyDNOperation
Specified by:
getUpdatedEntry in interface PostResponseModifyDNOperation
Specified by:
getUpdatedEntry in interface PostSynchronizationModifyDNOperation
Specified by:
getUpdatedEntry in interface PreOperationModifyDNOperation
Specified by:
getUpdatedEntry in interface SubordinateModifyDNOperation
Overrides:
getUpdatedEntry in class ModifyDNOperationWrapper
Returns:
The updated entry, or null if it is not yet available.