public static class Operations.AddNode extends java.lang.Object implements Operation
Operation
which calls
Batch.addNode(NodeId, Name, Name, String)
when applied to a Batch
.Constructor and Description |
---|
AddNode(NodeId parentId,
Name nodeName,
Name nodetypeName,
java.lang.String uuid)
Create a new add-node
Operation for the given arguments. |
Modifier and Type | Method and Description |
---|---|
void |
apply(Batch batch)
Apply this operation to the given
Batch |
boolean |
equals(java.lang.Object other) |
boolean |
equals(Operations.AddNode other) |
int |
hashCode() |
java.lang.String |
toString() |
public AddNode(NodeId parentId, Name nodeName, Name nodetypeName, java.lang.String uuid)
Operation
for the given arguments.parentId
- nodeName
- nodetypeName
- uuid
- Batch.addNode(NodeId, Name, Name, String)
public void apply(Batch batch) throws RepositoryException
Batch
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public boolean equals(Operations.AddNode other)
public int hashCode()
hashCode
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"