public class LocalBackendAddOperation extends AddOperationWrapper implements PreOperationAddOperation, PostOperationAddOperation, PostResponseAddOperation, PostSynchronizationAddOperation
LOCALBACKENDOPERATIONS
Constructor and Description |
---|
LocalBackendAddOperation(AddOperation add)
Creates a new operation that may be used to add a new entry in a
local backend of the Directory Server.
|
Modifier and Type | Method and Description |
---|---|
void |
addObjectClassChain(ObjectClass objectClass)
Adds the provided objectClass to the entry, along with its superior classes
if appropriate.
|
Entry |
getEntryToAdd()
Retrieves the entry to be added to the server.
|
void |
handlePasswordPolicy()
Performs all password policy processing necessary for the provided add
operation.
|
void |
processLocalAdd(LocalBackendWorkflowElement wfe)
Process this add operation against a local backend.
|
addObjectClass, addRawAttribute, getEntryDN, getObjectClasses, getOperationalAttributes, getRawAttributes, getRawEntryDN, getUserAttributes, removeAttribute, removeObjectClass, setAttribute, setRawAttributes, setRawEntryDN, 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, toString, wait, wait, wait
addObjectClass, getEntryDN, getObjectClasses, getOperationalAttributes, getRawAttributes, getRawEntryDN, getUserAttributes, removeAttribute, removeObjectClass, setAttribute
addAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, removeResponseControl, setErrorMessage
getEntryDN, getObjectClasses, getOperationalAttributes, getRawAttributes, getRawEntryDN, getUserAttributes
addAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getReferralURLs, getResultCode, removeResponseControl, setErrorMessage, setMatchedDN, setReferralURLs, setResponseData, setResultCode
getEntryDN, getObjectClasses, getOperationalAttributes, getRawAttributes, getRawEntryDN, getUserAttributes
getAdditionalLogItems, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCode
getEntryDN, getObjectClasses, getOperationalAttributes, getRawAttributes, getRawEntryDN, getUserAttributes
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 LocalBackendAddOperation(AddOperation add)
add
- The operation to enhance.public final Entry getEntryToAdd()
getEntryToAdd
in interface PostOperationAddOperation
getEntryToAdd
in interface PostResponseAddOperation
getEntryToAdd
in interface PostSynchronizationAddOperation
getEntryToAdd
in interface PreOperationAddOperation
null
if it is
not yet available.public void processLocalAdd(LocalBackendWorkflowElement wfe) throws CanceledOperationException
wfe
- The local backend work-flow element.CanceledOperationException
- if this operation should be cancelledpublic final void addObjectClassChain(ObjectClass objectClass)
objectClass
- The objectclass to add to the entry.public final void handlePasswordPolicy() throws DirectoryException
DirectoryException
- If a problem occurs while performing password
policy processing for the add operation.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.