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.
-
-
Constructor Summary
Constructors Constructor Description SessionSaveOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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 interfaceSessionOperation<Object>
- Parameters:
context
- component context of this session- Throws:
RepositoryException
- if the operation fails
-
-