@ProviderType public class UserWrapper extends java.lang.Object implements User, ModelWrapper<User>
This class is a wrapper for User.
User,
Serialized Form| Constructor and Description |
|---|
UserWrapper(User user) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRemotePreference(RemotePreference remotePreference) |
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(User user) |
boolean |
equals(java.lang.Object obj) |
java.util.List<Address> |
getAddresses() |
boolean |
getAgreedToTermsOfUse()
Returns the agreed to terms of use of this user.
|
java.util.Date |
getBirthday() |
java.lang.String |
getComments()
Returns the comments of this user.
|
long |
getCompanyId()
Returns the company ID of this user.
|
java.lang.String |
getCompanyMx() |
Contact |
getContact() |
long |
getContactId()
Returns the contact ID of this user.
|
java.util.Date |
getCreateDate()
Returns the create date of this user.
|
boolean |
getDefaultUser()
Returns the default user of this user.
|
java.lang.String |
getDigest()
Returns the digest of this user.
|
java.lang.String |
getDigest(java.lang.String password) |
java.lang.String |
getDisplayEmailAddress() |
java.lang.String |
getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath)
Deprecated.
As of 7.0.0, replaced by
getDisplayURL(ThemeDisplay) |
java.lang.String |
getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath,
boolean privateLayout)
Deprecated.
As of 7.0.0, replaced by
getDisplayURL(ThemeDisplay) |
java.lang.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.
|
java.lang.String |
getDisplayURL(ThemeDisplay themeDisplay,
boolean privateLayout)
Returns the user's display URL based on the theme display.
|
java.lang.String |
getEmailAddress()
Returns the email address of this user.
|
java.util.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. |
java.lang.String |
getFirstName()
Returns the first name of this user.
|
java.lang.String |
getFullName()
Returns the user's full name.
|
int |
getGraceLoginCount()
Returns the grace login count of this user.
|
java.lang.String |
getGreeting()
Returns the greeting of this user.
|
Group |
getGroup() |
long |
getGroupId() |
long[] |
getGroupIds() |
java.util.List<Group> |
getGroups() |
java.lang.String |
getJobTitle()
Returns the job title of this user.
|
java.lang.String |
getLanguageId()
Returns the language ID of this user.
|
java.util.Date |
getLastFailedLoginDate()
Returns the last failed login date of this user.
|
java.util.Date |
getLastLoginDate()
Returns the last login date of this user.
|
java.lang.String |
getLastLoginIP()
Returns the last login i p of this user.
|
java.lang.String |
getLastName()
Returns the last name of this user.
|
long |
getLdapServerId()
Returns the ldap server ID of this user.
|
java.util.Locale |
getLocale() |
boolean |
getLockout()
Returns the lockout of this user.
|
java.util.Date |
getLockoutDate()
Returns the lockout date of this user.
|
java.lang.String |
getLogin() |
java.util.Date |
getLoginDate()
Returns the login date of this user.
|
java.lang.String |
getLoginIP()
Returns the login i p of this user.
|
boolean |
getMale()
Returns
true if the user is male. |
java.lang.String |
getMiddleName()
Returns the middle name of this user.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this user.
|
java.util.List<Group> |
getMySiteGroups() |
java.util.List<Group> |
getMySiteGroups(boolean includeControlPanel,
int max) |
java.util.List<Group> |
getMySiteGroups(int max) |
java.util.List<Group> |
getMySiteGroups(java.lang.String[] classNames,
boolean includeControlPanel,
int max) |
java.util.List<Group> |
getMySiteGroups(java.lang.String[] classNames,
int max) |
java.util.List<Group> |
getMySites()
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups() |
java.util.List<Group> |
getMySites(boolean includeControlPanel,
int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(boolean,
int) |
java.util.List<Group> |
getMySites(int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(int) |
java.util.List<Group> |
getMySites(java.lang.String[] classNames,
boolean includeControlPanel,
int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(String[],
boolean, int) |
java.util.List<Group> |
getMySites(java.lang.String[] classNames,
int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(String[],
int) |
java.lang.String |
getOpenId()
Returns the open ID of this user.
|
long[] |
getOrganizationIds() |
long[] |
getOrganizationIds(boolean includeAdministrative) |
java.util.List<Organization> |
getOrganizations() |
java.util.List<Organization> |
getOrganizations(boolean includeAdministrative) |
java.lang.String |
getPassword()
Returns the password of this user.
|
boolean |
getPasswordEncrypted()
Returns the password encrypted of this user.
|
boolean |
getPasswordModified() |
java.util.Date |
getPasswordModifiedDate()
Returns the password modified date of this user.
|
PasswordPolicy |
getPasswordPolicy() |
boolean |
getPasswordReset()
Returns the password reset of this user.
|
java.lang.String |
getPasswordUnencrypted() |
java.util.List<Phone> |
getPhones() |
long |
getPortraitId()
Returns the portrait ID of this user.
|
java.lang.String |
getPortraitURL(ThemeDisplay themeDisplay) |
long |
getPrimaryKey()
Returns the primary key of this user.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getPrivateLayoutsPageCount() |
int |
getPublicLayoutsPageCount() |
java.lang.String |
getReminderQueryAnswer()
Returns the reminder query answer of this user.
|
java.lang.String |
getReminderQueryQuestion()
Returns the reminder query question of this user.
|
java.util.Set<java.lang.String> |
getReminderQueryQuestions() |
RemotePreference |
getRemotePreference(java.lang.String name) |
java.lang.Iterable<RemotePreference> |
getRemotePreferences() |
long[] |
getRoleIds() |
java.util.List<Role> |
getRoles() |
java.lang.String |
getScreenName()
Returns the screen name of this user.
|
java.util.List<Group> |
getSiteGroups() |
java.util.List<Group> |
getSiteGroups(boolean includeAdministrative) |
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this user.
|
long[] |
getTeamIds() |
java.util.List<Team> |
getTeams() |
java.util.TimeZone |
getTimeZone() |
java.lang.String |
getTimeZoneId()
Returns the time zone ID of this user.
|
long[] |
getUserGroupIds() |
java.util.List<UserGroup> |
getUserGroups() |
long |
getUserId()
Returns the user ID of this user.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this user.
|
java.lang.String |
getUuid()
Returns the uuid of this user.
|
java.util.List<Website> |
getWebsites() |
User |
getWrappedModel() |
User |
getWrappedUser()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
boolean |
hasCompanyMx() |
boolean |
hasCompanyMx(java.lang.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 |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFemale() |
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(java.lang.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(java.util.Date createDate)
Sets the create date of this user.
|
void |
setDefaultUser(boolean defaultUser)
Sets whether this user is default user.
|
void |
setDigest(java.lang.String digest)
Sets the digest of this user.
|
void |
setEmailAddress(java.lang.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(java.lang.String firstName)
Sets the first name of this user.
|
void |
setGraceLoginCount(int graceLoginCount)
Sets the grace login count of this user.
|
void |
setGreeting(java.lang.String greeting)
Sets the greeting of this user.
|
void |
setJobTitle(java.lang.String jobTitle)
Sets the job title of this user.
|
void |
setLanguageId(java.lang.String languageId)
Sets the language ID of this user.
|
void |
setLastFailedLoginDate(java.util.Date lastFailedLoginDate)
Sets the last failed login date of this user.
|
void |
setLastLoginDate(java.util.Date lastLoginDate)
Sets the last login date of this user.
|
void |
setLastLoginIP(java.lang.String lastLoginIP)
Sets the last login i p of this user.
|
void |
setLastName(java.lang.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(java.util.Date lockoutDate)
Sets the lockout date of this user.
|
void |
setLoginDate(java.util.Date loginDate)
Sets the login date of this user.
|
void |
setLoginIP(java.lang.String loginIP)
Sets the login i p of this user.
|
void |
setMiddleName(java.lang.String middleName)
Sets the middle name of this user.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this user.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setOpenId(java.lang.String openId)
Sets the open ID of this user.
|
void |
setPassword(java.lang.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(java.util.Date passwordModifiedDate)
Sets the password modified date of this user.
|
void |
setPasswordReset(boolean passwordReset)
Sets whether this user is password reset.
|
void |
setPasswordUnencrypted(java.lang.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(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setReminderQueryAnswer(java.lang.String reminderQueryAnswer)
Sets the reminder query answer of this user.
|
void |
setReminderQueryQuestion(java.lang.String reminderQueryQuestion)
Sets the reminder query question of this user.
|
void |
setScreenName(java.lang.String screenName)
Sets the screen name of this user.
|
void |
setStatus(int status)
Sets the status of this user.
|
void |
setTimeZoneId(java.lang.String timeZoneId)
Sets the time zone ID of this user.
|
void |
setUserId(long userId)
Sets the user ID of this user.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this user.
|
void |
setUuid(java.lang.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. |
java.lang.String |
toString() |
User |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public UserWrapper(User user)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<User>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<User>public long getPrimaryKey()
getPrimaryKey in interface UserModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface UserModelprimaryKey - the primary key of this userpublic java.lang.String getUuid()
getUuid in interface StagedModelgetUuid in interface UserModelpublic void setUuid(java.lang.String uuid)
setUuid in interface StagedModelsetUuid in interface UserModeluuid - the uuid of this userpublic long getUserId()
public void setUserId(long userId)
public java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface UserModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface UserModeluserUuid - the user uuid of this userpublic long getCompanyId()
getCompanyId in interface StagedModelgetCompanyId in interface UserModelpublic void setCompanyId(long companyId)
setCompanyId in interface StagedModelsetCompanyId in interface UserModelcompanyId - the company ID of this userpublic java.util.Date getCreateDate()
getCreateDate in interface StagedModelgetCreateDate in interface UserModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface StagedModelsetCreateDate in interface UserModelcreateDate - the create date of this userpublic java.util.Date getModifiedDate()
getModifiedDate in interface StagedModelgetModifiedDate in interface UserModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface StagedModelsetModifiedDate in interface UserModelmodifiedDate - the modified date of this userpublic boolean getDefaultUser()
getDefaultUser in interface UserModelpublic boolean isDefaultUser()
true if this user is default user.isDefaultUser in interface UserModeltrue if this user is default user; false otherwisepublic void setDefaultUser(boolean defaultUser)
setDefaultUser in interface UserModeldefaultUser - the default user of this userpublic long getContactId()
getContactId in interface UserModelpublic void setContactId(long contactId)
setContactId in interface UserModelcontactId - the contact ID of this userpublic java.lang.String getPassword()
getPassword in interface UserModelpublic void setPassword(java.lang.String password)
setPassword in interface UserModelpassword - the password of this userpublic boolean getPasswordEncrypted()
getPasswordEncrypted in interface UserModelpublic boolean isPasswordEncrypted()
true if this user is password encrypted.isPasswordEncrypted in interface UserModeltrue if this user is password encrypted; false otherwisepublic void setPasswordEncrypted(boolean passwordEncrypted)
setPasswordEncrypted in interface UserModelpasswordEncrypted - the password encrypted of this userpublic boolean getPasswordReset()
getPasswordReset in interface UserModelpublic boolean isPasswordReset()
true if this user is password reset.isPasswordReset in interface UserModeltrue if this user is password reset; false otherwisepublic void setPasswordReset(boolean passwordReset)
setPasswordReset in interface UserModelpasswordReset - the password reset of this userpublic java.util.Date getPasswordModifiedDate()
getPasswordModifiedDate in interface UserModelpublic void setPasswordModifiedDate(java.util.Date passwordModifiedDate)
setPasswordModifiedDate in interface UserModelpasswordModifiedDate - the password modified date of this userpublic java.lang.String getDigest()
public void setDigest(java.lang.String digest)
public java.lang.String getReminderQueryQuestion()
getReminderQueryQuestion in interface UserModelpublic void setReminderQueryQuestion(java.lang.String reminderQueryQuestion)
setReminderQueryQuestion in interface UserModelreminderQueryQuestion - the reminder query question of this userpublic java.lang.String getReminderQueryAnswer()
getReminderQueryAnswer in interface UserModelpublic void setReminderQueryAnswer(java.lang.String reminderQueryAnswer)
setReminderQueryAnswer in interface UserModelreminderQueryAnswer - the reminder query answer of this userpublic int getGraceLoginCount()
getGraceLoginCount in interface UserModelpublic void setGraceLoginCount(int graceLoginCount)
setGraceLoginCount in interface UserModelgraceLoginCount - the grace login count of this userpublic java.lang.String getScreenName()
getScreenName in interface UserModelpublic void setScreenName(java.lang.String screenName)
setScreenName in interface UserModelscreenName - the screen name of this userpublic java.lang.String getEmailAddress()
getEmailAddress in interface UserModelpublic void setEmailAddress(java.lang.String emailAddress)
setEmailAddress in interface UserModelemailAddress - the email address of this userpublic long getFacebookId()
getFacebookId in interface UserModelpublic void setFacebookId(long facebookId)
setFacebookId in interface UserModelfacebookId - the facebook ID of this userpublic long getLdapServerId()
getLdapServerId in interface UserModelpublic void setLdapServerId(long ldapServerId)
setLdapServerId in interface UserModelldapServerId - the ldap server ID of this userpublic java.lang.String getOpenId()
public void setOpenId(java.lang.String openId)
public long getPortraitId()
getPortraitId in interface UserModelpublic void setPortraitId(long portraitId)
setPortraitId in interface UserModelportraitId - the portrait ID of this userpublic java.lang.String getLanguageId()
getLanguageId in interface UserModelpublic void setLanguageId(java.lang.String languageId)
setLanguageId in interface UserModellanguageId - the language ID of this userpublic java.lang.String getTimeZoneId()
getTimeZoneId in interface UserModelpublic void setTimeZoneId(java.lang.String timeZoneId)
setTimeZoneId in interface UserModeltimeZoneId - the time zone ID of this userpublic java.lang.String getGreeting()
getGreeting in interface UserModelpublic void setGreeting(java.lang.String greeting)
setGreeting in interface UserModelgreeting - the greeting of this userpublic java.lang.String getComments()
getComments in interface UserModelpublic void setComments(java.lang.String comments)
setComments in interface UserModelcomments - the comments of this userpublic java.lang.String getFirstName()
getFirstName in interface UserModelpublic void setFirstName(java.lang.String firstName)
setFirstName in interface UserModelfirstName - the first name of this userpublic java.lang.String getMiddleName()
getMiddleName in interface UserModelpublic void setMiddleName(java.lang.String middleName)
setMiddleName in interface UserModelmiddleName - the middle name of this userpublic java.lang.String getLastName()
getLastName in interface UserModelpublic void setLastName(java.lang.String lastName)
setLastName in interface UserModellastName - the last name of this userpublic java.lang.String getJobTitle()
getJobTitle in interface UserModelpublic void setJobTitle(java.lang.String jobTitle)
setJobTitle in interface UserModeljobTitle - the job title of this userpublic java.util.Date getLoginDate()
getLoginDate in interface UserModelpublic void setLoginDate(java.util.Date loginDate)
setLoginDate in interface UserModelloginDate - the login date of this userpublic java.lang.String getLoginIP()
getLoginIP in interface UserModelpublic void setLoginIP(java.lang.String loginIP)
setLoginIP in interface UserModelloginIP - the login i p of this userpublic java.util.Date getLastLoginDate()
getLastLoginDate in interface UserModelpublic void setLastLoginDate(java.util.Date lastLoginDate)
setLastLoginDate in interface UserModellastLoginDate - the last login date of this userpublic java.lang.String getLastLoginIP()
getLastLoginIP in interface UserModelpublic void setLastLoginIP(java.lang.String lastLoginIP)
setLastLoginIP in interface UserModellastLoginIP - the last login i p of this userpublic java.util.Date getLastFailedLoginDate()
getLastFailedLoginDate in interface UserModelpublic void setLastFailedLoginDate(java.util.Date lastFailedLoginDate)
setLastFailedLoginDate in interface UserModellastFailedLoginDate - the last failed login date of this userpublic int getFailedLoginAttempts()
getFailedLoginAttempts in interface UserModelpublic void setFailedLoginAttempts(int failedLoginAttempts)
setFailedLoginAttempts in interface UserModelfailedLoginAttempts - the failed login attempts of this userpublic boolean getLockout()
getLockout in interface UserModelpublic boolean isLockout()
true if this user is lockout.public void setLockout(boolean lockout)
setLockout in interface UserModellockout - the lockout of this userpublic java.util.Date getLockoutDate()
getLockoutDate in interface UserModelpublic void setLockoutDate(java.util.Date lockoutDate)
setLockoutDate in interface UserModellockoutDate - the lockout date of this userpublic boolean getAgreedToTermsOfUse()
getAgreedToTermsOfUse in interface UserModelpublic 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 void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
setAgreedToTermsOfUse in interface UserModelagreedToTermsOfUse - the agreed to terms of use of this userpublic boolean getEmailAddressVerified()
getEmailAddressVerified in interface UserModelpublic boolean isEmailAddressVerified()
true if this user is email address verified.isEmailAddressVerified in interface UserModeltrue if this user is email address verified; false otherwisepublic void setEmailAddressVerified(boolean emailAddressVerified)
setEmailAddressVerified in interface UserModelemailAddressVerified - the email address verified of this userpublic int getStatus()
public void setStatus(int status)
public boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.public void setNew(boolean n)
BaseModelpublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<User>setCachedModel in interface UserModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<User>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface UserModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<User>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface UserModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<User>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface UserModelpublic 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 java.lang.Object clone()
BaseModelpublic int compareTo(User user)
public int hashCode()
public CacheModel<User> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<User>toCacheModel in interface UserModelpublic User toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<User>toEscapedModel in interface UserModelAutoEscapeBeanHandlerpublic User toUnescapedModel()
toUnescapedModel in interface BaseModel<User>toUnescapedModel in interface UserModelpublic java.lang.String toString()
public java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<User>toXmlString in interface UserModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic void addRemotePreference(RemotePreference remotePreference)
addRemotePreference in interface Userpublic java.util.List<Address> getAddresses() throws SystemException
getAddresses in interface UserSystemExceptionpublic java.util.Date getBirthday()
throws PortalException,
SystemException
getBirthday in interface UserPortalExceptionSystemExceptionpublic java.lang.String getCompanyMx()
throws PortalException,
SystemException
getCompanyMx in interface UserPortalExceptionSystemExceptionpublic Contact getContact() throws PortalException, SystemException
getContact in interface UserPortalExceptionSystemExceptionpublic java.lang.String getDigest(java.lang.String password)
public java.lang.String getDisplayEmailAddress()
getDisplayEmailAddress in interface Userpublic java.lang.String getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath)
throws PortalException,
SystemException
getDisplayURL(ThemeDisplay)The logic for the display URL to return is as follows:
getDisplayURL in interface UserportalURL - the portal's URLmainPath - the main pathPortalException - if a portal exception occurredSystemException - if a system exception occurredpublic java.lang.String getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath,
boolean privateLayout)
throws PortalException,
SystemException
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 profilePortalException - if a portal exception occurredSystemException - if a system exception occurredpublic java.lang.String getDisplayURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
The logic for the display URL to return is as follows:
getDisplayURL in interface UserthemeDisplay - the theme displayPortalException - if a portal exception occurredSystemException - if a system exception occurredpublic java.lang.String getDisplayURL(ThemeDisplay themeDisplay, boolean privateLayout) throws PortalException, SystemException
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 - if a portal exception occurredSystemException - if a system exception occurredpublic java.util.List<EmailAddress> getEmailAddresses() throws SystemException
getEmailAddresses in interface UserSystemException - if a system exception occurredpublic boolean getFemale()
throws PortalException,
SystemException
true if the user is female.public java.lang.String getFullName()
getFullName in interface Userpublic Group getGroup() throws PortalException, SystemException
getGroup in interface UserPortalExceptionSystemExceptionpublic long getGroupId()
throws PortalException,
SystemException
getGroupId in interface UserPortalExceptionSystemExceptionpublic long[] getGroupIds()
throws SystemException
getGroupIds in interface UserSystemExceptionpublic java.util.List<Group> getGroups() throws SystemException
getGroups in interface UserSystemExceptionpublic java.lang.String getLogin()
throws PortalException,
SystemException
getLogin in interface UserPortalExceptionSystemExceptionpublic boolean getMale()
throws PortalException,
SystemException
true if the user is male.public java.util.List<Group> getMySiteGroups() throws PortalException, SystemException
getMySiteGroups in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySiteGroups(boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySiteGroups(int max) throws PortalException, SystemException
getMySiteGroups in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySiteGroups(java.lang.String[] classNames, boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySiteGroups(java.lang.String[] classNames, int max) throws PortalException, SystemException
getMySiteGroups in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySites() throws PortalException, SystemException
getMySiteGroups()getMySites in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySites(boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups(boolean,
int)getMySites in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySites(int max) throws PortalException, SystemException
getMySiteGroups(int)getMySites in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySites(java.lang.String[] classNames, boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups(String[],
boolean, int)getMySites in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getMySites(java.lang.String[] classNames, int max) throws PortalException, SystemException
getMySiteGroups(String[],
int)getMySites in interface UserPortalExceptionSystemExceptionpublic long[] getOrganizationIds()
throws PortalException,
SystemException
getOrganizationIds in interface UserPortalExceptionSystemExceptionpublic long[] getOrganizationIds(boolean includeAdministrative)
throws PortalException,
SystemException
getOrganizationIds in interface UserPortalExceptionSystemExceptionpublic java.util.List<Organization> getOrganizations() throws PortalException, SystemException
getOrganizations in interface UserPortalExceptionSystemExceptionpublic java.util.List<Organization> getOrganizations(boolean includeAdministrative) throws PortalException, SystemException
getOrganizations in interface UserPortalExceptionSystemExceptionpublic boolean getPasswordModified()
getPasswordModified in interface Userpublic PasswordPolicy getPasswordPolicy() throws PortalException, SystemException
getPasswordPolicy in interface UserPortalExceptionSystemExceptionpublic java.lang.String getPasswordUnencrypted()
getPasswordUnencrypted in interface Userpublic java.util.List<Phone> getPhones() throws SystemException
getPhones in interface UserSystemExceptionpublic java.lang.String getPortraitURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
getPortraitURL in interface UserPortalExceptionSystemExceptionpublic int getPrivateLayoutsPageCount()
throws PortalException,
SystemException
getPrivateLayoutsPageCount in interface UserPortalExceptionSystemExceptionpublic int getPublicLayoutsPageCount()
throws PortalException,
SystemException
getPublicLayoutsPageCount in interface UserPortalExceptionSystemExceptionpublic java.util.Set<java.lang.String> getReminderQueryQuestions()
throws PortalException,
SystemException
getReminderQueryQuestions in interface UserPortalExceptionSystemExceptionpublic RemotePreference getRemotePreference(java.lang.String name)
getRemotePreference in interface Userpublic java.lang.Iterable<RemotePreference> getRemotePreferences()
getRemotePreferences in interface Userpublic long[] getRoleIds()
throws SystemException
getRoleIds in interface UserSystemExceptionpublic java.util.List<Role> getRoles() throws SystemException
getRoles in interface UserSystemExceptionpublic java.util.List<Group> getSiteGroups() throws PortalException, SystemException
getSiteGroups in interface UserPortalExceptionSystemExceptionpublic java.util.List<Group> getSiteGroups(boolean includeAdministrative) throws PortalException, SystemException
getSiteGroups in interface UserPortalExceptionSystemExceptionpublic long[] getTeamIds()
throws SystemException
getTeamIds in interface UserSystemExceptionpublic java.util.List<Team> getTeams() throws SystemException
getTeams in interface UserSystemExceptionpublic java.util.TimeZone getTimeZone()
getTimeZone in interface Userpublic long[] getUserGroupIds()
throws SystemException
getUserGroupIds in interface UserSystemExceptionpublic java.util.List<UserGroup> getUserGroups() throws SystemException
getUserGroups in interface UserSystemExceptionpublic java.util.List<Website> getWebsites() throws SystemException
getWebsites in interface UserSystemExceptionpublic boolean hasCompanyMx()
throws PortalException,
SystemException
hasCompanyMx in interface UserPortalExceptionSystemExceptionpublic boolean hasCompanyMx(java.lang.String emailAddress)
throws PortalException,
SystemException
hasCompanyMx in interface UserPortalExceptionSystemExceptionpublic boolean hasMySites()
throws PortalException,
SystemException
hasMySites in interface UserPortalExceptionSystemExceptionpublic boolean hasOrganization()
throws PortalException,
SystemException
hasOrganization in interface UserPortalExceptionSystemExceptionpublic boolean hasPrivateLayouts()
throws PortalException,
SystemException
hasPrivateLayouts in interface UserPortalExceptionSystemExceptionpublic boolean hasPublicLayouts()
throws PortalException,
SystemException
hasPublicLayouts in interface UserPortalExceptionSystemExceptionpublic boolean hasReminderQuery()
hasReminderQuery in interface Userpublic boolean isEmailAddressComplete()
isEmailAddressComplete in interface Userpublic boolean isEmailAddressVerificationComplete()
isEmailAddressVerificationComplete in interface Userpublic boolean isFemale()
throws PortalException,
SystemException
isFemale in interface UserPortalExceptionSystemExceptionpublic boolean isMale()
throws PortalException,
SystemException
isMale in interface UserPortalExceptionSystemExceptionpublic boolean isPasswordModified()
isPasswordModified in interface Userpublic boolean isReminderQueryComplete()
isReminderQueryComplete in interface Userpublic boolean isSetupComplete()
isSetupComplete in interface Userpublic boolean isTermsOfUseComplete()
isTermsOfUseComplete in interface Userpublic void setPasswordModified(boolean passwordModified)
setPasswordModified in interface Userpublic void setPasswordUnencrypted(java.lang.String passwordUnencrypted)
setPasswordUnencrypted in interface Userpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic User getWrappedUser()
getWrappedModel()public User getWrappedModel()
getWrappedModel in interface ModelWrapper<User>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<User>