|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.UserWrapper
@ProviderType public class UserWrapper
This class is a wrapper for User
.
User
,
Serialized FormConstructor Summary | |
---|---|
UserWrapper(User user)
|
Method Summary | |
---|---|
void |
addRemotePreference(RemotePreference remotePreference)
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(User user)
|
boolean |
equals(Object obj)
|
List<Address> |
getAddresses()
|
boolean |
getAgreedToTermsOfUse()
Returns the agreed to terms of use of this user. |
Date |
getBirthday()
|
String |
getComments()
Returns the comments of this user. |
long |
getCompanyId()
Returns the company ID of this user. |
String |
getCompanyMx()
|
Contact |
getContact()
|
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)
|
String |
getDisplayEmailAddress()
|
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. |
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 |
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. |
List<Group> |
getMySiteGroups()
|
List<Group> |
getMySiteGroups(boolean includeControlPanel,
int max)
|
List<Group> |
getMySiteGroups(int max)
|
List<Group> |
getMySiteGroups(String[] classNames,
boolean includeControlPanel,
int max)
|
List<Group> |
getMySiteGroups(String[] classNames,
int max)
|
List<Group> |
getMySites()
Deprecated. As of 6.2.0, replaced by getMySiteGroups() |
List<Group> |
getMySites(boolean includeControlPanel,
int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(boolean,
int) |
List<Group> |
getMySites(int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(int) |
List<Group> |
getMySites(String[] classNames,
boolean includeControlPanel,
int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(String[],
boolean, int) |
List<Group> |
getMySites(String[] classNames,
int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(String[],
int) |
String |
getOpenId()
Returns the open ID of this user. |
long[] |
getOrganizationIds()
|
long[] |
getOrganizationIds(boolean includeAdministrative)
|
List<Organization> |
getOrganizations()
|
List<Organization> |
getOrganizations(boolean includeAdministrative)
|
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. |
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()
|
User |
getWrappedUser()
Deprecated. As of 6.1.0, replaced by 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 |
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(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 |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserWrapper(User user)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<User>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<User>
public long getPrimaryKey()
getPrimaryKey
in interface UserModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface UserModel
primaryKey
- the primary key of this userpublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface UserModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface UserModel
uuid
- the uuid of this userpublic long getUserId()
getUserId
in interface UserModel
public void setUserId(long userId)
setUserId
in interface UserModel
userId
- the user ID of this userpublic String getUserUuid() throws SystemException
getUserUuid
in interface UserModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface UserModel
userUuid
- the user uuid of this userpublic long getCompanyId()
getCompanyId
in interface StagedModel
getCompanyId
in interface UserModel
public void setCompanyId(long companyId)
setCompanyId
in interface StagedModel
setCompanyId
in interface UserModel
companyId
- the company ID of this userpublic Date getCreateDate()
getCreateDate
in interface StagedModel
getCreateDate
in interface UserModel
public void setCreateDate(Date createDate)
setCreateDate
in interface StagedModel
setCreateDate
in interface UserModel
createDate
- the create date of this userpublic Date getModifiedDate()
getModifiedDate
in interface StagedModel
getModifiedDate
in interface UserModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface StagedModel
setModifiedDate
in interface UserModel
modifiedDate
- the modified date of this userpublic boolean getDefaultUser()
getDefaultUser
in interface UserModel
public boolean isDefaultUser()
true
if this user is default user.
isDefaultUser
in interface UserModel
true
if this user is default user; false
otherwisepublic void setDefaultUser(boolean defaultUser)
setDefaultUser
in interface UserModel
defaultUser
- the default user of this userpublic long getContactId()
getContactId
in interface UserModel
public void setContactId(long contactId)
setContactId
in interface UserModel
contactId
- the contact ID of this userpublic String getPassword()
getPassword
in interface UserModel
public void setPassword(String password)
setPassword
in interface UserModel
password
- the password of this userpublic boolean getPasswordEncrypted()
getPasswordEncrypted
in interface UserModel
public boolean isPasswordEncrypted()
true
if this user is password encrypted.
isPasswordEncrypted
in interface UserModel
true
if this user is password encrypted; false
otherwisepublic void setPasswordEncrypted(boolean passwordEncrypted)
setPasswordEncrypted
in interface UserModel
passwordEncrypted
- the password encrypted of this userpublic boolean getPasswordReset()
getPasswordReset
in interface UserModel
public boolean isPasswordReset()
true
if this user is password reset.
isPasswordReset
in interface UserModel
true
if this user is password reset; false
otherwisepublic void setPasswordReset(boolean passwordReset)
setPasswordReset
in interface UserModel
passwordReset
- the password reset of this userpublic Date getPasswordModifiedDate()
getPasswordModifiedDate
in interface UserModel
public void setPasswordModifiedDate(Date passwordModifiedDate)
setPasswordModifiedDate
in interface UserModel
passwordModifiedDate
- the password modified date of this userpublic String getDigest()
getDigest
in interface UserModel
public void setDigest(String digest)
setDigest
in interface UserModel
digest
- the digest of this userpublic String getReminderQueryQuestion()
getReminderQueryQuestion
in interface UserModel
public void setReminderQueryQuestion(String reminderQueryQuestion)
setReminderQueryQuestion
in interface UserModel
reminderQueryQuestion
- the reminder query question of this userpublic String getReminderQueryAnswer()
getReminderQueryAnswer
in interface UserModel
public void setReminderQueryAnswer(String reminderQueryAnswer)
setReminderQueryAnswer
in interface UserModel
reminderQueryAnswer
- the reminder query answer of this userpublic int getGraceLoginCount()
getGraceLoginCount
in interface UserModel
public void setGraceLoginCount(int graceLoginCount)
setGraceLoginCount
in interface UserModel
graceLoginCount
- the grace login count of this userpublic String getScreenName()
getScreenName
in interface UserModel
public void setScreenName(String screenName)
setScreenName
in interface UserModel
screenName
- the screen name of this userpublic String getEmailAddress()
getEmailAddress
in interface UserModel
public void setEmailAddress(String emailAddress)
setEmailAddress
in interface UserModel
emailAddress
- the email address of this userpublic long getFacebookId()
getFacebookId
in interface UserModel
public void setFacebookId(long facebookId)
setFacebookId
in interface UserModel
facebookId
- the facebook ID of this userpublic long getLdapServerId()
getLdapServerId
in interface UserModel
public void setLdapServerId(long ldapServerId)
setLdapServerId
in interface UserModel
ldapServerId
- the ldap server ID of this userpublic String getOpenId()
getOpenId
in interface UserModel
public void setOpenId(String openId)
setOpenId
in interface UserModel
openId
- the open ID of this userpublic long getPortraitId()
getPortraitId
in interface UserModel
public void setPortraitId(long portraitId)
setPortraitId
in interface UserModel
portraitId
- the portrait ID of this userpublic String getLanguageId()
getLanguageId
in interface UserModel
public void setLanguageId(String languageId)
setLanguageId
in interface UserModel
languageId
- the language ID of this userpublic String getTimeZoneId()
getTimeZoneId
in interface UserModel
public void setTimeZoneId(String timeZoneId)
setTimeZoneId
in interface UserModel
timeZoneId
- the time zone ID of this userpublic String getGreeting()
getGreeting
in interface UserModel
public void setGreeting(String greeting)
setGreeting
in interface UserModel
greeting
- the greeting of this userpublic String getComments()
getComments
in interface UserModel
public void setComments(String comments)
setComments
in interface UserModel
comments
- the comments of this userpublic String getFirstName()
getFirstName
in interface UserModel
public void setFirstName(String firstName)
setFirstName
in interface UserModel
firstName
- the first name of this userpublic String getMiddleName()
getMiddleName
in interface UserModel
public void setMiddleName(String middleName)
setMiddleName
in interface UserModel
middleName
- the middle name of this userpublic String getLastName()
getLastName
in interface UserModel
public void setLastName(String lastName)
setLastName
in interface UserModel
lastName
- the last name of this userpublic String getJobTitle()
getJobTitle
in interface UserModel
public void setJobTitle(String jobTitle)
setJobTitle
in interface UserModel
jobTitle
- the job title of this userpublic Date getLoginDate()
getLoginDate
in interface UserModel
public void setLoginDate(Date loginDate)
setLoginDate
in interface UserModel
loginDate
- the login date of this userpublic String getLoginIP()
getLoginIP
in interface UserModel
public void setLoginIP(String loginIP)
setLoginIP
in interface UserModel
loginIP
- the login i p of this userpublic Date getLastLoginDate()
getLastLoginDate
in interface UserModel
public void setLastLoginDate(Date lastLoginDate)
setLastLoginDate
in interface UserModel
lastLoginDate
- the last login date of this userpublic String getLastLoginIP()
getLastLoginIP
in interface UserModel
public void setLastLoginIP(String lastLoginIP)
setLastLoginIP
in interface UserModel
lastLoginIP
- the last login i p of this userpublic Date getLastFailedLoginDate()
getLastFailedLoginDate
in interface UserModel
public void setLastFailedLoginDate(Date lastFailedLoginDate)
setLastFailedLoginDate
in interface UserModel
lastFailedLoginDate
- the last failed login date of this userpublic int getFailedLoginAttempts()
getFailedLoginAttempts
in interface UserModel
public void setFailedLoginAttempts(int failedLoginAttempts)
setFailedLoginAttempts
in interface UserModel
failedLoginAttempts
- the failed login attempts of this userpublic boolean getLockout()
getLockout
in interface UserModel
public boolean isLockout()
true
if this user is lockout.
isLockout
in interface UserModel
true
if this user is lockout; false
otherwisepublic void setLockout(boolean lockout)
setLockout
in interface UserModel
lockout
- the lockout of this userpublic Date getLockoutDate()
getLockoutDate
in interface UserModel
public void setLockoutDate(Date lockoutDate)
setLockoutDate
in interface UserModel
lockoutDate
- the lockout date of this userpublic boolean getAgreedToTermsOfUse()
getAgreedToTermsOfUse
in interface UserModel
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
otherwisepublic void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
setAgreedToTermsOfUse
in interface UserModel
agreedToTermsOfUse
- the agreed to terms of use of this userpublic boolean getEmailAddressVerified()
getEmailAddressVerified
in interface UserModel
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 void setEmailAddressVerified(boolean emailAddressVerified)
setEmailAddressVerified
in interface UserModel
emailAddressVerified
- the email address verified of this userpublic int getStatus()
getStatus
in interface UserModel
public void setStatus(int status)
setStatus
in interface UserModel
status
- the status of this userpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<User>
isNew
in interface UserModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<User>
setNew
in interface UserModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<User>
isCachedModel
in interface UserModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<User>
setCachedModel
in interface UserModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<User>
isEscapedModel
in interface UserModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<User>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface UserModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<User>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface UserModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<User>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface UserModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<User>
setExpandoBridgeAttributes
in interface UserModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<User>
setExpandoBridgeAttributes
in interface UserModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<User>
setExpandoBridgeAttributes
in interface UserModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<User>
clone
in interface StagedModel
clone
in interface UserModel
clone
in class Object
public int compareTo(User user)
compareTo
in interface UserModel
compareTo
in interface Comparable<User>
public int hashCode()
hashCode
in interface UserModel
hashCode
in class Object
public CacheModel<User> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<User>
toCacheModel
in interface UserModel
public User toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<User>
toEscapedModel
in interface UserModel
AutoEscapeBeanHandler
public User toUnescapedModel()
toUnescapedModel
in interface BaseModel<User>
toUnescapedModel
in interface UserModel
public String toString()
toString
in interface UserModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<User>
toXmlString
in interface UserModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic void addRemotePreference(RemotePreference remotePreference)
addRemotePreference
in interface User
public List<Address> getAddresses() throws SystemException
getAddresses
in interface User
SystemException
public Date getBirthday() throws PortalException, SystemException
getBirthday
in interface User
PortalException
SystemException
public String getCompanyMx() throws PortalException, SystemException
getCompanyMx
in interface User
PortalException
SystemException
public Contact getContact() throws PortalException, SystemException
getContact
in interface User
PortalException
SystemException
public String getDigest(String password)
getDigest
in interface User
public String getDisplayEmailAddress()
getDisplayEmailAddress
in interface User
public String getDisplayURL(String portalURL, String mainPath) throws PortalException, SystemException
getDisplayURL(ThemeDisplay)
The logic for the display URL to return is as follows:
getDisplayURL
in interface User
portalURL
- the portal's URLmainPath
- the main path
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic String getDisplayURL(String portalURL, 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 User
portalURL
- 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 profile
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic String getDisplayURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
The logic for the display URL to return is as follows:
getDisplayURL
in interface User
themeDisplay
- the theme display
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic 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 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 profile
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic List<EmailAddress> getEmailAddresses() throws SystemException
getEmailAddresses
in interface User
SystemException
- if a system exception occurredpublic boolean getFemale() throws PortalException, SystemException
true
if the user is female.
getFemale
in interface User
true
if the user is female; false
otherwise
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic String getFullName()
getFullName
in interface User
public Group getGroup() throws PortalException, SystemException
getGroup
in interface User
PortalException
SystemException
public long getGroupId() throws PortalException, SystemException
getGroupId
in interface User
PortalException
SystemException
public long[] getGroupIds() throws SystemException
getGroupIds
in interface User
SystemException
public List<Group> getGroups() throws SystemException
getGroups
in interface User
SystemException
public Locale getLocale()
getLocale
in interface User
public String getLogin() throws PortalException, SystemException
getLogin
in interface User
PortalException
SystemException
public boolean getMale() throws PortalException, SystemException
true
if the user is male.
getMale
in interface User
true
if the user is male; false
otherwise
PortalException
- if a portal exception occurred
SystemException
- if a system exception occurredpublic List<Group> getMySiteGroups() throws PortalException, SystemException
getMySiteGroups
in interface User
PortalException
SystemException
public List<Group> getMySiteGroups(boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups
in interface User
PortalException
SystemException
public List<Group> getMySiteGroups(int max) throws PortalException, SystemException
getMySiteGroups
in interface User
PortalException
SystemException
public List<Group> getMySiteGroups(String[] classNames, boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups
in interface User
PortalException
SystemException
public List<Group> getMySiteGroups(String[] classNames, int max) throws PortalException, SystemException
getMySiteGroups
in interface User
PortalException
SystemException
public List<Group> getMySites() throws PortalException, SystemException
getMySiteGroups()
getMySites
in interface User
PortalException
SystemException
public List<Group> getMySites(boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups(boolean,
int)
getMySites
in interface User
PortalException
SystemException
public List<Group> getMySites(int max) throws PortalException, SystemException
getMySiteGroups(int)
getMySites
in interface User
PortalException
SystemException
public List<Group> getMySites(String[] classNames, boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups(String[],
boolean, int)
getMySites
in interface User
PortalException
SystemException
public List<Group> getMySites(String[] classNames, int max) throws PortalException, SystemException
getMySiteGroups(String[],
int)
getMySites
in interface User
PortalException
SystemException
public long[] getOrganizationIds() throws PortalException, SystemException
getOrganizationIds
in interface User
PortalException
SystemException
public long[] getOrganizationIds(boolean includeAdministrative) throws PortalException, SystemException
getOrganizationIds
in interface User
PortalException
SystemException
public List<Organization> getOrganizations() throws PortalException, SystemException
getOrganizations
in interface User
PortalException
SystemException
public List<Organization> getOrganizations(boolean includeAdministrative) throws PortalException, SystemException
getOrganizations
in interface User
PortalException
SystemException
public boolean getPasswordModified()
getPasswordModified
in interface User
public PasswordPolicy getPasswordPolicy() throws PortalException, SystemException
getPasswordPolicy
in interface User
PortalException
SystemException
public String getPasswordUnencrypted()
getPasswordUnencrypted
in interface User
public List<Phone> getPhones() throws SystemException
getPhones
in interface User
SystemException
public String getPortraitURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
getPortraitURL
in interface User
PortalException
SystemException
public int getPrivateLayoutsPageCount() throws PortalException, SystemException
getPrivateLayoutsPageCount
in interface User
PortalException
SystemException
public int getPublicLayoutsPageCount() throws PortalException, SystemException
getPublicLayoutsPageCount
in interface User
PortalException
SystemException
public Set<String> getReminderQueryQuestions() throws PortalException, SystemException
getReminderQueryQuestions
in interface User
PortalException
SystemException
public RemotePreference getRemotePreference(String name)
getRemotePreference
in interface User
public Iterable<RemotePreference> getRemotePreferences()
getRemotePreferences
in interface User
public long[] getRoleIds() throws SystemException
getRoleIds
in interface User
SystemException
public List<Role> getRoles() throws SystemException
getRoles
in interface User
SystemException
public List<Group> getSiteGroups() throws PortalException, SystemException
getSiteGroups
in interface User
PortalException
SystemException
public List<Group> getSiteGroups(boolean includeAdministrative) throws PortalException, SystemException
getSiteGroups
in interface User
PortalException
SystemException
public long[] getTeamIds() throws SystemException
getTeamIds
in interface User
SystemException
public List<Team> getTeams() throws SystemException
getTeams
in interface User
SystemException
public TimeZone getTimeZone()
getTimeZone
in interface User
public long[] getUserGroupIds() throws SystemException
getUserGroupIds
in interface User
SystemException
public List<UserGroup> getUserGroups() throws SystemException
getUserGroups
in interface User
SystemException
public List<Website> getWebsites() throws SystemException
getWebsites
in interface User
SystemException
public boolean hasCompanyMx() throws PortalException, SystemException
hasCompanyMx
in interface User
PortalException
SystemException
public boolean hasCompanyMx(String emailAddress) throws PortalException, SystemException
hasCompanyMx
in interface User
PortalException
SystemException
public boolean hasMySites() throws PortalException, SystemException
hasMySites
in interface User
PortalException
SystemException
public boolean hasOrganization() throws PortalException, SystemException
hasOrganization
in interface User
PortalException
SystemException
public boolean hasPrivateLayouts() throws PortalException, SystemException
hasPrivateLayouts
in interface User
PortalException
SystemException
public boolean hasPublicLayouts() throws PortalException, SystemException
hasPublicLayouts
in interface User
PortalException
SystemException
public boolean hasReminderQuery()
hasReminderQuery
in interface User
public boolean isActive()
isActive
in interface User
public boolean isEmailAddressComplete()
isEmailAddressComplete
in interface User
public boolean isEmailAddressVerificationComplete()
isEmailAddressVerificationComplete
in interface User
public boolean isFemale() throws PortalException, SystemException
isFemale
in interface User
PortalException
SystemException
public boolean isMale() throws PortalException, SystemException
isMale
in interface User
PortalException
SystemException
public boolean isPasswordModified()
isPasswordModified
in interface User
public boolean isReminderQueryComplete()
isReminderQueryComplete
in interface User
public boolean isSetupComplete()
isSetupComplete
in interface User
public boolean isTermsOfUseComplete()
isTermsOfUseComplete
in interface User
public void setPasswordModified(boolean passwordModified)
setPasswordModified
in interface User
public void setPasswordUnencrypted(String passwordUnencrypted)
setPasswordUnencrypted
in interface User
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public User getWrappedUser()
getWrappedModel()
public User getWrappedModel()
getWrappedModel
in interface ModelWrapper<User>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<User>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |