public static class Operations.AddNode extends Object implements Operation
Operation which calls
Batch.addNode(NodeId, Name, Name, String) when applied to a Batch.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jackrabbit.spi.Name |
nodeName |
protected org.apache.jackrabbit.spi.Name |
nodetypeName |
protected org.apache.jackrabbit.spi.NodeId |
parentId |
protected String |
uuid |
| Constructor and Description |
|---|
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-node
Operation for the given arguments. |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.apache.jackrabbit.spi.Batch batch)
Apply this operation to the given
Batch |
boolean |
equals(Object other) |
boolean |
equals(Operations.AddNode other) |
int |
hashCode() |
String |
toString() |
protected final org.apache.jackrabbit.spi.NodeId parentId
protected final org.apache.jackrabbit.spi.Name nodeName
protected final org.apache.jackrabbit.spi.Name nodetypeName
protected final String uuid
public AddNode(org.apache.jackrabbit.spi.NodeId parentId,
org.apache.jackrabbit.spi.Name nodeName,
org.apache.jackrabbit.spi.Name nodetypeName,
String uuid)
Operation for the given arguments.parentId - nodeName - nodetypeName - uuid - Batch.addNode(NodeId, Name, Name, String)public void apply(org.apache.jackrabbit.spi.Batch batch)
throws RepositoryException
Batchapply in interface OperationRepositoryExceptionpublic boolean equals(Operations.AddNode other)
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.