Class User
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.AbstractDescribable
ubic.gemma.model.common.auditAndSecurity.Contact
ubic.gemma.model.common.auditAndSecurity.Person
ubic.gemma.model.common.auditAndSecurity.User
- All Implemented Interfaces:
gemma.gsec.model.Securable,gemma.gsec.model.SecuredNotChild,gemma.gsec.model.User,Describable,Identifiable
A user of the software system, who is authenticated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanImportant note: Two objects with the same class and non-null ID must be considered equal.getJobs()inthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.booleanvoidsetEnabled(boolean enabled) voidvoidvoidsetPassword(String password) voidsetPasswordHint(String passwordHint) voidsetSignupToken(String signupToken) voidsetSignupTokenDatestamp(Date signupTokenDatestamp) Methods inherited from class ubic.gemma.model.common.auditAndSecurity.Person
getFullName, getLastName, setLastNameMethods inherited from class ubic.gemma.model.common.AbstractDescribable
getDescription, getName, setDescription, setName, toStringMethods inherited from class ubic.gemma.model.common.AbstractIdentifiable
getId, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ubic.gemma.model.common.Identifiable
getIdMethods inherited from interface gemma.gsec.model.Securable
getIdMethods inherited from interface gemma.gsec.model.User
getEmail
-
Constructor Details
-
User
public User()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfacegemma.gsec.model.User
-
setEnabled
public void setEnabled(boolean enabled) -
getJobs
-
setJobs
-
getGroups
- Specified by:
getGroupsin interfacegemma.gsec.model.User
-
setGroups
-
getPassword
- Specified by:
getPasswordin interfacegemma.gsec.model.User
-
setPassword
-
getPasswordHint
- Specified by:
getPasswordHintin interfacegemma.gsec.model.User
-
setPasswordHint
-
getSignupToken
- Specified by:
getSignupTokenin interfacegemma.gsec.model.User
-
setSignupToken
-
getSignupTokenDatestamp
- Specified by:
getSignupTokenDatestampin interfacegemma.gsec.model.User
-
setSignupTokenDatestamp
-
getUserName
- Specified by:
getUserNamein interfacegemma.gsec.model.User
-
equals
Description copied from class:AbstractIdentifiableImportant 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. -
hashCode
public int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Overrides:
hashCodein classAbstractDescribable
-