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-nodeOperationwhich callsBatch.addNode(NodeId, Name, Name, String)when applied to aBatch.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.jackrabbit.spi.NamenodeNameprotected org.apache.jackrabbit.spi.NamenodetypeNameprotected org.apache.jackrabbit.spi.NodeIdparentIdprotected Stringuuid
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.apache.jackrabbit.spi.Batch batch)Apply this operation to the givenBatchbooleanequals(Object other)booleanequals(Operations.AddNode other)inthashCode()StringtoString()
-
-
-
Field Detail
-
parentId
protected final org.apache.jackrabbit.spi.NodeId parentId
-
nodeName
protected final org.apache.jackrabbit.spi.Name nodeName
-
nodetypeName
protected final org.apache.jackrabbit.spi.Name nodetypeName
-
uuid
protected final String uuid
-
-
Constructor Detail
-
AddNode
public AddNode(org.apache.jackrabbit.spi.NodeId parentId, org.apache.jackrabbit.spi.Name nodeName, org.apache.jackrabbit.spi.Name nodetypeName, String uuid)Create a new add-nodeOperationfor the given arguments.- Parameters:
parentId-nodeName-nodetypeName-uuid-- See Also:
Batch.addNode(NodeId, Name, Name, String)
-
-
Method Detail
-
apply
public void apply(org.apache.jackrabbit.spi.Batch batch) throws RepositoryExceptionApply this operation to the givenBatch- Specified by:
applyin interfaceOperation- Throws:
RepositoryException
-
equals
public boolean equals(Operations.AddNode other)
-
-