public class SessionSaveOperation extends Object implements SessionWriteOperation<Object>
Constructor and Description |
---|
SessionSaveOperation() |
Modifier and Type | Method and 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.
|
public Object perform(SessionContext context) throws javax.jcr.RepositoryException
perform
in interface SessionOperation<Object>
context
- component context of this sessionjavax.jcr.RepositoryException
- if the operation failsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.