|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.core.OperationWrapper
org.opends.server.core.ModifyOperationWrapper
public abstract class ModifyOperationWrapper
This abstract class wraps/decorates a given modify operation. This class will be extended by sub-classes to enhance the functionnality of the ModifyOperationBasis.
Field Summary |
---|
Fields inherited from interface org.opends.server.types.Operation |
---|
LOCALBACKENDOPERATIONS |
Constructor Summary | |
---|---|
protected |
ModifyOperationWrapper(ModifyOperation modify)
Creates a new modify operation based on the provided modify operation. |
Method Summary | |
---|---|
void |
addModification(Modification modification)
Adds the provided modification to the set of modifications to this modify operation. |
void |
addRawModification(RawModification rawModification)
Adds the provided modification to the set of raw modifications for this modify operation. |
boolean |
equals(java.lang.Object obj)
|
long |
getChangeNumber()
Retrieves the change number that has been assigned to this operation. |
DN |
getEntryDN()
Retrieves the DN of the entry to modify. |
java.util.List<Modification> |
getModifications()
Retrieves the set of modifications for this modify operation. |
DN |
getProxiedAuthorizationDN()
Retrieves the proxied authorization DN for this operation if proxied authorization has been requested. |
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. |
int |
hashCode()
|
void |
setChangeNumber(long changeNumber)
Specifies the change number that has been assigned to this operation by the synchronization mechanism. |
void |
setProxiedAuthorizationDN(DN proxiedAuthorizationDN)
Set the proxied authorization DN for this operation if proxied authorization has been requested. |
void |
setRawEntryDN(ByteString rawEntryDN)
Specifies the raw, unprocessed entry DN as included in the client request. |
void |
setRawModifications(java.util.List<RawModification> rawModifications)
Specifies the raw modifications for this modify operation. |
java.lang.String |
toString()
Retrieves a string representation of this operation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ModifyOperationWrapper(ModifyOperation modify)
modify
- The modify operation to wrapMethod Detail |
---|
public void addModification(Modification modification) throws DirectoryException
addModification
in interface ModifyOperation
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.public void addRawModification(RawModification rawModification)
addRawModification
in interface ModifyOperation
rawModification
- The modification to add to the set of raw
modifications for this modify operation.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DN getEntryDN()
getRawEntryDN
method.
getEntryDN
in interface ModifyOperation
null
if the raw
entry DN has not yet been processed.public java.util.List<Modification> getModifications()
getModifications
in interface ModifyOperation
null
if the modifications have not yet been
processed.public ByteString getRawEntryDN()
getRawEntryDN
in interface ModifyOperation
public java.util.List<RawModification> getRawModifications()
getRawModifications
in interface ModifyOperation
public int hashCode()
hashCode
in class java.lang.Object
public void setRawEntryDN(ByteString rawEntryDN)
setRawEntryDN
in interface ModifyOperation
rawEntryDN
- The raw, unprocessed entry DN as included in the client
request.public void setRawModifications(java.util.List<RawModification> rawModifications)
setRawModifications
in interface ModifyOperation
rawModifications
- The raw modifications for this modify operation.public java.lang.String toString()
toString
in interface Operation
toString
in class java.lang.Object
public final long getChangeNumber()
getChangeNumber
in interface ModifyOperation
public void setChangeNumber(long changeNumber)
setChangeNumber
in interface ModifyOperation
changeNumber
- The change number that has been assigned to this
operation by the synchronization mechanism.public DN getProxiedAuthorizationDN()
getProxiedAuthorizationDN
in interface ModifyOperation
null
if proxied
authorization has not been requested.public void setProxiedAuthorizationDN(DN proxiedAuthorizationDN)
setProxiedAuthorizationDN
in interface ModifyOperation
proxiedAuthorizationDN
- The proxied authorization DN for this operation if proxied
authorization has been requested, or null
if proxied
authorization has not been requested.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |