Interface User

    • Method Detail

      • getId

        long getId()
        Returns user id
        Returns:
        user id
      • getRealm

        java.lang.String getRealm()
        Returns realm of the user.
        Returns:
        realm of the user
      • getUsername

        java.lang.String getUsername()
        Returns username of this user
        Returns:
        username
      • getName

        java.lang.String getName()
        Returns full name of this user
        Returns:
        user full name
      • getEmail

        java.lang.String getEmail()
        Returns e-mail of this user
        Returns:
        email address
      • getDescriptiveName

        java.lang.String getDescriptiveName()
        Returns full name of the user if it is not empty, otherwise returns username.
        Returns:
        full name or username if full name is empty
      • getExtendedName

        java.lang.String getExtendedName()
        Returns:
        user full name and username in the form: <full name> (<username>)
        Since:
        7.0
      • getLastLoginTimestamp

        java.util.Date getLastLoginTimestamp()
        Returns this user last login timestamp
        Returns:
        last login timestamp
      • getVisibleProjects

        java.util.List<java.lang.String> getVisibleProjects()
        Computes list of visible projects sorted according to the order specified by user.
        Returns:
        list of visible projects ids
      • getAllProjects

        java.util.List<java.lang.String> getAllProjects()
        Returns all projects sorted according to the order specified by user.
        Returns:
        list of all of the projects ids