com.liferay.portal.model
Class UserWrapper
java.lang.Object
com.liferay.portal.model.UserWrapper
- All Implemented Interfaces:
- BaseModel<User>, User, UserModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<User>
public class UserWrapper
- extends java.lang.Object
- implements User
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for User.
- Author:
- Brian Wing Shun Chan
- See Also:
User,
Serialized Form- Generated:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
UserWrapper
public UserWrapper(User user)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface UserModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey in interface UserModel
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid in interface UserModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface UserModel
getUserId
public long getUserId()
- Specified by:
getUserId in interface UserModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface UserModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid in interface UserModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface UserModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId in interface UserModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface UserModel
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate in interface UserModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate in interface UserModel
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate in interface UserModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate in interface UserModel
getDefaultUser
public boolean getDefaultUser()
- Specified by:
getDefaultUser in interface UserModel
isDefaultUser
public boolean isDefaultUser()
- Specified by:
isDefaultUser in interface UserModel
setDefaultUser
public void setDefaultUser(boolean defaultUser)
- Specified by:
setDefaultUser in interface UserModel
getContactId
public long getContactId()
- Specified by:
getContactId in interface UserModel
setContactId
public void setContactId(long contactId)
- Specified by:
setContactId in interface UserModel
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword in interface UserModel
setPassword
public void setPassword(java.lang.String password)
- Specified by:
setPassword in interface UserModel
getPasswordEncrypted
public boolean getPasswordEncrypted()
- Specified by:
getPasswordEncrypted in interface UserModel
isPasswordEncrypted
public boolean isPasswordEncrypted()
- Specified by:
isPasswordEncrypted in interface UserModel
setPasswordEncrypted
public void setPasswordEncrypted(boolean passwordEncrypted)
- Specified by:
setPasswordEncrypted in interface UserModel
getPasswordReset
public boolean getPasswordReset()
- Specified by:
getPasswordReset in interface UserModel
isPasswordReset
public boolean isPasswordReset()
- Specified by:
isPasswordReset in interface UserModel
setPasswordReset
public void setPasswordReset(boolean passwordReset)
- Specified by:
setPasswordReset in interface UserModel
getPasswordModifiedDate
public java.util.Date getPasswordModifiedDate()
- Specified by:
getPasswordModifiedDate in interface UserModel
setPasswordModifiedDate
public void setPasswordModifiedDate(java.util.Date passwordModifiedDate)
- Specified by:
setPasswordModifiedDate in interface UserModel
getReminderQueryQuestion
public java.lang.String getReminderQueryQuestion()
- Specified by:
getReminderQueryQuestion in interface UserModel
setReminderQueryQuestion
public void setReminderQueryQuestion(java.lang.String reminderQueryQuestion)
- Specified by:
setReminderQueryQuestion in interface UserModel
getReminderQueryAnswer
public java.lang.String getReminderQueryAnswer()
- Specified by:
getReminderQueryAnswer in interface UserModel
setReminderQueryAnswer
public void setReminderQueryAnswer(java.lang.String reminderQueryAnswer)
- Specified by:
setReminderQueryAnswer in interface UserModel
getGraceLoginCount
public int getGraceLoginCount()
- Specified by:
getGraceLoginCount in interface UserModel
setGraceLoginCount
public void setGraceLoginCount(int graceLoginCount)
- Specified by:
setGraceLoginCount in interface UserModel
getScreenName
public java.lang.String getScreenName()
- Specified by:
getScreenName in interface UserModel
setScreenName
public void setScreenName(java.lang.String screenName)
- Specified by:
setScreenName in interface UserModel
getEmailAddress
public java.lang.String getEmailAddress()
- Specified by:
getEmailAddress in interface UserModel
setEmailAddress
public void setEmailAddress(java.lang.String emailAddress)
- Specified by:
setEmailAddress in interface UserModel
getOpenId
public java.lang.String getOpenId()
- Specified by:
getOpenId in interface UserModel
setOpenId
public void setOpenId(java.lang.String openId)
- Specified by:
setOpenId in interface UserModel
getPortraitId
public long getPortraitId()
- Specified by:
getPortraitId in interface UserModel
setPortraitId
public void setPortraitId(long portraitId)
- Specified by:
setPortraitId in interface UserModel
getLanguageId
public java.lang.String getLanguageId()
- Specified by:
getLanguageId in interface UserModel
setLanguageId
public void setLanguageId(java.lang.String languageId)
- Specified by:
setLanguageId in interface User- Specified by:
setLanguageId in interface UserModel
getTimeZoneId
public java.lang.String getTimeZoneId()
- Specified by:
getTimeZoneId in interface UserModel
setTimeZoneId
public void setTimeZoneId(java.lang.String timeZoneId)
- Specified by:
setTimeZoneId in interface User- Specified by:
setTimeZoneId in interface UserModel
getGreeting
public java.lang.String getGreeting()
- Specified by:
getGreeting in interface UserModel
setGreeting
public void setGreeting(java.lang.String greeting)
- Specified by:
setGreeting in interface UserModel
getComments
public java.lang.String getComments()
- Specified by:
getComments in interface UserModel
setComments
public void setComments(java.lang.String comments)
- Specified by:
setComments in interface UserModel
getFirstName
public java.lang.String getFirstName()
- Specified by:
getFirstName in interface UserModel
setFirstName
public void setFirstName(java.lang.String firstName)
- Specified by:
setFirstName in interface UserModel
getMiddleName
public java.lang.String getMiddleName()
- Specified by:
getMiddleName in interface UserModel
setMiddleName
public void setMiddleName(java.lang.String middleName)
- Specified by:
setMiddleName in interface UserModel
getLastName
public java.lang.String getLastName()
- Specified by:
getLastName in interface UserModel
setLastName
public void setLastName(java.lang.String lastName)
- Specified by:
setLastName in interface UserModel
getJobTitle
public java.lang.String getJobTitle()
- Specified by:
getJobTitle in interface UserModel
setJobTitle
public void setJobTitle(java.lang.String jobTitle)
- Specified by:
setJobTitle in interface UserModel
getLoginDate
public java.util.Date getLoginDate()
- Specified by:
getLoginDate in interface UserModel
setLoginDate
public void setLoginDate(java.util.Date loginDate)
- Specified by:
setLoginDate in interface UserModel
getLoginIP
public java.lang.String getLoginIP()
- Specified by:
getLoginIP in interface UserModel
setLoginIP
public void setLoginIP(java.lang.String loginIP)
- Specified by:
setLoginIP in interface UserModel
getLastLoginDate
public java.util.Date getLastLoginDate()
- Specified by:
getLastLoginDate in interface UserModel
setLastLoginDate
public void setLastLoginDate(java.util.Date lastLoginDate)
- Specified by:
setLastLoginDate in interface UserModel
getLastLoginIP
public java.lang.String getLastLoginIP()
- Specified by:
getLastLoginIP in interface UserModel
setLastLoginIP
public void setLastLoginIP(java.lang.String lastLoginIP)
- Specified by:
setLastLoginIP in interface UserModel
getLastFailedLoginDate
public java.util.Date getLastFailedLoginDate()
- Specified by:
getLastFailedLoginDate in interface UserModel
setLastFailedLoginDate
public void setLastFailedLoginDate(java.util.Date lastFailedLoginDate)
- Specified by:
setLastFailedLoginDate in interface UserModel
getFailedLoginAttempts
public int getFailedLoginAttempts()
- Specified by:
getFailedLoginAttempts in interface UserModel
setFailedLoginAttempts
public void setFailedLoginAttempts(int failedLoginAttempts)
- Specified by:
setFailedLoginAttempts in interface UserModel
getLockout
public boolean getLockout()
- Specified by:
getLockout in interface UserModel
isLockout
public boolean isLockout()
- Specified by:
isLockout in interface UserModel
setLockout
public void setLockout(boolean lockout)
- Specified by:
setLockout in interface UserModel
getLockoutDate
public java.util.Date getLockoutDate()
- Specified by:
getLockoutDate in interface UserModel
setLockoutDate
public void setLockoutDate(java.util.Date lockoutDate)
- Specified by:
setLockoutDate in interface UserModel
getAgreedToTermsOfUse
public boolean getAgreedToTermsOfUse()
- Specified by:
getAgreedToTermsOfUse in interface UserModel
isAgreedToTermsOfUse
public boolean isAgreedToTermsOfUse()
- Specified by:
isAgreedToTermsOfUse in interface UserModel
setAgreedToTermsOfUse
public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
- Specified by:
setAgreedToTermsOfUse in interface UserModel
getActive
public boolean getActive()
- Specified by:
getActive in interface UserModel
isActive
public boolean isActive()
- Specified by:
isActive in interface UserModel
setActive
public void setActive(boolean active)
- Specified by:
setActive in interface UserModel
toEscapedModel
public User toEscapedModel()
- Specified by:
toEscapedModel in interface UserModel
isNew
public boolean isNew()
- Specified by:
isNew in interface BaseModel<User>- Specified by:
isNew in interface UserModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew in interface BaseModel<User>- Specified by:
setNew in interface UserModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel in interface BaseModel<User>- Specified by:
isCachedModel in interface UserModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel in interface BaseModel<User>- Specified by:
setCachedModel in interface UserModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel in interface BaseModel<User>- Specified by:
isEscapedModel in interface UserModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel in interface BaseModel<User>- Specified by:
setEscapedModel in interface UserModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface BaseModel<User>- Specified by:
getPrimaryKeyObj in interface UserModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface BaseModel<User>- Specified by:
getExpandoBridge in interface UserModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface BaseModel<User>- Specified by:
setExpandoBridgeAttributes in interface UserModel
clone
public java.lang.Object clone()
- Specified by:
clone in interface BaseModel<User>- Specified by:
clone in interface UserModel- Overrides:
clone in class java.lang.Object
compareTo
public int compareTo(User user)
- Specified by:
compareTo in interface UserModel- Specified by:
compareTo in interface java.lang.Comparable<User>
hashCode
public int hashCode()
- Specified by:
hashCode in interface UserModel- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface UserModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface BaseModel<User>- Specified by:
toXmlString in interface UserModel
getBirthday
public java.util.Date getBirthday()
- Specified by:
getBirthday in interface User
getCompanyMx
public java.lang.String getCompanyMx()
- Specified by:
getCompanyMx in interface User
getContact
public Contact getContact()
- Specified by:
getContact in interface User
getDisplayEmailAddress
public java.lang.String getDisplayEmailAddress()
- Specified by:
getDisplayEmailAddress in interface User
getDisplayURL
public java.lang.String getDisplayURL(ThemeDisplay themeDisplay)
- Specified by:
getDisplayURL in interface User
getDisplayURL
public java.lang.String getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath)
- Specified by:
getDisplayURL in interface User
getFemale
public boolean getFemale()
- Specified by:
getFemale in interface User
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName in interface User
getGroup
public Group getGroup()
- Specified by:
getGroup in interface User
getGroupIds
public long[] getGroupIds()
- Specified by:
getGroupIds in interface User
getGroups
public java.util.List<Group> getGroups()
- Specified by:
getGroups in interface User
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale in interface User
getLogin
public java.lang.String getLogin()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getLogin in interface User
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getMale
public boolean getMale()
- Specified by:
getMale in interface User
getMyPlaces
public java.util.List<Group> getMyPlaces()
- Specified by:
getMyPlaces in interface User
getMyPlaces
public java.util.List<Group> getMyPlaces(int max)
- Specified by:
getMyPlaces in interface User
getOrganizationIds
public long[] getOrganizationIds()
- Specified by:
getOrganizationIds in interface User
getOrganizations
public java.util.List<Organization> getOrganizations()
- Specified by:
getOrganizations in interface User
getPasswordModified
public boolean getPasswordModified()
- Specified by:
getPasswordModified in interface User
getPasswordPolicy
public PasswordPolicy getPasswordPolicy()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getPasswordPolicy in interface User
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getPasswordUnencrypted
public java.lang.String getPasswordUnencrypted()
- Specified by:
getPasswordUnencrypted in interface User
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount()
- Specified by:
getPrivateLayoutsPageCount in interface User
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount()
- Specified by:
getPublicLayoutsPageCount in interface User
getReminderQueryQuestions
public java.util.Set<java.lang.String> getReminderQueryQuestions()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getReminderQueryQuestions in interface User
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getRoleIds
public long[] getRoleIds()
- Specified by:
getRoleIds in interface User
getRoles
public java.util.List<Role> getRoles()
- Specified by:
getRoles in interface User
getUserGroupIds
public long[] getUserGroupIds()
- Specified by:
getUserGroupIds in interface User
getUserGroups
public java.util.List<UserGroup> getUserGroups()
- Specified by:
getUserGroups in interface User
getTimeZone
public java.util.TimeZone getTimeZone()
- Specified by:
getTimeZone in interface User
hasCompanyMx
public boolean hasCompanyMx()
- Specified by:
hasCompanyMx in interface User
hasCompanyMx
public boolean hasCompanyMx(java.lang.String emailAddress)
- Specified by:
hasCompanyMx in interface User
hasMyPlaces
public boolean hasMyPlaces()
- Specified by:
hasMyPlaces in interface User
hasOrganization
public boolean hasOrganization()
- Specified by:
hasOrganization in interface User
hasPrivateLayouts
public boolean hasPrivateLayouts()
- Specified by:
hasPrivateLayouts in interface User
hasPublicLayouts
public boolean hasPublicLayouts()
- Specified by:
hasPublicLayouts in interface User
hasReminderQuery
public boolean hasReminderQuery()
- Specified by:
hasReminderQuery in interface User
isFemale
public boolean isFemale()
- Specified by:
isFemale in interface User
isMale
public boolean isMale()
- Specified by:
isMale in interface User
isPasswordModified
public boolean isPasswordModified()
- Specified by:
isPasswordModified in interface User
setPasswordModified
public void setPasswordModified(boolean passwordModified)
- Specified by:
setPasswordModified in interface User
setPasswordUnencrypted
public void setPasswordUnencrypted(java.lang.String passwordUnencrypted)
- Specified by:
setPasswordUnencrypted in interface User
getWrappedUser
public User getWrappedUser()