@ProviderType public class UserWrapper extends Object implements User, ModelWrapper<User>
This class is a wrapper for User.
User,
Serialized FormUSER_ID_ACCESSOR| Constructor and Description |
|---|
UserWrapper(User user) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRemotePreference(RemotePreference remotePreference) |
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(User user) |
boolean |
equals(Object obj) |
Contact |
fetchContact() |
List<Address> |
getAddresses()
Returns the user's addresses.
|
boolean |
getAgreedToTermsOfUse()
Returns the agreed to terms of use of this user.
|
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.
|
boolean |
getDefaultUser()
Returns the default user of this user.
|
String |
getDigest()
Returns the digest of this user.
|
String |
getDigest(String password)
Returns a digest for the user, incorporating the password.
|
String |
getDisplayEmailAddress()
Returns the user's primary email address, or a blank string if the
address is fake.
|
String |
getDisplayURL(String portalURL,
String mainPath)
Deprecated.
As of 7.0.0, replaced by
getDisplayURL(ThemeDisplay) |
String |
getDisplayURL(String portalURL,
String mainPath,
boolean privateLayout)
Deprecated.
As of 7.0.0, replaced by
getDisplayURL(ThemeDisplay) |
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
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 i p 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 i p 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() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
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.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
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() |
RemotePreference |
getRemotePreference(String name) |
Iterable<RemotePreference> |
getRemotePreferences() |
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.
|
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() |
User |
getWrappedModel() |
boolean |
hasCompanyMx() |
boolean |
hasCompanyMx(String emailAddress) |
int |
hashCode() |
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 |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDefaultUser()
Returns
true if this user is default user. |
boolean |
isEmailAddressComplete() |
boolean |
isEmailAddressVerificationComplete() |
boolean |
isEmailAddressVerified()
Returns
true if this user is email address verified. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFemale() |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isLockout()
Returns
true if this user is lockout. |
boolean |
isMale() |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPasswordEncrypted()
Returns
true if this user is password encrypted. |
boolean |
isPasswordModified() |
boolean |
isPasswordReset()
Returns
true if this user is password reset. |
boolean |
isReminderQueryComplete() |
boolean |
isSetupComplete() |
boolean |
isTermsOfUseComplete() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
Sets whether this user is agreed to terms of use.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setComments(String comments)
Sets the comments of this user.
|
void |
setCompanyId(long companyId)
Sets the company ID of this user.
|
void |
setContactId(long contactId)
Sets the contact ID of this user.
|
void |
setCreateDate(Date createDate)
Sets the create date of this user.
|
void |
setDefaultUser(boolean defaultUser)
Sets whether this user is default 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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 |
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 i p 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 i p 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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setOpenId(String openId)
Sets the open ID of this user.
|
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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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 |
setScreenName(String screenName)
Sets the screen name of this user.
|
void |
setStatus(int status)
Sets the status of this user.
|
void |
setTimeZoneId(String timeZoneId)
Sets the time zone ID of this user.
|
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.
|
CacheModel<User> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
User |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
User |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserWrapper(User user)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<User>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<User>public CacheModel<User> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<User>toCacheModel in interface UserModelpublic Contact fetchContact()
fetchContact in interface Userpublic Contact getContact() throws PortalException
getContact in interface UserPortalExceptionContactpublic PasswordPolicy getPasswordPolicy() throws PortalException
getPasswordPolicy in interface UserPortalExceptionpublic User toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<User>toEscapedModel in interface UserModelAutoEscapeBeanHandlerpublic User toUnescapedModel()
toUnescapedModel in interface BaseModel<User>toUnescapedModel in interface UserModelpublic boolean getAgreedToTermsOfUse()
getAgreedToTermsOfUse in interface UserModelpublic boolean getDefaultUser()
getDefaultUser in interface UserModelpublic boolean getEmailAddressVerified()
getEmailAddressVerified in interface UserModelpublic boolean getFemale()
throws PortalException
true if the user is female.getFemale in interface Usertrue if the user is female; false
otherwisePortalExceptionpublic boolean getLockout()
getLockout in interface UserModelpublic boolean getMale()
throws PortalException
true if the user is male.getMale in interface Usertrue if the user is male; false
otherwisePortalExceptionpublic boolean getPasswordEncrypted()
getPasswordEncrypted in interface UserModelpublic boolean getPasswordModified()
getPasswordModified in interface Userpublic boolean getPasswordReset()
getPasswordReset in interface UserModelpublic boolean hasCompanyMx()
throws PortalException
hasCompanyMx in interface UserPortalExceptionpublic boolean hasCompanyMx(String emailAddress) throws PortalException
hasCompanyMx in interface UserPortalExceptionpublic boolean hasMySites()
throws PortalException
hasMySites in interface UserPortalExceptionpublic boolean hasOrganization()
hasOrganization in interface Userpublic boolean hasPrivateLayouts()
throws PortalException
hasPrivateLayouts in interface UserPortalExceptionpublic boolean hasPublicLayouts()
throws PortalException
hasPublicLayouts in interface UserPortalExceptionpublic boolean hasReminderQuery()
hasReminderQuery in interface Userpublic boolean isAgreedToTermsOfUse()
true if this user is agreed to terms of use.isAgreedToTermsOfUse in interface UserModeltrue if this user is agreed to terms of use; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<User>isCachedModel in interface UserModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isDefaultUser()
true if this user is default user.isDefaultUser in interface UserModeltrue if this user is default user; false otherwisepublic boolean isEmailAddressComplete()
isEmailAddressComplete in interface Userpublic boolean isEmailAddressVerificationComplete()
isEmailAddressVerificationComplete in interface Userpublic boolean isEmailAddressVerified()
true if this user is email address verified.isEmailAddressVerified in interface UserModeltrue if this user is email address verified; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<User>isEscapedModel in interface UserModeltrue if this model instance is escaped;
false otherwisepublic boolean isFemale()
throws PortalException
isFemale in interface UserPortalExceptionpublic boolean isLockout()
true if this user is lockout.public boolean isMale()
throws PortalException
isMale in interface UserPortalExceptionpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.public boolean isPasswordEncrypted()
true if this user is password encrypted.isPasswordEncrypted in interface UserModeltrue if this user is password encrypted; false otherwisepublic boolean isPasswordModified()
isPasswordModified in interface Userpublic boolean isPasswordReset()
true if this user is password reset.isPasswordReset in interface UserModeltrue if this user is password reset; false otherwisepublic boolean isReminderQueryComplete()
isReminderQueryComplete in interface Userpublic boolean isSetupComplete()
isSetupComplete in interface Userpublic boolean isTermsOfUseComplete()
isTermsOfUseComplete in interface Userpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<User>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserModelpublic RemotePreference getRemotePreference(String name)
getRemotePreference in interface Userpublic int compareTo(User user)
compareTo in interface UserModelcompareTo in interface Comparable<User>public int getFailedLoginAttempts()
getFailedLoginAttempts in interface UserModelpublic int getGraceLoginCount()
getGraceLoginCount in interface UserModelpublic int getPrivateLayoutsPageCount()
throws PortalException
getPrivateLayoutsPageCount in interface UserPortalExceptionpublic int getPublicLayoutsPageCount()
throws PortalException
getPublicLayoutsPageCount in interface UserPortalExceptionpublic int getStatus()
public int hashCode()
public Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<User>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserModelpublic Iterable<RemotePreference> getRemotePreferences()
getRemotePreferences in interface Userpublic Object clone()
BaseModelpublic String getComments()
getComments in interface UserModelpublic String getCompanyMx() throws PortalException
getCompanyMx in interface UserPortalExceptionpublic String getDigest()
public String getDigest(String password)
public String getDisplayEmailAddress()
getDisplayEmailAddress in interface Userpublic String getDisplayURL(ThemeDisplay themeDisplay) throws PortalException
The logic for the display URL to return is as follows:
getDisplayURL in interface UserthemeDisplay - the theme displayPortalExceptionpublic 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 UserthemeDisplay - 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@Deprecated public String getDisplayURL(String portalURL, String mainPath) throws PortalException
getDisplayURL(ThemeDisplay)The logic for the display URL to return is as follows:
getDisplayURL in interface UserportalURL - the portal's URLmainPath - the main pathPortalException@Deprecated public String getDisplayURL(String portalURL, String mainPath, boolean privateLayout) throws PortalException
getDisplayURL(ThemeDisplay)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 UserportalURL - the portal's URLmainPath - the main pathprivateLayout - 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 profilePortalExceptionpublic String getEmailAddress()
getEmailAddress in interface UserModelpublic String getFirstName()
getFirstName in interface UserModelpublic String getFullName()
getFullName in interface Userpublic String getFullName(boolean usePrefix, boolean useSuffix)
getFullName in interface Userpublic String getGoogleUserId()
getGoogleUserId in interface UserModelpublic String getGreeting()
getGreeting in interface UserModelpublic String getInitials()
getInitials in interface Userpublic String getJobTitle()
getJobTitle in interface UserModelpublic String getLanguageId()
getLanguageId in interface UserModelpublic String getLastLoginIP()
getLastLoginIP in interface UserModelpublic String getLastName()
getLastName in interface UserModelpublic String getLogin() throws PortalException
getLogin in interface UserPortalExceptionpublic String getLoginIP()
getLoginIP in interface UserModelpublic String getMiddleName()
getMiddleName in interface UserModelpublic String getOpenId()
public String getOriginalEmailAddress()
getOriginalEmailAddress in interface Userpublic String getPassword()
getPassword in interface UserModelpublic String getPasswordUnencrypted()
getPasswordUnencrypted in interface Userpublic String getPortraitURL(ThemeDisplay themeDisplay) throws PortalException
getPortraitURL in interface UserPortalExceptionpublic String getReminderQueryAnswer()
getReminderQueryAnswer in interface UserModelpublic String getReminderQueryQuestion()
getReminderQueryQuestion in interface UserModelpublic String getScreenName()
getScreenName in interface UserModelpublic String getTimeZoneId()
getTimeZoneId in interface UserModelpublic String getUserUuid()
getUserUuid in interface UserModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface UserModelpublic String toString()
public String toXmlString()
BaseModeltoXmlString in interface BaseModel<User>toXmlString in interface UserModelpublic Date getBirthday() throws PortalException
getBirthday in interface UserPortalExceptionpublic Date getCreateDate()
getCreateDate in interface StagedModelgetCreateDate in interface UserModelpublic Date getLastFailedLoginDate()
getLastFailedLoginDate in interface UserModelpublic Date getLastLoginDate()
getLastLoginDate in interface UserModelpublic Date getLockoutDate()
getLockoutDate in interface UserModelpublic Date getLoginDate()
getLoginDate in interface UserModelpublic Date getModifiedDate()
getModifiedDate in interface StagedModelgetModifiedDate in interface UserModelpublic Date getPasswordModifiedDate()
getPasswordModifiedDate in interface UserModelpublic Date getUnlockDate() throws PortalException
getUnlockDate in interface UserPortalExceptionpublic Date getUnlockDate(PasswordPolicy passwordPolicy)
getUnlockDate in interface Userpublic List<Address> getAddresses()
getAddresses in interface Userpublic List<EmailAddress> getEmailAddresses()
getEmailAddresses in interface Userpublic List<Group> getMySiteGroups() throws PortalException
getMySiteGroups in interface UserPortalExceptionpublic List<Group> getMySiteGroups(int max) throws PortalException
getMySiteGroups in interface UserPortalExceptionpublic List<Group> getMySiteGroups(String[] classNames, int max) throws PortalException
getMySiteGroups in interface UserPortalExceptionpublic List<Organization> getOrganizations() throws PortalException
getOrganizations in interface UserPortalExceptionpublic List<Organization> getOrganizations(boolean includeAdministrative) throws PortalException
getOrganizations in interface UserPortalExceptionpublic List<Group> getSiteGroups() throws PortalException
getSiteGroups in interface UserPortalExceptionpublic List<Group> getSiteGroups(boolean includeAdministrative) throws PortalException
getSiteGroups in interface UserPortalExceptionpublic List<UserGroup> getUserGroups()
getUserGroups in interface Userpublic List<Website> getWebsites()
getWebsites in interface Userpublic Set<String> getReminderQueryQuestions() throws PortalException
getReminderQueryQuestions in interface UserPortalExceptionpublic TimeZone getTimeZone()
getTimeZone in interface Userpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface UserModelpublic long getContactId()
getContactId in interface UserModelpublic long getFacebookId()
getFacebookId in interface UserModelpublic long getGroupId()
getGroupId in interface Userpublic long getLdapServerId()
getLdapServerId in interface UserModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserModelpublic long getPortraitId()
getPortraitId in interface UserModelpublic long getPrimaryKey()
getPrimaryKey in interface UserModelpublic long getUserId()
public long[] getGroupIds()
getGroupIds in interface Userpublic long[] getOrganizationIds()
throws PortalException
getOrganizationIds in interface UserPortalExceptionpublic long[] getOrganizationIds(boolean includeAdministrative)
throws PortalException
getOrganizationIds in interface UserPortalExceptionpublic long[] getRoleIds()
getRoleIds in interface Userpublic long[] getTeamIds()
getTeamIds in interface Userpublic long[] getUserGroupIds()
getUserGroupIds in interface Userpublic void addRemotePreference(RemotePreference remotePreference)
addRemotePreference in interface Userpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
setAgreedToTermsOfUse in interface UserModelagreedToTermsOfUse - the agreed to terms of use of this userpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<User>setCachedModel in interface UserModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setComments(String comments)
setComments in interface UserModelcomments - the comments of this userpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface UserModelcompanyId - the company ID of this userpublic void setContactId(long contactId)
setContactId in interface UserModelcontactId - the contact ID of this userpublic void setCreateDate(Date createDate)
setCreateDate in interface StagedModelsetCreateDate in interface UserModelcreateDate - the create date of this userpublic void setDefaultUser(boolean defaultUser)
setDefaultUser in interface UserModeldefaultUser - the default user of this userpublic void setDigest(String digest)
public void setEmailAddress(String emailAddress)
setEmailAddress in interface UserModelemailAddress - the email address of this userpublic void setEmailAddressVerified(boolean emailAddressVerified)
setEmailAddressVerified in interface UserModelemailAddressVerified - the email address verified of this userpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<User>setExpandoBridgeAttributes in interface UserModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<User>setExpandoBridgeAttributes in interface UserModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<User>setExpandoBridgeAttributes in interface UserModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setFacebookId(long facebookId)
setFacebookId in interface UserModelfacebookId - the facebook ID of this userpublic void setFailedLoginAttempts(int failedLoginAttempts)
setFailedLoginAttempts in interface UserModelfailedLoginAttempts - the failed login attempts of this userpublic void setFirstName(String firstName)
setFirstName in interface UserModelfirstName - the first name of this userpublic void setGoogleUserId(String googleUserId)
setGoogleUserId in interface UserModelgoogleUserId - the google user ID of this userpublic void setGraceLoginCount(int graceLoginCount)
setGraceLoginCount in interface UserModelgraceLoginCount - the grace login count of this userpublic void setGreeting(String greeting)
setGreeting in interface UserModelgreeting - the greeting of this userpublic void setJobTitle(String jobTitle)
setJobTitle in interface UserModeljobTitle - the job title of this userpublic void setLanguageId(String languageId)
setLanguageId in interface UserModellanguageId - the language ID of this userpublic void setLastFailedLoginDate(Date lastFailedLoginDate)
setLastFailedLoginDate in interface UserModellastFailedLoginDate - the last failed login date of this userpublic void setLastLoginDate(Date lastLoginDate)
setLastLoginDate in interface UserModellastLoginDate - the last login date of this userpublic void setLastLoginIP(String lastLoginIP)
setLastLoginIP in interface UserModellastLoginIP - the last login i p of this userpublic void setLastName(String lastName)
setLastName in interface UserModellastName - the last name of this userpublic void setLdapServerId(long ldapServerId)
setLdapServerId in interface UserModelldapServerId - the ldap server ID of this userpublic void setLockout(boolean lockout)
setLockout in interface UserModellockout - the lockout of this userpublic void setLockoutDate(Date lockoutDate)
setLockoutDate in interface UserModellockoutDate - the lockout date of this userpublic void setLoginDate(Date loginDate)
setLoginDate in interface UserModelloginDate - the login date of this userpublic void setLoginIP(String loginIP)
setLoginIP in interface UserModelloginIP - the login i p of this userpublic void setMiddleName(String middleName)
setMiddleName in interface UserModelmiddleName - the middle name of this userpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface StagedModelsetModifiedDate in interface UserModelmodifiedDate - the modified date of this userpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserModelmvccVersion - the mvcc version of this userpublic void setNew(boolean n)
BaseModelpublic void setOpenId(String openId)
public void setPassword(String password)
setPassword in interface UserModelpassword - the password of this userpublic void setPasswordEncrypted(boolean passwordEncrypted)
setPasswordEncrypted in interface UserModelpasswordEncrypted - the password encrypted of this userpublic void setPasswordModified(boolean passwordModified)
setPasswordModified in interface Userpublic void setPasswordModifiedDate(Date passwordModifiedDate)
setPasswordModifiedDate in interface UserModelpasswordModifiedDate - the password modified date of this userpublic void setPasswordReset(boolean passwordReset)
setPasswordReset in interface UserModelpasswordReset - the password reset of this userpublic void setPasswordUnencrypted(String passwordUnencrypted)
setPasswordUnencrypted in interface Userpublic void setPortraitId(long portraitId)
setPortraitId in interface UserModelportraitId - the portrait ID of this userpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserModelprimaryKey - the primary key of this userpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<User>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserModelprimaryKeyObj - the primary key of this model instancepublic void setReminderQueryAnswer(String reminderQueryAnswer)
setReminderQueryAnswer in interface UserModelreminderQueryAnswer - the reminder query answer of this userpublic void setReminderQueryQuestion(String reminderQueryQuestion)
setReminderQueryQuestion in interface UserModelreminderQueryQuestion - the reminder query question of this userpublic void setScreenName(String screenName)
setScreenName in interface UserModelscreenName - the screen name of this userpublic void setStatus(int status)
public void setTimeZoneId(String timeZoneId)
setTimeZoneId in interface UserModeltimeZoneId - the time zone ID of this userpublic void setUserId(long userId)
public void setUserUuid(String userUuid)
setUserUuid in interface UserModeluserUuid - the user uuid of this userpublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface UserModeluuid - the uuid of this userpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic User getWrappedModel()
getWrappedModel in interface ModelWrapper<User>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<User>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<User>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<User>