Class Userdata


  • public class Userdata
    extends Object
    The Class Userdata.
    • Field Detail

      • userId

        protected String userId
        The user id.
      • download

        protected Boolean download
        The download.
      • coEdited

        protected Boolean coEdited
        The co edited.
      • forcesaved

        protected Boolean forcesaved
        The forcesaved
      • comment

        protected String comment
        The comment.
    • Constructor Detail

      • Userdata

        public Userdata​(String userId,
                        Boolean download,
                        Boolean coEdited,
                        Boolean forcesaved,
                        String comment)
        Instantiates a new userdata.
        Parameters:
        userId - the user id
        download - the download
        coEdited - the co edited
        forcesaved - the forcesaved
        comment - the comment
      • Userdata

        public Userdata()
        Instantiates a new userdata.
    • Method Detail

      • getUserId

        public String getUserId()
        Gets the user id.
        Returns:
        the user id
      • setUserId

        public void setUserId​(String userId)
        Sets the user id.
        Parameters:
        userId - the new user id
      • isDownload

        public Boolean isDownload()
        Gets the download.
        Returns:
        the download
      • setDownload

        public void setDownload​(Boolean download)
        Sets the download.
        Parameters:
        download - the new download
      • getCoEdited

        public Boolean getCoEdited()
        Gets the co edited.
        Returns:
        the co edited
      • setCoEdited

        public void setCoEdited​(Boolean coEdited)
        Sets the co edited.
        Parameters:
        coEdited - the new co edited
      • isForcesaved

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

        public void setForcesaved​(Boolean forcesaved)
        Sets the forcesaved.
        Parameters:
        forcesaved - the forcesaved
      • getComment

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

        public void setComment​(String comment)
        Sets the comment.
        Parameters:
        comment - the new comment
      • toJSON

        public 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