org.apache.directory.mitosis.operation
Class AddAttributeOperation
java.lang.Object
org.apache.directory.mitosis.operation.Operation
org.apache.directory.mitosis.operation.AttributeOperation
org.apache.directory.mitosis.operation.AddAttributeOperation
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class AddAttributeOperation
- extends AttributeOperation
An Operation
that adds an attribute to an entry.
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
Constructor Summary |
AddAttributeOperation(Registries registries,
CSN csn,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.entry.EntryAttribute attribute)
Creates a new operation that adds the specified attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddAttributeOperation
public AddAttributeOperation(Registries registries,
CSN csn,
org.apache.directory.shared.ldap.name.LdapDN name,
org.apache.directory.shared.ldap.entry.EntryAttribute attribute)
- Creates a new operation that adds the specified attribute.
- Parameters:
attribute
- an attribute to add
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 modifiedcoreSession
- 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.