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 RepositoryException
perform
in interface SessionOperation<Object>
context
- component context of this sessionRepositoryException
- if the operation failsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.