|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public interface PreOperationModifyOperation
This class defines a set of methods that are available for use by pre-operation plugins for modify operations. Note that this interface is intended only to define an API for use by plugins and is not intended to be implemented by any custom classes.
Method Summary | |
---|---|
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. |
java.util.List<AttributeValue> |
getCurrentPasswords()
Retrieves the set of clear-text current passwords for the user, if available. |
DN |
getEntryDN()
Retrieves the DN of the entry to modify. |
java.util.List<Modification> |
getModifications()
Retrieves the set of modifications for this modify operation. |
Entry |
getModifiedEntry()
Retrieves the modified entry that is to be written to the backend. |
java.util.List<AttributeValue> |
getNewPasswords()
Retrieves the set of clear-text new passwords for the user, if available. |
ByteString |
getRawEntryDN()
Retrieves the raw, unprocessed entry DN as included in the client request. |
java.util.List<RawModification> |
getRawModifications()
Retrieves the set of raw, unprocessed modifications as included in the client request. |
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.PluginOperation |
---|
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString |
Method Detail |
---|
ByteString getRawEntryDN()
DN getEntryDN()
java.util.List<RawModification> getRawModifications()
java.util.List<Modification> getModifications()
void addModification(Modification modification) throws DirectoryException
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.Entry getCurrentEntry()
Entry getModifiedEntry()
addModification
method.
java.util.List<AttributeValue> getCurrentPasswords()
null
if
there were none.java.util.List<AttributeValue> getNewPasswords()
null
if there were none.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |