Package alpine.model

Class ManagedUser

    • Constructor Detail

      • ManagedUser

        public ManagedUser()
    • Method Detail

      • getId

        public long getId()
        Description copied from interface: UserPrincipal
        The database id of the principal.
        Specified by:
        getId in interface UserPrincipal
        Returns:
        a long of the unique id
      • setId

        public void setId​(long id)
        Description copied from interface: UserPrincipal
        Specifies the database id of the principal.
        Specified by:
        setId in interface UserPrincipal
        Parameters:
        id - a long of the unique id
      • setUsername

        public void setUsername​(String username)
        Description copied from interface: UserPrincipal
        Specifies the username of the principal.
        Specified by:
        setUsername in interface UserPrincipal
        Parameters:
        username - the username of the principal
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
      • getNewPassword

        public String getNewPassword()
      • setNewPassword

        public void setNewPassword​(String newPassword)
      • getConfirmPassword

        public String getConfirmPassword()
      • setConfirmPassword

        public void setConfirmPassword​(String confirmPassword)
      • getLastPasswordChange

        public Date getLastPasswordChange()
      • setLastPasswordChange

        public void setLastPasswordChange​(Date lastPasswordChange)
      • getFullname

        public String getFullname()
      • setFullname

        public void setFullname​(String fullname)
      • getEmail

        public String getEmail()
        Description copied from interface: UserPrincipal
        The email address of the principal.
        Specified by:
        getEmail in interface UserPrincipal
        Returns:
        a String of the email address
      • setEmail

        public void setEmail​(String email)
        Description copied from interface: UserPrincipal
        Specifies the email address of the principal.
        Specified by:
        setEmail in interface UserPrincipal
        Parameters:
        email - the email address of the principal
      • isSuspended

        public boolean isSuspended()
      • setSuspended

        public void setSuspended​(boolean suspended)
      • isForcePasswordChange

        public boolean isForcePasswordChange()
      • setForcePasswordChange

        public void setForcePasswordChange​(boolean forcePasswordChange)
      • isNonExpiryPassword

        public boolean isNonExpiryPassword()
      • setNonExpiryPassword

        public void setNonExpiryPassword​(boolean nonExpiryPassword)
      • getTeams

        public List<Team> getTeams()
        Description copied from interface: UserPrincipal
        A list of teams the principal is a member of.
        Specified by:
        getTeams in interface UserPrincipal
        Returns:
        a List of Team objects
      • setTeams

        public void setTeams​(List<Team> teams)
        Description copied from interface: UserPrincipal
        Specifies the teams the principal is a member of.
        Specified by:
        setTeams in interface UserPrincipal
        Parameters:
        teams - a List of Team objects
      • setPermissions

        public void setPermissions​(List<Permission> permissions)
        Description copied from interface: UserPrincipal
        Specifies the permissions the principal should have.
        Specified by:
        setPermissions in interface UserPrincipal
        Parameters:
        permissions - a List of Permission objects