public class AddNodeOperation extends Object implements SessionWriteOperation<Node>
Constructor and Description |
---|
AddNodeOperation(NodeImpl node,
String relPath,
String nodeTypeName,
String uuid) |
Modifier and Type | Method and Description |
---|---|
Node |
perform(SessionContext context)
Performs the session operation.
|
String |
toString()
Returns a string representation of this operation.
|
public Node perform(SessionContext context) throws RepositoryException
SessionOperation
perform
in interface SessionOperation<Node>
context
- component context of this sessionRepositoryException
- if the operation failsCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.