org.apache.directory.mitosis.operation
Class DeleteAttributeOperation

java.lang.Object
  extended by org.apache.directory.mitosis.operation.Operation
      extended by org.apache.directory.mitosis.operation.AttributeOperation
          extended by org.apache.directory.mitosis.operation.DeleteAttributeOperation
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class DeleteAttributeOperation
extends AttributeOperation

An Operation that deletes an attribute from an entry.

Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.mitosis.operation.AttributeOperation
attribute, dn
 
Fields inherited from class org.apache.directory.mitosis.operation.Operation
csn, operationType, registries
 
Constructor Summary
DeleteAttributeOperation(Registries registries, CSN csn, org.apache.directory.shared.ldap.name.LdapDN name, ServerAttribute attribute)
          Creates a new operation that deletes the specified attribute.
 
Method Summary
protected  void execute1(PartitionNexus nexus, CoreSession coreSession)
          Inject the modified attribute into the server.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.directory.mitosis.operation.AttributeOperation
execute0, getAttribute, getDn
 
Methods inherited from class org.apache.directory.mitosis.operation.Operation
deserialize, execute, getCSN, readExternal, serialize, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteAttributeOperation

public DeleteAttributeOperation(Registries registries,
                                CSN csn,
                                org.apache.directory.shared.ldap.name.LdapDN name,
                                ServerAttribute attribute)
Creates a new operation that deletes the specified attribute.

Parameters:
attribute - an attribute to delete
Method Detail

execute1

protected void execute1(PartitionNexus nexus,
                        CoreSession coreSession)
                 throws java.lang.Exception
Inject the modified attribute into the server.

Specified by:
execute1 in class AttributeOperation
Parameters:
nexus - the partition which will be modified
coreSession - the current session
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class AttributeOperation
See Also:
Object.toString()


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.