Class User
java.lang.Object
org.apache.openmeetings.db.entity.HistoricalEntity
org.apache.openmeetings.db.entity.user.User
- All Implemented Interfaces:
Serializable
,IDataProviderEntity
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAge()
getId()
long
getLogin()
getType()
boolean
boolean
void
void
setActivatehash
(String activatehash) void
setAddress
(Address address) void
setDisplayName
(String displayName) void
setDomainId
(Long domainId) void
setExternalId
(String externalId) setFirstname
(String firstname) void
setGroupUsers
(List<GroupUser> groupUsers) void
void
setLanguageId
(long languageId) void
setLastlogin
(Date lastlogin) setLastname
(String lastname) void
void
setOtpRecoveryCodes
(String otpRecoveryCodes) void
setOtpSecret
(String otpSecret) void
setOwnerId
(Long ownerId) void
setPassword
(String password) For internal use only should not be used directly (for bean usage only)void
setPictureUri
(String pictureUri) void
setRegdate
(Date regdate) void
setResetDate
(Date resetDate) void
setResethash
(String resethash) void
setRights
(Set<User.Right> rights) void
setSalutation
(User.Salutation salutation) void
setSessionData
(Sessiondata sessionData) void
setShowContactData
(boolean showContactData) void
setShowContactDataToContacts
(boolean showContactDataToContacts) void
setSipUser
(AsteriskSipUser sipUser) void
setTimeZoneId
(String timeZoneId) void
void
setUserOffers
(String userOffers) void
setUserSearchs
(String userSearchs) toString()
void
updatePassword
(String pass) Methods inherited from class org.apache.openmeetings.db.entity.HistoricalEntity
getInserted, getUpdated, isDeleted, setDeleted, setInserted, setUpdated
-
Field Details
-
DISPLAY_NAME_NA
- See Also:
-
SALUTATION_MR_ID
public static final int SALUTATION_MR_ID- See Also:
-
SALUTATION_MS_ID
public static final int SALUTATION_MS_ID- See Also:
-
SALUTATION_MRS_ID
public static final int SALUTATION_MRS_ID- See Also:
-
SALUTATION_DR_ID
public static final int SALUTATION_DR_ID- See Also:
-
SALUTATION_PROF_ID
public static final int SALUTATION_PROF_ID- See Also:
-
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getId
-
setId
-
getAddress
-
setAddress
-
getAge
-
setAge
-
getFirstname
-
setFirstname
-
getLastlogin
-
setLastlogin
-
getLastname
-
setLastname
-
getDisplayName
-
setDisplayName
-
resetDisplayName
public void resetDisplayName() -
getLogin
-
setLogin
-
updatePassword
- Throws:
NoSuchAlgorithmException
-
getPassword
-
setPassword
For internal use only should not be used directly (for bean usage only)- Parameters:
password
- - password to set
-
getRegdate
-
setRegdate
-
getSalutation
-
setSalutation
-
getPictureUri
-
setPictureUri
-
getLanguageId
public long getLanguageId() -
setLanguageId
public void setLanguageId(long languageId) -
getGroupUsers
-
addGroup
-
setGroupUsers
-
getResethash
-
setResethash
-
getResetDate
-
setResetDate
-
getActivatehash
-
setActivatehash
-
getExternalId
-
setExternalId
-
externalType
-
getSessionData
-
setSessionData
-
getSipUser
-
setSipUser
-
getTimeZoneId
-
setTimeZoneId
-
getUserOffers
-
setUserOffers
-
getUserSearchs
-
setUserSearchs
-
isShowContactData
public boolean isShowContactData() -
setShowContactData
public void setShowContactData(boolean showContactData) -
isShowContactDataToContacts
public boolean isShowContactDataToContacts() -
setShowContactDataToContacts
public void setShowContactDataToContacts(boolean showContactDataToContacts) -
getType
-
setType
-
getOwnerId
-
setOwnerId
-
getRights
-
setRights
-
getDomainId
-
setDomainId
-
getOtpSecret
-
setOtpSecret
-
getOtpRecoveryCodes
-
setOtpRecoveryCodes
-
toString
-