org.opends.server.types.operation
Interface PostOperationAddOperation

All Superinterfaces:
PluginOperation, PostOperationOperation
All Known Implementing Classes:
LocalBackendAddOperation

@PublicAPI(stability=UNCOMMITTED,
           mayInstantiate=false,
           mayExtend=false,
           mayInvoke=true)
public interface PostOperationAddOperation
extends PostOperationOperation

This class defines a set of methods that are available for use by post-operation 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
 DN getEntryDN()
          Retrieves the DN of the entry to add.
 Entry getEntryToAdd()
          Retrieves the entry to be added to the server.
 java.util.Map<ObjectClass,java.lang.String> getObjectClasses()
          Retrieves the set of processed objectclasses for the entry to add.
 java.util.Map<AttributeType,java.util.List<Attribute>> getOperationalAttributes()
          Retrieves the set of processed operational attributes for the entry to add.
 java.util.List<RawAttribute> getRawAttributes()
          Retrieves the set of attributes in their raw, unparsed form as read from the client request.
 ByteString getRawEntryDN()
          Retrieves the DN of the entry to add in a raw, unparsed form as it was included in the request.
 java.util.Map<AttributeType,java.util.List<Attribute>> getUserAttributes()
          Retrieves the set of processed user attributes for the entry to add.
 
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.PluginOperation
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString
 

Method Detail

getRawEntryDN

ByteString getRawEntryDN()
Retrieves the DN of the entry to add in a raw, unparsed form as it was included in the request. This may or may not actually contain a valid DN, since no validation will have been performed on it.

Returns:
The DN of the entry in a raw, unparsed form.

getRawAttributes

java.util.List<RawAttribute> getRawAttributes()
Retrieves the set of attributes in their raw, unparsed form as read from the client request. Some of these attributes may be invalid as no validation will have been performed on them. The returned list must not be altered by the caller.

Returns:
The set of attributes in their raw, unparsed form as read from the client request.

getEntryDN

DN getEntryDN()
Retrieves the DN of the entry to add.

Returns:
The DN of the entry to add.

getObjectClasses

java.util.Map<ObjectClass,java.lang.String> getObjectClasses()
Retrieves the set of processed objectclasses for the entry to add. The contents of the returned map must not be altered by the caller.

Returns:
The set of processed objectclasses for the entry to add.

getUserAttributes

java.util.Map<AttributeType,java.util.List<Attribute>> getUserAttributes()
Retrieves the set of processed user attributes for the entry to add. The contents of the returned map must not be altered by the caller.

Returns:
The set of processed user attributes for the entry to add.

getOperationalAttributes

java.util.Map<AttributeType,java.util.List<Attribute>> getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add. The contents of the returned map must not be altered by the caller.

Returns:
The set of processed operational attributes for the entry to add.

getEntryToAdd

Entry getEntryToAdd()
Retrieves the entry to be added to the server. The contents of the returned entry must not be altered by the caller.

Returns:
The entry to be added to the server.