Class ModifyAttributesOperationExecutor

    • Constructor Summary

      Constructors 
      Constructor Description
      ModifyAttributesOperationExecutor​(LdapOperations ldapOperations, javax.naming.Name dn, javax.naming.directory.ModificationItem[] actualModifications, javax.naming.directory.ModificationItem[] compensatingModifications)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void commit()
      Commit the operation.
      void performOperation()
      Perform the operation.
      void rollback()
      Rollback the operation, restoring state of the target as it was before the operation was performed using the information supplied on creation of this instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModifyAttributesOperationExecutor

        public ModifyAttributesOperationExecutor​(LdapOperations ldapOperations,
                                                 javax.naming.Name dn,
                                                 javax.naming.directory.ModificationItem[] actualModifications,
                                                 javax.naming.directory.ModificationItem[] compensatingModifications)
        Constructor.
        Parameters:
        ldapOperations - The LdapOperations to use to perform the rollback operation.
        dn - the DN of the target entry.
        actualModifications - the actual modificationItems that were sent to the modifyAttributes operation.
        compensatingModifications - the ModificationItems to undo the recorded operation.