Interface PreParseAddOperation
- All Superinterfaces:
PluginOperation,PreParseOperation
- All Known Implementing Classes:
AddOperation
This class defines a set of methods that are available for use by pre-parse plugins for add 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
Modifier and TypeMethodDescriptionvoidaddAttribute(Attribute attribute) Adds the provided attribute to the set of attributes for this add operation.Retrieves the set of attributes as read from the client request.Retrieves the DN of the entry to add.voidsetEntryDN(Dn entryDN) Specifies the entry DN for the entry to add.Methods inherited from interface org.opends.server.types.operation.PluginOperation
checkIfCanceled, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getRequest, getRequestControl, getRequestControl, getRequestControls, getResponseControls, hasPrivilege, isInternalOperation, isSynchronizationOperation, setAttachment, toString, toStringMethods inherited from interface org.opends.server.types.operation.PreParseOperation
addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, getAdditionalLogItems, getErrorMessage, removeResponseControl, sendResponses, setErrorMessage
-
Method Details
-
getEntryDN
Dn getEntryDN()Retrieves the DN of the entry to add.- Returns:
- The DN of the entry to add.
-
setEntryDN
Specifies the entry DN for the entry to add.- Parameters:
entryDN- The entry DN for the entry to add.
-
getAllAttributes
Retrieves the set of attributes as read from the client request. Some of these attributes may be invalid as no validation will have been performed on them.- Returns:
- The set of attributes as read from the client request.
-
addAttribute
Adds the provided attribute to the set of attributes for this add operation.- Parameters:
attribute- The attribute to add to the set of attributes for this add operation.
-