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