org.apache.jackrabbit.core.session
Class SessionSaveOperation
java.lang.Object
org.apache.jackrabbit.core.session.SessionSaveOperation
- All Implemented Interfaces:
- SessionOperation<Object>, SessionWriteOperation<Object>
public class SessionSaveOperation
- extends Object
- implements SessionWriteOperation<Object>
Operation to persist transient changes in a session.
Method Summary |
Object |
perform(SessionContext context)
Persists transient changes by delegating to the save() method of the
root node (or the parent of transient changes if access to the root
node is not available to this session). |
String |
toString()
Returns a string representation of this operation. |
SessionSaveOperation
public SessionSaveOperation()
perform
public Object perform(SessionContext context)
throws RepositoryException
- Persists transient changes by delegating to the save() method of the
root node (or the parent of transient changes if access to the root
node is not available to this session).
- Specified by:
perform
in interface SessionOperation<Object>
- 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.