Interface ChannelManagerDocumentUpdateService

    • Method Detail

      • update

        void update​(CmsSessionContext cmsSessionContext,
                    Session session)
        Issues request by calling ChannelManagerCommand.execute(Session) on all stored commands.

        The commands are stored per user session

        Parameters:
        cmsSessionContext - the place where the commands are stored per user session
        session - the session the command should be executed on
      • removeCommand

        void removeCommand​(String identifier,
                           CmsSessionContext cmsSessionContext)
        Removes the command for the current user session.
        Parameters:
        identifier - Identifier of the object the command executed on
        cmsSessionContext - The CmsSessionContext where the command is stored.
      • storeCommand

        void storeCommand​(String identifier,
                          CmsSessionContext cmsSessionContext,
                          ChannelManagerCommand command)
        Stores command for the the current user session
        Parameters:
        identifier - Identifier of the object the command executed on
        cmsSessionContext - The CmsSessionContext where the command is stored.
        command - The command to be added