org.apache.directory.mitosis.operation
Class AddEntryOperation

java.lang.Object
  extended by org.apache.directory.mitosis.operation.Operation
      extended by org.apache.directory.mitosis.operation.AddEntryOperation
All Implemented Interfaces:
java.io.Serializable

public class AddEntryOperation
extends Operation

An Operation that adds a new entry.

See Also:
Serialized Form

Constructor Summary
AddEntryOperation(CSN csn, LdapDN normalizedName, javax.naming.directory.Attributes entry)
          Creates a new instance.
 
Method Summary
protected  void execute0(PartitionNexus nexus, ReplicationStore store, AttributeTypeRegistry registry)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.directory.mitosis.operation.Operation
execute, getCSN
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddEntryOperation

public AddEntryOperation(CSN csn,
                         LdapDN normalizedName,
                         javax.naming.directory.Attributes entry)
Creates a new instance.

Parameters:
entry - an entry
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Operation
Returns:
the CSN for this operation

execute0

protected void execute0(PartitionNexus nexus,
                        ReplicationStore store,
                        AttributeTypeRegistry registry)
                 throws javax.naming.NamingException
Overrides:
execute0 in class Operation
Throws:
javax.naming.NamingException