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