Class User

  • All Implemented Interfaces:
    gemma.gsec.model.Securable, gemma.gsec.model.SecuredNotChild, gemma.gsec.model.User, Describable, Identifiable

    public class User
    extends Person
    implements gemma.gsec.model.User
    A user of the software system, who is authenticated.
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface gemma.gsec.model.User
      • setEnabled

        public void setEnabled​(boolean enabled)
      • setJobs

        public void setJobs​(Set<JobInfo> jobs)
      • getGroups

        public Collection<UserGroup> getGroups()
        Specified by:
        getGroups in interface gemma.gsec.model.User
      • setGroups

        public void setGroups​(Set<UserGroup> groups)
      • getPassword

        public String getPassword()
        Specified by:
        getPassword in interface gemma.gsec.model.User
      • setPassword

        public void setPassword​(String password)
      • getPasswordHint

        public String getPasswordHint()
        Specified by:
        getPasswordHint in interface gemma.gsec.model.User
      • setPasswordHint

        public void setPasswordHint​(String passwordHint)
      • getSignupToken

        public String getSignupToken()
        Specified by:
        getSignupToken in interface gemma.gsec.model.User
      • setSignupToken

        public void setSignupToken​(String signupToken)
      • getSignupTokenDatestamp

        public Date getSignupTokenDatestamp()
        Specified by:
        getSignupTokenDatestamp in interface gemma.gsec.model.User
      • setSignupTokenDatestamp

        public void setSignupTokenDatestamp​(Date signupTokenDatestamp)
      • getUserName

        public String getUserName()
        Specified by:
        getUserName in interface gemma.gsec.model.User
      • equals

        public boolean equals​(Object object)
        Description copied from class: AbstractIdentifiable
        Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.
        Overrides:
        equals in class Contact
      • hashCode

        public int hashCode()
        Description copied from class: AbstractIdentifiable
        Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.
        Overrides:
        hashCode in class AbstractDescribable