Class User


  • public class User
    extends Object
    Get and sets user information for application.
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getId

        public Long getId()
        Gets a Long for user id.
        Returns:
        returns long for id.
      • getConnected

        public Date getConnected()
        Gets the date/time user connects to service.
        Returns:
        returns the date/time of connection.
      • getCreationDate

        public Date getCreationDate()
        Gets Date user creates login.
        Returns:
        returns Date of connection.
      • getDisplayName

        public String getDisplayName()
        Gets users display name.
        Returns:
        String of users display name.
      • setDisplayName

        public void setDisplayName​(String displayName)
        Sets the users display name.
        Parameters:
        displayName - is String of user's name.
      • getOauthKey

        public String getOauthKey()
        Gets the oauth key for the user.
        Returns:
        returns an oauth key for authentication.
      • setOauthKey

        public void setOauthKey​(String oauthKey)
        Sets the oauth key for user.
        Parameters:
        oauthKey - return in String format
      • getGroups

        public List<Group> getGroups()
        Gets list of Groups
        Returns:
        list of groups
      • getTasks

        public List<Task> getTasks()
        gets list of tasks
        Returns:
        list of tasks