Class AddNodeOperation
- java.lang.Object
-
- org.apache.jackrabbit.core.session.AddNodeOperation
-
- All Implemented Interfaces:
SessionOperation<Node>
,SessionWriteOperation<Node>
public class AddNodeOperation extends Object implements SessionWriteOperation<Node>
Session operation for adding a new node.
-
-
Constructor Summary
Constructors Constructor Description AddNodeOperation(NodeImpl node, String relPath, String nodeTypeName, String uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
perform(SessionContext context)
Performs the session operation.String
toString()
Returns a string representation of this operation.
-
-
-
Method Detail
-
perform
public Node perform(SessionContext context) throws RepositoryException
Description copied from interface:SessionOperation
Performs the session operation.- Specified by:
perform
in interfaceSessionOperation<Node>
- Parameters:
context
- component context of this session- Throws:
RepositoryException
- if the operation fails
-
-