Package org.molgenis.data.security.auth
Class User
- java.lang.Object
-
- org.molgenis.data.support.StaticEntity
-
- org.molgenis.data.security.auth.User
-
- All Implemented Interfaces:
Entity,org.molgenis.util.i18n.Identifiable
public class User extends StaticEntity
-
-
Constructor Summary
Constructors Constructor Description User(String id, EntityType entityType)User(Entity entity)User(EntityType entityType)
-
Method Summary
-
Methods inherited from class org.molgenis.data.support.StaticEntity
get, getAttributeNames, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getEntityType, getIdValue, getInstant, getInt, getLabelValue, getLocalDate, getLong, getString, init, set, set, setIdValue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.molgenis.data.Entity
get, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getInstant, getInt, getLocalDate, getLong, getString, set
-
-
-
-
Constructor Detail
-
User
public User(Entity entity)
-
User
public User(EntityType entityType)
-
User
public User(String id, EntityType entityType)
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getActivationCode
@Nullable @CheckForNull public String getActivationCode()
-
setActivationCode
public void setActivationCode(String activationCode)
-
isTwoFactorAuthentication
public boolean isTwoFactorAuthentication()
-
setTwoFactorAuthentication
public void setTwoFactorAuthentication(boolean twoFactorAuthentication)
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
isSuperuser
public boolean isSuperuser()
-
setSuperuser
public void setSuperuser(boolean superuser)
-
getFirstName
@Nullable @CheckForNull public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getMiddleNames
@Nullable @CheckForNull public String getMiddleNames()
-
setMiddleNames
public void setMiddleNames(String middleNames)
-
getLastName
@Nullable @CheckForNull public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getTitle
@Nullable @CheckForNull public String getTitle()
-
setTitle
public void setTitle(String title)
-
getAffiliation
@Nullable @CheckForNull public String getAffiliation()
-
setAffiliation
public void setAffiliation(String affiliation)
-
getDepartment
@Nullable @CheckForNull public String getDepartment()
-
setDepartment
public void setDepartment(String department)
-
getRole
@Nullable @CheckForNull public String getRole()
-
setRole
public void setRole(String role)
-
getAddress
@Nullable @CheckForNull public String getAddress()
-
setAddress
public void setAddress(String address)
-
getPhone
@Nullable @CheckForNull public String getPhone()
-
setPhone
public void setPhone(String phone)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
getFax
@Nullable @CheckForNull public String getFax()
-
setFax
public void setFax(String fax)
-
getTollFreePhone
@Nullable @CheckForNull public String getTollFreePhone()
-
setTollFreePhone
public void setTollFreePhone(String tollFreePhone)
-
getCity
@Nullable @CheckForNull public String getCity()
-
setCity
public void setCity(String city)
-
getCountry
@Nullable @CheckForNull public String getCountry()
-
setCountry
public void setCountry(String country)
-
isChangePassword
public Boolean isChangePassword()
-
setChangePassword
public void setChangePassword(Boolean changePassword)
-
getLanguageCode
@Nullable @CheckForNull public String getLanguageCode()
-
setLanguageCode
public void setLanguageCode(String languageCode)
-
getGoogleAccountId
@Nullable @CheckForNull public String getGoogleAccountId()
-
setGoogleAccountId
public void setGoogleAccountId(String googleAccountId)
-
-