Interface PreParseAddOperation
-
- All Superinterfaces:
PluginOperation
,PreParseOperation
- All Known Implementing Classes:
AddOperation
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public interface PreParseAddOperation extends PreParseOperation
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAttribute(Attribute attribute)
Adds the provided attribute to the set of attributes for this add operation.Iterable<Attribute>
getAllAttributes()
Retrieves the set of attributes as read from the client request.Dn
getEntryDN()
Retrieves the DN of the entry to add.void
setEntryDN(Dn entryDN)
Specifies the entry DN for the entry to add.-
Methods inherited from interface org.opends.server.types.operation.PluginOperation
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getRequestControl, getRequestControl, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString
-
Methods inherited from interface org.opends.server.types.operation.PreParseOperation
addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, getAdditionalLogItems, getErrorMessage, removeResponseControl, setErrorMessage
-
-
-
-
Method Detail
-
getEntryDN
Dn getEntryDN()
Retrieves the DN of the entry to add.- Returns:
- The DN of the entry to add.
-
setEntryDN
void setEntryDN(Dn entryDN)
Specifies the entry DN for the entry to add.- Parameters:
entryDN
- The entry DN for the entry to add.
-
getAllAttributes
Iterable<Attribute> 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
void addAttribute(Attribute attribute)
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.
-
-