Class DocumentStatus

    • Field Detail

      • key

        protected String key
        The key.
      • status

        protected Long status
        The status.
      • url

        protected String url
        The url.
      • users

        protected String[] users
        The users.
      • config

        protected Config config
        The config.
      • error

        protected long error
        The error.
      • coEdited

        protected Boolean coEdited
        The coedited.
      • forceSaved

        protected Boolean forceSaved
        The forcesaved (true if a document is forcesaved via Editor bar)
      • saved

        protected Boolean saved
        The saved
      • userId

        protected String userId
        The userId (used for saving the document content under this user)
      • comment

        protected String comment
        The comment (used for saving a version of a document with comment on FileActivity)
    • Constructor Detail

      • DocumentStatus

        public DocumentStatus()
    • Method Detail

      • getConfig

        public Config getConfig()
        Gets the config.
        Returns:
        the config
      • getError

        public long getError()
        Gets the error.
        Returns:
        the error
      • getKey

        public String getKey()
        Gets the key.
        Returns:
        the key
      • setConfig

        protected void setConfig​(Config config)
        Sets the config.
        Parameters:
        config - the new config
      • getUrl

        protected String getUrl()
        Gets the url.
        Returns:
        the url
      • getUsers

        protected String[] getUsers()
        Gets the users.
        Returns:
        the users
      • getLastUser

        protected String getLastUser()
        Gets the last user (editor).
        Returns:
        the last user (editor)
      • isCoedited

        public Boolean isCoedited()
        Gets the coEdited.
        Returns:
        the coEdited
      • isForcesaved

        public Boolean isForcesaved()
        Gets the forcesaved.
        Returns:
        the forcesaved
      • isSaved

        public Boolean isSaved()
        Gets the isSaved.
        Returns:
        the isSaved
      • getUserId

        public String getUserId()
        Gets the userId.
        Returns:
        the userId
      • getComment

        public String getComment()
        Gets the comment.
        Returns:
        the coment
      • toJSON

        protected String toJSON()
                         throws org.exoplatform.ws.frameworks.json.impl.JsonException
        Return this config as JSON string.
        Returns:
        the string
        Throws:
        org.exoplatform.ws.frameworks.json.impl.JsonException - the json exception