org.apache.jackrabbit.spi.commons.batch
Class Operations.AddNode
java.lang.Object
org.apache.jackrabbit.spi.commons.batch.Operations.AddNode
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- ConsolidatingChangeLog.CancelableOperations.AddNode
- Enclosing class:
- Operations
public static class Operations.AddNode
- extends Object
- implements Operation
Representative of an add-node Operation
which calls
Batch.addNode(NodeId, Name, Name, String)
when applied to a Batch
.
parentId
protected final NodeId parentId
nodeName
protected final Name nodeName
nodetypeName
protected final Name nodetypeName
uuid
protected final String uuid
Operations.AddNode
public Operations.AddNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
String uuid)
- Create a new add-node
Operation
for the given arguments.
- Parameters:
parentId
- nodeName
- nodetypeName
- uuid
- - See Also:
Batch.addNode(NodeId, Name, Name, String)
apply
public void apply(Batch batch)
throws RepositoryException
- Apply this operation to the given
Batch
- Specified by:
apply
in interface Operation
- Throws:
RepositoryException
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
equals
public boolean equals(Operations.AddNode other)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.