org.apache.jackrabbit.core.session
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.
AddNodeOperation
public AddNodeOperation(NodeImpl node,
String relPath,
String nodeTypeName,
String uuid)
perform
public Node perform(SessionContext context)
throws RepositoryException
- Description copied from interface:
SessionOperation
- Performs the session operation.
- Specified by:
perform
in interface SessionOperation<Node>
- Parameters:
context
- component context of this session
- Throws:
RepositoryException
- if the operation fails
toString
public String toString()
- Returns a string representation of this operation.
- Overrides:
toString
in class Object
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.