Class UserEntity

java.lang.Object
com.peterphi.usermanager.db.entity.UserEntity

@Entity(name="user_account") public class UserEntity extends Object
  • Constructor Details

    • UserEntity

      public UserEntity()
  • Method Details

    • getId

      public Integer getId()
    • setId

      public void setId(Integer id)
    • isLocal

      public boolean isLocal()
    • setLocal

      public void setLocal(boolean local)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getEmail

      public String getEmail()
    • setEmail

      public void setEmail(String email)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getAccessKey

      public String getAccessKey()
      Access key, allows API clients more easy use of a User Manager User.
      Returns:
    • setAccessKey

      public void setAccessKey(String accessKey)
    • getAccessKeySecondary

      public String getAccessKeySecondary()
      Access key, allows API clients more easy use of a User Manager User.
      Returns:
    • setAccessKeySecondary

      public void setAccessKeySecondary(String accessKeySecondary)
    • getSessionReconnectKey

      public String getSessionReconnectKey()
    • setSessionReconnectKey

      public void setSessionReconnectKey(String sessionReconnectKey)
    • getCreated

      public org.joda.time.DateTime getCreated()
    • setCreated

      public void setCreated(org.joda.time.DateTime created)
    • getLastLogin

      public org.joda.time.DateTime getLastLogin()
    • setLastLogin

      public void setLastLogin(org.joda.time.DateTime lastLogin)
    • getDateFormat

      public String getDateFormat()
    • setDateFormat

      public void setDateFormat(String dateFormat)
    • getTimeZone

      public String getTimeZone()
    • setTimeZone

      public void setTimeZone(String timeZone)
    • getRoles

      public List<RoleEntity> getRoles()
    • setRoles

      public void setRoles(List<RoleEntity> roles)