Interface PreParseModifyDNOperation
- All Superinterfaces:
PluginOperation,PreParseOperation
- All Known Implementing Classes:
ModifyDnOperation
This class defines a set of methods that are available for use by pre-parse plugins for modify DN 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 TypeMethodDescriptionbooleanIndicates whether the current RDN value should be removed from the entry.Retrieves the entry DN as included in the client request.Retrieves the newRDN as included in the request from the client.Retrieves the newSuperior from the client request.voidsetDeleteOldRDN(boolean deleteOldRDN) Specifies whether the current RDN value should be removed from the entry.voidsetEntryDN(Dn entryDN) Specifies the entry DN as included in the client request.voidSpecifies the newRDN as included in the request from the client.voidsetNewSuperior(Dn newSuperior) Specifies the newSuperior for this modify DN operation, as provided in the request from the client.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 entry DN as included in the client request.- Returns:
- The entry DN as included in the client request.
-
setEntryDN
Specifies the entry DN as included in the client request. This should only be called by pre-parse plugins.- Parameters:
entryDN- The entry DN as included in the client request.
-
getNewRDN
Rdn getNewRDN()Retrieves the newRDN as included in the request from the client.- Returns:
- The newRDN as included in the request from the client.
-
setNewRDN
Specifies the newRDN as included in the request from the client. This should only be called by pre-parse plugins and should not be used in later stages of processing.- Parameters:
newRDN- The newRDN as included in the request from the client.
-
deleteOldRDN
boolean deleteOldRDN()Indicates whether the current RDN value should be removed from the entry.- Returns:
trueif the current RDN value should be removed from the entry, orfalseif not.
-
setDeleteOldRDN
void setDeleteOldRDN(boolean deleteOldRDN) Specifies whether the current RDN value should be removed from the entry.- Parameters:
deleteOldRDN- Specifies whether the current RDN value should be removed from the entry.
-
getNewSuperior
Dn getNewSuperior()Retrieves the newSuperior from the client request.- Returns:
- The newSuperior from the client request, or
nullif there is none.
-
setNewSuperior
Specifies the newSuperior for this modify DN operation, as provided in the request from the client. This method should only be called by pre-parse plugins.- Parameters:
newSuperior- The newSuperior as provided in the request from the client.
-