org.apache.directory.mitosis.operation
Class AddEntryOperation
java.lang.Object
org.apache.directory.mitosis.operation.Operation
org.apache.directory.mitosis.operation.AddEntryOperation
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class AddEntryOperation
- extends Operation
An Operation
that adds a new 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 |
AddEntryOperation
public AddEntryOperation(Registries registries)
- Creates a new operation that adds the specified entry. This
constructor will not be visible out of this package, as it is
only used for the deserialization process.
- Parameters:
registries
- the registries instance
AddEntryOperation
public AddEntryOperation(Registries registries,
CSN csn,
ServerEntry entry)
- Creates a new instance.
- Parameters:
entry
- an entry
execute0
protected void execute0(PartitionNexus nexus,
ReplicationStore store,
CoreSession coreSession)
throws java.lang.Exception
- Inject the entry into the local server
- Overrides:
execute0
in class Operation
- Parameters:
nexus
- the local partition to updatestore
- not used... Just for inheritence sake.coreSession
- the current session
- Throws:
java.lang.Exception
setEntry
public void setEntry(org.apache.directory.shared.ldap.entry.Entry entry)
- Set the Entry to add into this AddEntry instance.
- Parameters:
entry
- the entry to add
getEntry
public org.apache.directory.shared.ldap.entry.Entry getEntry()
- Returns:
- the operation's entry
toString
public java.lang.String toString()
- Overrides:
toString
in class Operation
- See Also:
Object.toString()
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.