public class UserWrapper extends BaseModelWrapper<User> implements ModelWrapper<User>, User
This class is a wrapper for User
.
User
,
Serialized Formmodel
USER_ID_ACCESSOR
Constructor and Description |
---|
UserWrapper(User user) |
Modifier and Type | Method and Description |
---|---|
User |
cloneWithOriginalValues() |
Contact |
fetchContact() |
String |
fetchPortraitURL(ThemeDisplay themeDisplay) |
List<Address> |
getAddresses()
Returns the user's addresses.
|
boolean |
getAgreedToTermsOfUse()
Returns the agreed to terms of use of this user.
|
Map<String,Function<User,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<User,Object>> |
getAttributeSetterBiConsumers() |
Date |
getBirthday()
Returns the user's birth date.
|
String |
getComments()
Returns the comments of this user.
|
long |
getCompanyId()
Returns the company ID of this user.
|
String |
getCompanyMx()
Returns the user's company's mail domain.
|
Contact |
getContact()
Returns the user's associated contact.
|
long |
getContactId()
Returns the contact ID of this user.
|
Date |
getCreateDate()
Returns the create date of this user.
|
long |
getCtCollectionId()
Returns the ct collection ID of this user.
|
String |
getDigest()
Returns the digest of this user.
|
String |
getDigest(String password)
Deprecated.
As of Cavanaugh (7.4.x), with no direct replacement
|
String |
getDisplayEmailAddress()
Returns the user's primary email address, or a blank string if the
address is fake.
|
String |
getDisplayURL(ThemeDisplay themeDisplay)
Returns the user's display URL based on the theme display, discounting
the URL of the user's default intranet site home page.
|
String |
getDisplayURL(ThemeDisplay themeDisplay,
boolean privateLayout)
Returns the user's display URL based on the theme display.
|
String |
getEmailAddress()
Returns the email address of this user.
|
List<EmailAddress> |
getEmailAddresses()
Returns the user's email addresses.
|
boolean |
getEmailAddressVerified()
Returns the email address verified of this user.
|
String |
getExternalReferenceCode()
Returns the external reference code of this user.
|
long |
getFacebookId()
Returns the facebook ID of this user.
|
int |
getFailedLoginAttempts()
Returns the failed login attempts of this user.
|
boolean |
getFemale()
Returns
true if the user is female. |
String |
getFirstName()
Returns the first name of this user.
|
String |
getFullName()
Returns the user's full name.
|
String |
getFullName(boolean usePrefix,
boolean useSuffix)
Returns the user's full name.
|
String |
getGoogleUserId()
Returns the google user ID of this user.
|
int |
getGraceLoginCount()
Returns the grace login count of this user.
|
String |
getGreeting()
Returns the greeting of this user.
|
Group |
getGroup() |
long |
getGroupId() |
long[] |
getGroupIds() |
List<Group> |
getGroups() |
String |
getInitials() |
String |
getJobTitle()
Returns the job title of this user.
|
String |
getLanguageId()
Returns the language ID of this user.
|
Date |
getLastFailedLoginDate()
Returns the last failed login date of this user.
|
Date |
getLastLoginDate()
Returns the last login date of this user.
|
String |
getLastLoginIP()
Returns the last login ip of this user.
|
String |
getLastName()
Returns the last name of this user.
|
long |
getLdapServerId()
Returns the ldap server ID of this user.
|
Locale |
getLocale() |
boolean |
getLockout()
Returns the lockout of this user.
|
Date |
getLockoutDate()
Returns the lockout date of this user.
|
String |
getLogin() |
Date |
getLoginDate()
Returns the login date of this user.
|
String |
getLoginIP()
Returns the login ip of this user.
|
boolean |
getMale()
Returns
true if the user is male. |
String |
getMiddleName()
Returns the middle name of this user.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this user.
|
long |
getMvccVersion()
Returns the mvcc version of this user.
|
List<Group> |
getMySiteGroups() |
List<Group> |
getMySiteGroups(int max) |
List<Group> |
getMySiteGroups(String[] classNames,
int max) |
String |
getOpenId()
Returns the open ID of this user.
|
long[] |
getOrganizationIds() |
long[] |
getOrganizationIds(boolean includeAdministrative) |
List<Organization> |
getOrganizations() |
List<Organization> |
getOrganizations(boolean includeAdministrative) |
String |
getOriginalEmailAddress() |
String |
getPassword()
Returns the password of this user.
|
boolean |
getPasswordEncrypted()
Returns the password encrypted of this user.
|
boolean |
getPasswordModified() |
Date |
getPasswordModifiedDate()
Returns the password modified date of this user.
|
PasswordPolicy |
getPasswordPolicy() |
boolean |
getPasswordReset()
Returns the password reset of this user.
|
String |
getPasswordUnencrypted() |
List<Phone> |
getPhones() |
long |
getPortraitId()
Returns the portrait ID of this user.
|
String |
getPortraitURL(ThemeDisplay themeDisplay) |
long |
getPrimaryKey()
Returns the primary key of this user.
|
int |
getPrivateLayoutsPageCount() |
int |
getPublicLayoutsPageCount() |
String |
getReminderQueryAnswer()
Returns the reminder query answer of this user.
|
String |
getReminderQueryQuestion()
Returns the reminder query question of this user.
|
Set<String> |
getReminderQueryQuestions() |
long[] |
getRoleIds() |
List<Role> |
getRoles() |
String |
getScreenName()
Returns the screen name of this user.
|
List<Group> |
getSiteGroups() |
List<Group> |
getSiteGroups(boolean includeAdministrative) |
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this user.
|
long[] |
getTeamIds() |
List<Team> |
getTeams() |
TimeZone |
getTimeZone() |
String |
getTimeZoneId()
Returns the time zone ID of this user.
|
int |
getType()
Returns the type of this user.
|
Date |
getUnlockDate() |
Date |
getUnlockDate(PasswordPolicy passwordPolicy) |
long[] |
getUserGroupIds() |
List<UserGroup> |
getUserGroups() |
long |
getUserId()
Returns the user ID of this user.
|
String |
getUserUuid()
Returns the user uuid of this user.
|
String |
getUuid()
Returns the uuid of this user.
|
List<Website> |
getWebsites() |
boolean |
hasCompanyMx() |
boolean |
hasCompanyMx(String emailAddress) |
boolean |
hasMySites() |
boolean |
hasOrganization() |
boolean |
hasPrivateLayouts() |
boolean |
hasPublicLayouts() |
boolean |
hasReminderQuery() |
boolean |
isActive() |
boolean |
isAgreedToTermsOfUse()
Returns
true if this user is agreed to terms of use. |
boolean |
isDefaultUser()
Deprecated.
As of Cavanaugh (7.4.x), replaced by
isGuestUser() |
boolean |
isEmailAddressComplete() |
boolean |
isEmailAddressVerificationComplete() |
boolean |
isEmailAddressVerified()
Returns
true if this user is email address verified. |
boolean |
isFemale() |
boolean |
isGuestUser() |
boolean |
isLockout()
Returns
true if this user is lockout. |
boolean |
isMale() |
boolean |
isOnDemandUser() |
boolean |
isPasswordEncrypted()
Returns
true if this user is password encrypted. |
boolean |
isPasswordModified() |
boolean |
isPasswordReset()
Returns
true if this user is password reset. |
boolean |
isPasswordResetRequired() |
boolean |
isReminderQueryComplete() |
boolean |
isServiceAccountUser() |
boolean |
isSetupComplete() |
boolean |
isTermsOfUseComplete() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
Sets whether this user is agreed to terms of use.
|
void |
setComments(String comments)
Sets the comments of this user.
|
void |
setCompanyId(long companyId)
Sets the company ID of this user.
|
void |
setContact(Contact contact) |
void |
setContactId(long contactId)
Sets the contact ID of this user.
|
void |
setCreateDate(Date createDate)
Sets the create date of this user.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this user.
|
void |
setDigest(String digest)
Sets the digest of this user.
|
void |
setEmailAddress(String emailAddress)
Sets the email address of this user.
|
void |
setEmailAddressVerified(boolean emailAddressVerified)
Sets whether this user is email address verified.
|
void |
setExternalReferenceCode(String externalReferenceCode)
Sets the external reference code of this user.
|
void |
setFacebookId(long facebookId)
Sets the facebook ID of this user.
|
void |
setFailedLoginAttempts(int failedLoginAttempts)
Sets the failed login attempts of this user.
|
void |
setFirstName(String firstName)
Sets the first name of this user.
|
void |
setGoogleUserId(String googleUserId)
Sets the google user ID of this user.
|
void |
setGraceLoginCount(int graceLoginCount)
Sets the grace login count of this user.
|
void |
setGreeting(String greeting)
Sets the greeting of this user.
|
void |
setGroupIds(long[] groupIds) |
void |
setJobTitle(String jobTitle)
Sets the job title of this user.
|
void |
setLanguageId(String languageId)
Sets the language ID of this user.
|
void |
setLastFailedLoginDate(Date lastFailedLoginDate)
Sets the last failed login date of this user.
|
void |
setLastLoginDate(Date lastLoginDate)
Sets the last login date of this user.
|
void |
setLastLoginIP(String lastLoginIP)
Sets the last login ip of this user.
|
void |
setLastName(String lastName)
Sets the last name of this user.
|
void |
setLdapServerId(long ldapServerId)
Sets the ldap server ID of this user.
|
void |
setLockout(boolean lockout)
Sets whether this user is lockout.
|
void |
setLockoutDate(Date lockoutDate)
Sets the lockout date of this user.
|
void |
setLoginDate(Date loginDate)
Sets the login date of this user.
|
void |
setLoginIP(String loginIP)
Sets the login ip of this user.
|
void |
setMiddleName(String middleName)
Sets the middle name of this user.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this user.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user.
|
void |
setOpenId(String openId)
Sets the open ID of this user.
|
void |
setOrganizationIds(long[] organizationIds) |
void |
setPassword(String password)
Sets the password of this user.
|
void |
setPasswordEncrypted(boolean passwordEncrypted)
Sets whether this user is password encrypted.
|
void |
setPasswordModified(boolean passwordModified) |
void |
setPasswordModifiedDate(Date passwordModifiedDate)
Sets the password modified date of this user.
|
void |
setPasswordReset(boolean passwordReset)
Sets whether this user is password reset.
|
void |
setPasswordUnencrypted(String passwordUnencrypted) |
void |
setPortraitId(long portraitId)
Sets the portrait ID of this user.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user.
|
void |
setReminderQueryAnswer(String reminderQueryAnswer)
Sets the reminder query answer of this user.
|
void |
setReminderQueryQuestion(String reminderQueryQuestion)
Sets the reminder query question of this user.
|
void |
setRoleIds(long[] roleIds) |
void |
setScreenName(String screenName)
Sets the screen name of this user.
|
void |
setStatus(int status)
Sets the status of this user.
|
void |
setTeamIds(long[] teamIds) |
void |
setTimeZoneId(String timeZoneId)
Sets the time zone ID of this user.
|
void |
setType(int type)
Sets the type of this user.
|
void |
setUserGroupIds(long[] userGroupIds) |
void |
setUserId(long userId)
Sets the user ID of this user.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this user.
|
void |
setUuid(String uuid)
Sets the uuid of this user.
|
String |
toXmlString() |
protected UserWrapper |
wrap(User user) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
clone
public UserWrapper(User user)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<User>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<User>
public User cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<User>
cloneWithOriginalValues
in interface UserModel
public Contact fetchContact()
fetchContact
in interface User
public String fetchPortraitURL(ThemeDisplay themeDisplay)
fetchPortraitURL
in interface User
public List<Address> getAddresses()
getAddresses
in interface User
public boolean getAgreedToTermsOfUse()
getAgreedToTermsOfUse
in interface UserModel
public Date getBirthday() throws PortalException
getBirthday
in interface User
PortalException
public String getComments()
getComments
in interface UserModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface UserModel
public String getCompanyMx() throws PortalException
getCompanyMx
in interface User
PortalException
public Contact getContact() throws PortalException
getContact
in interface User
PortalException
Contact
public long getContactId()
getContactId
in interface UserModel
public Date getCreateDate()
getCreateDate
in interface StagedModel
getCreateDate
in interface UserModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<User>
getCtCollectionId
in interface UserModel
public String getDigest()
@Deprecated public String getDigest(String password)
public String getDisplayEmailAddress()
getDisplayEmailAddress
in interface User
public String getDisplayURL(ThemeDisplay themeDisplay) throws PortalException
The logic for the display URL to return is as follows:
getDisplayURL
in interface User
themeDisplay
- the theme displayPortalException
public String getDisplayURL(ThemeDisplay themeDisplay, boolean privateLayout) throws PortalException
The logic for the display URL to return is as follows:
privateLayout
is true
, return the URL
of the user's default intranet site home page.
getDisplayURL
in interface User
themeDisplay
- the theme displayprivateLayout
- whether to use the URL of the user's default
intranet (versus extranet) site home page, if no friendly URL is
available for the user's profilePortalException
public String getEmailAddress()
getEmailAddress
in interface UserModel
public List<EmailAddress> getEmailAddresses()
getEmailAddresses
in interface User
public boolean getEmailAddressVerified()
getEmailAddressVerified
in interface UserModel
public String getExternalReferenceCode()
getExternalReferenceCode
in interface ExternalReferenceCodeModel
getExternalReferenceCode
in interface UserModel
public long getFacebookId()
getFacebookId
in interface UserModel
public int getFailedLoginAttempts()
getFailedLoginAttempts
in interface UserModel
public boolean getFemale() throws PortalException
true
if the user is female.getFemale
in interface User
true
if the user is female; false
otherwisePortalException
public String getFirstName()
getFirstName
in interface UserModel
public String getFullName()
getFullName
in interface User
public String getFullName(boolean usePrefix, boolean useSuffix)
getFullName
in interface User
public String getGoogleUserId()
getGoogleUserId
in interface UserModel
public int getGraceLoginCount()
getGraceLoginCount
in interface UserModel
public String getGreeting()
getGreeting
in interface UserModel
public long getGroupId()
getGroupId
in interface User
public long[] getGroupIds()
getGroupIds
in interface User
public String getInitials()
getInitials
in interface User
public String getJobTitle()
getJobTitle
in interface UserModel
public String getLanguageId()
getLanguageId
in interface UserModel
public Date getLastFailedLoginDate()
getLastFailedLoginDate
in interface UserModel
public Date getLastLoginDate()
getLastLoginDate
in interface UserModel
public String getLastLoginIP()
getLastLoginIP
in interface UserModel
public String getLastName()
getLastName
in interface UserModel
public long getLdapServerId()
getLdapServerId
in interface UserModel
public boolean getLockout()
getLockout
in interface UserModel
public Date getLockoutDate()
getLockoutDate
in interface UserModel
public String getLogin() throws PortalException
getLogin
in interface User
PortalException
public Date getLoginDate()
getLoginDate
in interface UserModel
public String getLoginIP()
getLoginIP
in interface UserModel
public boolean getMale() throws PortalException
true
if the user is male.getMale
in interface User
true
if the user is male; false
otherwisePortalException
public String getMiddleName()
getMiddleName
in interface UserModel
public Date getModifiedDate()
getModifiedDate
in interface StagedModel
getModifiedDate
in interface UserModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserModel
public List<Group> getMySiteGroups() throws PortalException
getMySiteGroups
in interface User
PortalException
public List<Group> getMySiteGroups(int max) throws PortalException
getMySiteGroups
in interface User
PortalException
public List<Group> getMySiteGroups(String[] classNames, int max) throws PortalException
getMySiteGroups
in interface User
PortalException
public String getOpenId()
public long[] getOrganizationIds() throws PortalException
getOrganizationIds
in interface User
PortalException
public long[] getOrganizationIds(boolean includeAdministrative) throws PortalException
getOrganizationIds
in interface User
PortalException
public List<Organization> getOrganizations() throws PortalException
getOrganizations
in interface User
PortalException
public List<Organization> getOrganizations(boolean includeAdministrative) throws PortalException
getOrganizations
in interface User
PortalException
public String getOriginalEmailAddress()
getOriginalEmailAddress
in interface User
public String getPassword()
getPassword
in interface UserModel
public boolean getPasswordEncrypted()
getPasswordEncrypted
in interface UserModel
public boolean getPasswordModified()
getPasswordModified
in interface User
public Date getPasswordModifiedDate()
getPasswordModifiedDate
in interface UserModel
public PasswordPolicy getPasswordPolicy() throws PortalException
getPasswordPolicy
in interface User
PortalException
public boolean getPasswordReset()
getPasswordReset
in interface UserModel
public String getPasswordUnencrypted()
getPasswordUnencrypted
in interface User
public long getPortraitId()
getPortraitId
in interface UserModel
public String getPortraitURL(ThemeDisplay themeDisplay) throws PortalException
getPortraitURL
in interface User
PortalException
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<User>
getPrimaryKey
in interface UserModel
public int getPrivateLayoutsPageCount() throws PortalException
getPrivateLayoutsPageCount
in interface User
PortalException
public int getPublicLayoutsPageCount() throws PortalException
getPublicLayoutsPageCount
in interface User
PortalException
public String getReminderQueryAnswer()
getReminderQueryAnswer
in interface UserModel
public String getReminderQueryQuestion()
getReminderQueryQuestion
in interface UserModel
public Set<String> getReminderQueryQuestions() throws PortalException
getReminderQueryQuestions
in interface User
PortalException
public long[] getRoleIds()
getRoleIds
in interface User
public String getScreenName()
getScreenName
in interface UserModel
public List<Group> getSiteGroups() throws PortalException
getSiteGroups
in interface User
PortalException
public List<Group> getSiteGroups(boolean includeAdministrative) throws PortalException
getSiteGroups
in interface User
PortalException
public int getStatus()
public long[] getTeamIds()
getTeamIds
in interface User
public TimeZone getTimeZone()
getTimeZone
in interface User
public String getTimeZoneId()
getTimeZoneId
in interface UserModel
public int getType()
public Date getUnlockDate() throws PortalException
getUnlockDate
in interface User
PortalException
public Date getUnlockDate(PasswordPolicy passwordPolicy)
getUnlockDate
in interface User
public long[] getUserGroupIds()
getUserGroupIds
in interface User
public List<UserGroup> getUserGroups()
getUserGroups
in interface User
public long getUserId()
public String getUserUuid()
getUserUuid
in interface UserModel
public String getUuid()
getUuid
in interface StagedModel
getUuid
in interface UserModel
public List<Website> getWebsites()
getWebsites
in interface User
public boolean hasCompanyMx() throws PortalException
hasCompanyMx
in interface User
PortalException
public boolean hasCompanyMx(String emailAddress) throws PortalException
hasCompanyMx
in interface User
PortalException
public boolean hasMySites() throws PortalException
hasMySites
in interface User
PortalException
public boolean hasOrganization()
hasOrganization
in interface User
public boolean hasPrivateLayouts() throws PortalException
hasPrivateLayouts
in interface User
PortalException
public boolean hasPublicLayouts() throws PortalException
hasPublicLayouts
in interface User
PortalException
public boolean hasReminderQuery()
hasReminderQuery
in interface User
public boolean isAgreedToTermsOfUse()
true
if this user is agreed to terms of use.isAgreedToTermsOfUse
in interface UserModel
true
if this user is agreed to terms of use; false
otherwise@Deprecated public boolean isDefaultUser()
isGuestUser()
isDefaultUser
in interface User
public boolean isEmailAddressComplete()
isEmailAddressComplete
in interface User
public boolean isEmailAddressVerificationComplete()
isEmailAddressVerificationComplete
in interface User
public boolean isEmailAddressVerified()
true
if this user is email address verified.isEmailAddressVerified
in interface UserModel
true
if this user is email address verified; false
otherwisepublic boolean isFemale() throws PortalException
isFemale
in interface User
PortalException
public boolean isGuestUser()
isGuestUser
in interface User
public boolean isLockout()
true
if this user is lockout.public boolean isMale() throws PortalException
isMale
in interface User
PortalException
public boolean isOnDemandUser()
isOnDemandUser
in interface User
public boolean isPasswordEncrypted()
true
if this user is password encrypted.isPasswordEncrypted
in interface UserModel
true
if this user is password encrypted; false
otherwisepublic boolean isPasswordModified()
isPasswordModified
in interface User
public boolean isPasswordReset()
true
if this user is password reset.isPasswordReset
in interface UserModel
true
if this user is password reset; false
otherwisepublic boolean isPasswordResetRequired()
isPasswordResetRequired
in interface User
public boolean isReminderQueryComplete()
isReminderQueryComplete
in interface User
public boolean isServiceAccountUser()
isServiceAccountUser
in interface User
public boolean isSetupComplete()
isSetupComplete
in interface User
public boolean isTermsOfUseComplete()
isTermsOfUseComplete
in interface User
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
setAgreedToTermsOfUse
in interface UserModel
agreedToTermsOfUse
- the agreed to terms of use of this userpublic void setComments(String comments)
setComments
in interface UserModel
comments
- the comments of this userpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface UserModel
companyId
- the company ID of this userpublic void setContact(Contact contact)
setContact
in interface User
public void setContactId(long contactId)
setContactId
in interface UserModel
contactId
- the contact ID of this userpublic void setCreateDate(Date createDate)
setCreateDate
in interface StagedModel
setCreateDate
in interface UserModel
createDate
- the create date of this userpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<User>
setCtCollectionId
in interface UserModel
ctCollectionId
- the ct collection ID of this userpublic void setDigest(String digest)
public void setEmailAddress(String emailAddress)
setEmailAddress
in interface UserModel
emailAddress
- the email address of this userpublic void setEmailAddressVerified(boolean emailAddressVerified)
setEmailAddressVerified
in interface UserModel
emailAddressVerified
- the email address verified of this userpublic void setExternalReferenceCode(String externalReferenceCode)
setExternalReferenceCode
in interface ExternalReferenceCodeModel
setExternalReferenceCode
in interface UserModel
externalReferenceCode
- the external reference code of this userpublic void setFacebookId(long facebookId)
setFacebookId
in interface UserModel
facebookId
- the facebook ID of this userpublic void setFailedLoginAttempts(int failedLoginAttempts)
setFailedLoginAttempts
in interface UserModel
failedLoginAttempts
- the failed login attempts of this userpublic void setFirstName(String firstName)
setFirstName
in interface UserModel
firstName
- the first name of this userpublic void setGoogleUserId(String googleUserId)
setGoogleUserId
in interface UserModel
googleUserId
- the google user ID of this userpublic void setGraceLoginCount(int graceLoginCount)
setGraceLoginCount
in interface UserModel
graceLoginCount
- the grace login count of this userpublic void setGreeting(String greeting)
setGreeting
in interface UserModel
greeting
- the greeting of this userpublic void setGroupIds(long[] groupIds)
setGroupIds
in interface User
public void setJobTitle(String jobTitle)
setJobTitle
in interface UserModel
jobTitle
- the job title of this userpublic void setLanguageId(String languageId)
setLanguageId
in interface UserModel
languageId
- the language ID of this userpublic void setLastFailedLoginDate(Date lastFailedLoginDate)
setLastFailedLoginDate
in interface UserModel
lastFailedLoginDate
- the last failed login date of this userpublic void setLastLoginDate(Date lastLoginDate)
setLastLoginDate
in interface UserModel
lastLoginDate
- the last login date of this userpublic void setLastLoginIP(String lastLoginIP)
setLastLoginIP
in interface UserModel
lastLoginIP
- the last login ip of this userpublic void setLastName(String lastName)
setLastName
in interface UserModel
lastName
- the last name of this userpublic void setLdapServerId(long ldapServerId)
setLdapServerId
in interface UserModel
ldapServerId
- the ldap server ID of this userpublic void setLockout(boolean lockout)
setLockout
in interface UserModel
lockout
- the lockout of this userpublic void setLockoutDate(Date lockoutDate)
setLockoutDate
in interface UserModel
lockoutDate
- the lockout date of this userpublic void setLoginDate(Date loginDate)
setLoginDate
in interface UserModel
loginDate
- the login date of this userpublic void setLoginIP(String loginIP)
setLoginIP
in interface UserModel
loginIP
- the login ip of this userpublic void setMiddleName(String middleName)
setMiddleName
in interface UserModel
middleName
- the middle name of this userpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface StagedModel
setModifiedDate
in interface UserModel
modifiedDate
- the modified date of this userpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserModel
mvccVersion
- the mvcc version of this userpublic void setOpenId(String openId)
public void setOrganizationIds(long[] organizationIds)
setOrganizationIds
in interface User
public void setPassword(String password)
setPassword
in interface UserModel
password
- the password of this userpublic void setPasswordEncrypted(boolean passwordEncrypted)
setPasswordEncrypted
in interface UserModel
passwordEncrypted
- the password encrypted of this userpublic void setPasswordModified(boolean passwordModified)
setPasswordModified
in interface User
public void setPasswordModifiedDate(Date passwordModifiedDate)
setPasswordModifiedDate
in interface UserModel
passwordModifiedDate
- the password modified date of this userpublic void setPasswordReset(boolean passwordReset)
setPasswordReset
in interface UserModel
passwordReset
- the password reset of this userpublic void setPasswordUnencrypted(String passwordUnencrypted)
setPasswordUnencrypted
in interface User
public void setPortraitId(long portraitId)
setPortraitId
in interface UserModel
portraitId
- the portrait ID of this userpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<User>
setPrimaryKey
in interface UserModel
primaryKey
- the primary key of this userpublic void setReminderQueryAnswer(String reminderQueryAnswer)
setReminderQueryAnswer
in interface UserModel
reminderQueryAnswer
- the reminder query answer of this userpublic void setReminderQueryQuestion(String reminderQueryQuestion)
setReminderQueryQuestion
in interface UserModel
reminderQueryQuestion
- the reminder query question of this userpublic void setRoleIds(long[] roleIds)
setRoleIds
in interface User
public void setScreenName(String screenName)
setScreenName
in interface UserModel
screenName
- the screen name of this userpublic void setStatus(int status)
public void setTeamIds(long[] teamIds)
setTeamIds
in interface User
public void setTimeZoneId(String timeZoneId)
setTimeZoneId
in interface UserModel
timeZoneId
- the time zone ID of this userpublic void setType(int type)
public void setUserGroupIds(long[] userGroupIds)
setUserGroupIds
in interface User
public void setUserId(long userId)
public void setUserUuid(String userUuid)
setUserUuid
in interface UserModel
userUuid
- the user uuid of this userpublic void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface UserModel
uuid
- the uuid of this userpublic String toXmlString()
toXmlString
in interface UserModel
public Map<String,Function<User,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<User>
public Map<String,BiConsumer<User,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<User>
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected UserWrapper wrap(User user)
wrap
in class BaseModelWrapper<User>