java.lang.Object
org.apache.openmeetings.db.entity.HistoricalEntity
org.apache.openmeetings.db.entity.user.User
All Implemented Interfaces:
Serializable, IDataProviderEntity

@Entity public class User extends HistoricalEntity
Entity to store user data, password field is FetchType.LAZY, so that is why there is an extra udpate statement at this moment
Author:
sebawagner
See Also:
  • Field Details

  • Constructor Details

    • User

      public User()
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getAddress

      public Address getAddress()
    • setAddress

      public void setAddress(Address address)
    • getAge

      public LocalDate getAge()
    • setAge

      public void setAge(LocalDate age)
    • getFirstname

      public String getFirstname()
    • setFirstname

      public User setFirstname(String firstname)
    • getLastlogin

      public Date getLastlogin()
    • setLastlogin

      public void setLastlogin(Date lastlogin)
    • getLastname

      public String getLastname()
    • setLastname

      public User setLastname(String lastname)
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public User setDisplayName(String displayName)
    • resetDisplayName

      public void resetDisplayName()
    • getLogin

      public String getLogin()
    • setLogin

      public void setLogin(String login)
    • updatePassword

      public void updatePassword(String pass) throws NoSuchAlgorithmException
      Throws:
      NoSuchAlgorithmException
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
      For internal use only should not be used directly (for bean usage only)
      Parameters:
      password - - password to set
    • getRegdate

      public Date getRegdate()
    • setRegdate

      public void setRegdate(Date regdate)
    • getSalutation

      public User.Salutation getSalutation()
    • setSalutation

      public void setSalutation(User.Salutation salutation)
    • getPictureUri

      public String getPictureUri()
    • setPictureUri

      public void setPictureUri(String pictureUri)
    • getLanguageId

      public long getLanguageId()
    • setLanguageId

      public void setLanguageId(long languageId)
    • getGroupUsers

      public List<GroupUser> getGroupUsers()
    • addGroup

      public void addGroup(Group g)
    • setGroupUsers

      public void setGroupUsers(List<GroupUser> groupUsers)
    • getResethash

      public String getResethash()
    • setResethash

      public void setResethash(String resethash)
    • getResetDate

      public Date getResetDate()
    • setResetDate

      public void setResetDate(Date resetDate)
    • getActivatehash

      public String getActivatehash()
    • setActivatehash

      public void setActivatehash(String activatehash)
    • getExternalId

      public String getExternalId()
    • setExternalId

      public void setExternalId(String externalId)
    • externalType

      public String externalType()
    • getSessionData

      public Sessiondata getSessionData()
    • setSessionData

      public void setSessionData(Sessiondata sessionData)
    • getSipUser

      public AsteriskSipUser getSipUser()
    • setSipUser

      public void setSipUser(AsteriskSipUser sipUser)
    • getTimeZoneId

      public String getTimeZoneId()
    • setTimeZoneId

      public void setTimeZoneId(String timeZoneId)
    • getUserOffers

      public String getUserOffers()
    • setUserOffers

      public void setUserOffers(String userOffers)
    • getUserSearchs

      public String getUserSearchs()
    • setUserSearchs

      public void setUserSearchs(String userSearchs)
    • isShowContactData

      public boolean isShowContactData()
    • setShowContactData

      public void setShowContactData(boolean showContactData)
    • isShowContactDataToContacts

      public boolean isShowContactDataToContacts()
    • setShowContactDataToContacts

      public void setShowContactDataToContacts(boolean showContactDataToContacts)
    • getType

      public User.Type getType()
    • setType

      public void setType(User.Type type)
    • getOwnerId

      public Long getOwnerId()
    • setOwnerId

      public void setOwnerId(Long ownerId)
    • getRights

      public Set<User.Right> getRights()
    • setRights

      public void setRights(Set<User.Right> rights)
    • getDomainId

      public Long getDomainId()
    • setDomainId

      public void setDomainId(Long domainId)
    • getOtpSecret

      public String getOtpSecret()
    • setOtpSecret

      public void setOtpSecret(String otpSecret)
    • getOtpRecoveryCodes

      public String getOtpRecoveryCodes()
    • setOtpRecoveryCodes

      public void setOtpRecoveryCodes(String otpRecoveryCodes)
    • toString

      public String toString()
      Overrides:
      toString in class Object