Class SessionSaveOperation

    • Constructor Detail

      • SessionSaveOperation

        public SessionSaveOperation()
    • 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 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