Liferay 6.0.5

com.liferay.portal.model
Class UserWrapper

java.lang.Object
  extended by com.liferay.portal.model.UserWrapper
All Implemented Interfaces:
BaseModel<User>, User, UserModel, Serializable, Cloneable, Comparable<User>

public class UserWrapper
extends Object
implements User

This class is a wrapper for User.

See Also:
User, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
UserWrapper(User user)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(User user)
           
 boolean getActive()
          Gets the active of this user.
 boolean getAgreedToTermsOfUse()
          Gets the agreed to terms of use of this user.
 Date getBirthday()
           
 String getComments()
          Gets the comments of this user.
 long getCompanyId()
          Gets the company id of this user.
 String getCompanyMx()
           
 Contact getContact()
           
 long getContactId()
          Gets the contact id of this user.
 Date getCreateDate()
          Gets the create date of this user.
 boolean getDefaultUser()
          Gets the default user of this user.
 String getDigest()
          Gets the digest of this user.
 String getDigest(String password)
           
 String getDisplayEmailAddress()
           
 String getDisplayURL(String portalURL, String mainPath)
           
 String getDisplayURL(ThemeDisplay themeDisplay)
           
 String getEmailAddress()
          Gets the email address of this user.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getFacebookId()
          Gets the facebook id of this user.
 int getFailedLoginAttempts()
          Gets the failed login attempts of this user.
 boolean getFemale()
           
 String getFirstName()
          Gets the first name of this user.
 String getFullName()
           
 int getGraceLoginCount()
          Gets the grace login count of this user.
 String getGreeting()
          Gets the greeting of this user.
 Group getGroup()
           
 long[] getGroupIds()
           
 List<Group> getGroups()
           
 String getJobTitle()
          Gets the job title of this user.
 String getLanguageId()
          Gets the language id of this user.
 Date getLastFailedLoginDate()
          Gets the last failed login date of this user.
 Date getLastLoginDate()
          Gets the last login date of this user.
 String getLastLoginIP()
          Gets the last login i p of this user.
 String getLastName()
          Gets the last name of this user.
 Locale getLocale()
           
 boolean getLockout()
          Gets the lockout of this user.
 Date getLockoutDate()
          Gets the lockout date of this user.
 String getLogin()
           
 Date getLoginDate()
          Gets the login date of this user.
 String getLoginIP()
          Gets the login i p of this user.
 boolean getMale()
           
 String getMiddleName()
          Gets the middle name of this user.
 Date getModifiedDate()
          Gets the modified date of this user.
 List<Group> getMyPlaces()
           
 List<Group> getMyPlaces(int max)
           
 String getOpenId()
          Gets the open id of this user.
 long[] getOrganizationIds()
           
 List<Organization> getOrganizations()
           
 String getPassword()
          Gets the password of this user.
 boolean getPasswordEncrypted()
          Gets the password encrypted of this user.
 boolean getPasswordModified()
           
 Date getPasswordModifiedDate()
          Gets the password modified date of this user.
 PasswordPolicy getPasswordPolicy()
           
 boolean getPasswordReset()
          Gets the password reset of this user.
 String getPasswordUnencrypted()
           
 long getPortraitId()
          Gets the portrait id of this user.
 long getPrimaryKey()
          Gets the primary key of this user.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 String getReminderQueryAnswer()
          Gets the reminder query answer of this user.
 String getReminderQueryQuestion()
          Gets the reminder query question of this user.
 Set<String> getReminderQueryQuestions()
           
 long[] getRoleIds()
           
 List<Role> getRoles()
           
 String getScreenName()
          Gets the screen name of this user.
 double getSocialContributionEquity()
           
 double getSocialParticipationEquity()
           
 double getSocialPersonalEquity()
           
 long[] getTeamIds()
           
 List<Team> getTeams()
           
 TimeZone getTimeZone()
           
 String getTimeZoneId()
          Gets the time zone id of this user.
 long[] getUserGroupIds()
           
 List<UserGroup> getUserGroups()
           
 long getUserId()
          Gets the user id of this user.
 String getUserUuid()
          Gets the user uuid of this user.
 String getUuid()
          Gets the uuid of this user.
 User getWrappedUser()
           
 boolean hasCompanyMx()
           
 boolean hasCompanyMx(String emailAddress)
           
 int hashCode()
           
 boolean hasMyPlaces()
           
 boolean hasOrganization()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasReminderQuery()
           
 boolean isActive()
          Determines whether this user is active.
 boolean isAgreedToTermsOfUse()
          Determines whether this user is agreed to terms of use.
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isDefaultUser()
          Determines whether this user is default user.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isFemale()
           
 boolean isLockout()
          Determines whether this user is lockout.
 boolean isMale()
           
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 boolean isPasswordEncrypted()
          Determines whether this user is password encrypted.
 boolean isPasswordModified()
           
 boolean isPasswordReset()
          Determines whether this user is password reset.
 void setActive(boolean active)
          Sets whether this {$entity.humanName} is active.
 void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
          Sets whether this {$entity.humanName} 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 {$entity.humanName} 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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 setLockout(boolean lockout)
          Sets whether this {$entity.humanName} 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 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 {$entity.humanName} 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 {$entity.humanName} is password reset.
 void setPasswordUnencrypted(String passwordUnencrypted)
           
 void setPortraitId(long portraitId)
          Sets the portrait id of this user.
 void setPrimaryKey(long pk)
          Sets the primary key of this user
 void setReminderQueryAnswer(String reminderQueryAnswer)
          Sets the reminder query answer of this user.
 void setReminderQueryQuestion(String reminderQueryQuestion)
          Sets the reminder query question of this user.
 void setScreenName(String screenName)
          Sets the screen name 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.
 User toEscapedModel()
          Gets a copy of this user as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 void updateSocialContributionEquity(double value)
           
 void updateSocialParticipationEquity(double value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserWrapper

public UserWrapper(User user)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: UserModel
Gets the primary key of this user.

Specified by:
getPrimaryKey in interface UserModel
Returns:
the primary key of this user

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: UserModel
Sets the primary key of this user

Specified by:
setPrimaryKey in interface UserModel
Parameters:
pk - the primary key of this user

getUuid

public String getUuid()
Description copied from interface: UserModel
Gets the uuid of this user.

Specified by:
getUuid in interface UserModel
Returns:
the uuid of this user

setUuid

public void setUuid(String uuid)
Description copied from interface: UserModel
Sets the uuid of this user.

Specified by:
setUuid in interface UserModel
Parameters:
uuid - the uuid of this user

getUserId

public long getUserId()
Description copied from interface: UserModel
Gets the user id of this user.

Specified by:
getUserId in interface UserModel
Returns:
the user id of this user

setUserId

public void setUserId(long userId)
Description copied from interface: UserModel
Sets the user id of this user.

Specified by:
setUserId in interface UserModel
Parameters:
userId - the user id of this user

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: UserModel
Gets the user uuid of this user.

Specified by:
getUserUuid in interface UserModel
Returns:
the user uuid of this user
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: UserModel
Sets the user uuid of this user.

Specified by:
setUserUuid in interface UserModel
Parameters:
userUuid - the user uuid of this user

getCompanyId

public long getCompanyId()
Description copied from interface: UserModel
Gets the company id of this user.

Specified by:
getCompanyId in interface UserModel
Returns:
the company id of this user

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: UserModel
Sets the company id of this user.

Specified by:
setCompanyId in interface UserModel
Parameters:
companyId - the company id of this user

getCreateDate

public Date getCreateDate()
Description copied from interface: UserModel
Gets the create date of this user.

Specified by:
getCreateDate in interface UserModel
Returns:
the create date of this user

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: UserModel
Sets the create date of this user.

Specified by:
setCreateDate in interface UserModel
Parameters:
createDate - the create date of this user

getModifiedDate

public Date getModifiedDate()
Description copied from interface: UserModel
Gets the modified date of this user.

Specified by:
getModifiedDate in interface UserModel
Returns:
the modified date of this user

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: UserModel
Sets the modified date of this user.

Specified by:
setModifiedDate in interface UserModel
Parameters:
modifiedDate - the modified date of this user

getDefaultUser

public boolean getDefaultUser()
Description copied from interface: UserModel
Gets the default user of this user.

Specified by:
getDefaultUser in interface UserModel
Returns:
the default user of this user

isDefaultUser

public boolean isDefaultUser()
Description copied from interface: UserModel
Determines whether this user is default user.

Specified by:
isDefaultUser in interface UserModel
Returns:
whether this user is default user

setDefaultUser

public void setDefaultUser(boolean defaultUser)
Description copied from interface: UserModel
Sets whether this {$entity.humanName} is default user.

Specified by:
setDefaultUser in interface UserModel
Parameters:
defaultUser - the default user of this user

getContactId

public long getContactId()
Description copied from interface: UserModel
Gets the contact id of this user.

Specified by:
getContactId in interface UserModel
Returns:
the contact id of this user

setContactId

public void setContactId(long contactId)
Description copied from interface: UserModel
Sets the contact id of this user.

Specified by:
setContactId in interface UserModel
Parameters:
contactId - the contact id of this user

getPassword

public String getPassword()
Description copied from interface: UserModel
Gets the password of this user.

Specified by:
getPassword in interface UserModel
Returns:
the password of this user

setPassword

public void setPassword(String password)
Description copied from interface: UserModel
Sets the password of this user.

Specified by:
setPassword in interface UserModel
Parameters:
password - the password of this user

getPasswordEncrypted

public boolean getPasswordEncrypted()
Description copied from interface: UserModel
Gets the password encrypted of this user.

Specified by:
getPasswordEncrypted in interface UserModel
Returns:
the password encrypted of this user

isPasswordEncrypted

public boolean isPasswordEncrypted()
Description copied from interface: UserModel
Determines whether this user is password encrypted.

Specified by:
isPasswordEncrypted in interface UserModel
Returns:
whether this user is password encrypted

setPasswordEncrypted

public void setPasswordEncrypted(boolean passwordEncrypted)
Description copied from interface: UserModel
Sets whether this {$entity.humanName} is password encrypted.

Specified by:
setPasswordEncrypted in interface UserModel
Parameters:
passwordEncrypted - the password encrypted of this user

getPasswordReset

public boolean getPasswordReset()
Description copied from interface: UserModel
Gets the password reset of this user.

Specified by:
getPasswordReset in interface UserModel
Returns:
the password reset of this user

isPasswordReset

public boolean isPasswordReset()
Description copied from interface: UserModel
Determines whether this user is password reset.

Specified by:
isPasswordReset in interface UserModel
Returns:
whether this user is password reset

setPasswordReset

public void setPasswordReset(boolean passwordReset)
Description copied from interface: UserModel
Sets whether this {$entity.humanName} is password reset.

Specified by:
setPasswordReset in interface UserModel
Parameters:
passwordReset - the password reset of this user

getPasswordModifiedDate

public Date getPasswordModifiedDate()
Description copied from interface: UserModel
Gets the password modified date of this user.

Specified by:
getPasswordModifiedDate in interface UserModel
Returns:
the password modified date of this user

setPasswordModifiedDate

public void setPasswordModifiedDate(Date passwordModifiedDate)
Description copied from interface: UserModel
Sets the password modified date of this user.

Specified by:
setPasswordModifiedDate in interface UserModel
Parameters:
passwordModifiedDate - the password modified date of this user

getDigest

public String getDigest()
Description copied from interface: UserModel
Gets the digest of this user.

Specified by:
getDigest in interface User
Specified by:
getDigest in interface UserModel
Returns:
the digest of this user

setDigest

public void setDigest(String digest)
Description copied from interface: UserModel
Sets the digest of this user.

Specified by:
setDigest in interface UserModel
Parameters:
digest - the digest of this user

getReminderQueryQuestion

public String getReminderQueryQuestion()
Description copied from interface: UserModel
Gets the reminder query question of this user.

Specified by:
getReminderQueryQuestion in interface UserModel
Returns:
the reminder query question of this user

setReminderQueryQuestion

public void setReminderQueryQuestion(String reminderQueryQuestion)
Description copied from interface: UserModel
Sets the reminder query question of this user.

Specified by:
setReminderQueryQuestion in interface UserModel
Parameters:
reminderQueryQuestion - the reminder query question of this user

getReminderQueryAnswer

public String getReminderQueryAnswer()
Description copied from interface: UserModel
Gets the reminder query answer of this user.

Specified by:
getReminderQueryAnswer in interface UserModel
Returns:
the reminder query answer of this user

setReminderQueryAnswer

public void setReminderQueryAnswer(String reminderQueryAnswer)
Description copied from interface: UserModel
Sets the reminder query answer of this user.

Specified by:
setReminderQueryAnswer in interface UserModel
Parameters:
reminderQueryAnswer - the reminder query answer of this user

getGraceLoginCount

public int getGraceLoginCount()
Description copied from interface: UserModel
Gets the grace login count of this user.

Specified by:
getGraceLoginCount in interface UserModel
Returns:
the grace login count of this user

setGraceLoginCount

public void setGraceLoginCount(int graceLoginCount)
Description copied from interface: UserModel
Sets the grace login count of this user.

Specified by:
setGraceLoginCount in interface UserModel
Parameters:
graceLoginCount - the grace login count of this user

getScreenName

public String getScreenName()
Description copied from interface: UserModel
Gets the screen name of this user.

Specified by:
getScreenName in interface UserModel
Returns:
the screen name of this user

setScreenName

public void setScreenName(String screenName)
Description copied from interface: UserModel
Sets the screen name of this user.

Specified by:
setScreenName in interface UserModel
Parameters:
screenName - the screen name of this user

getEmailAddress

public String getEmailAddress()
Description copied from interface: UserModel
Gets the email address of this user.

Specified by:
getEmailAddress in interface UserModel
Returns:
the email address of this user

setEmailAddress

public void setEmailAddress(String emailAddress)
Description copied from interface: UserModel
Sets the email address of this user.

Specified by:
setEmailAddress in interface UserModel
Parameters:
emailAddress - the email address of this user

getFacebookId

public long getFacebookId()
Description copied from interface: UserModel
Gets the facebook id of this user.

Specified by:
getFacebookId in interface UserModel
Returns:
the facebook id of this user

setFacebookId

public void setFacebookId(long facebookId)
Description copied from interface: UserModel
Sets the facebook id of this user.

Specified by:
setFacebookId in interface UserModel
Parameters:
facebookId - the facebook id of this user

getOpenId

public String getOpenId()
Description copied from interface: UserModel
Gets the open id of this user.

Specified by:
getOpenId in interface UserModel
Returns:
the open id of this user

setOpenId

public void setOpenId(String openId)
Description copied from interface: UserModel
Sets the open id of this user.

Specified by:
setOpenId in interface UserModel
Parameters:
openId - the open id of this user

getPortraitId

public long getPortraitId()
Description copied from interface: UserModel
Gets the portrait id of this user.

Specified by:
getPortraitId in interface UserModel
Returns:
the portrait id of this user

setPortraitId

public void setPortraitId(long portraitId)
Description copied from interface: UserModel
Sets the portrait id of this user.

Specified by:
setPortraitId in interface UserModel
Parameters:
portraitId - the portrait id of this user

getLanguageId

public String getLanguageId()
Description copied from interface: UserModel
Gets the language id of this user.

Specified by:
getLanguageId in interface UserModel
Returns:
the language id of this user

setLanguageId

public void setLanguageId(String languageId)
Description copied from interface: UserModel
Sets the language id of this user.

Specified by:
setLanguageId in interface User
Specified by:
setLanguageId in interface UserModel
Parameters:
languageId - the language id of this user

getTimeZoneId

public String getTimeZoneId()
Description copied from interface: UserModel
Gets the time zone id of this user.

Specified by:
getTimeZoneId in interface UserModel
Returns:
the time zone id of this user

setTimeZoneId

public void setTimeZoneId(String timeZoneId)
Description copied from interface: UserModel
Sets the time zone id of this user.

Specified by:
setTimeZoneId in interface User
Specified by:
setTimeZoneId in interface UserModel
Parameters:
timeZoneId - the time zone id of this user

getGreeting

public String getGreeting()
Description copied from interface: UserModel
Gets the greeting of this user.

Specified by:
getGreeting in interface UserModel
Returns:
the greeting of this user

setGreeting

public void setGreeting(String greeting)
Description copied from interface: UserModel
Sets the greeting of this user.

Specified by:
setGreeting in interface UserModel
Parameters:
greeting - the greeting of this user

getComments

public String getComments()
Description copied from interface: UserModel
Gets the comments of this user.

Specified by:
getComments in interface UserModel
Returns:
the comments of this user

setComments

public void setComments(String comments)
Description copied from interface: UserModel
Sets the comments of this user.

Specified by:
setComments in interface UserModel
Parameters:
comments - the comments of this user

getFirstName

public String getFirstName()
Description copied from interface: UserModel
Gets the first name of this user.

Specified by:
getFirstName in interface UserModel
Returns:
the first name of this user

setFirstName

public void setFirstName(String firstName)
Description copied from interface: UserModel
Sets the first name of this user.

Specified by:
setFirstName in interface UserModel
Parameters:
firstName - the first name of this user

getMiddleName

public String getMiddleName()
Description copied from interface: UserModel
Gets the middle name of this user.

Specified by:
getMiddleName in interface UserModel
Returns:
the middle name of this user

setMiddleName

public void setMiddleName(String middleName)
Description copied from interface: UserModel
Sets the middle name of this user.

Specified by:
setMiddleName in interface UserModel
Parameters:
middleName - the middle name of this user

getLastName

public String getLastName()
Description copied from interface: UserModel
Gets the last name of this user.

Specified by:
getLastName in interface UserModel
Returns:
the last name of this user

setLastName

public void setLastName(String lastName)
Description copied from interface: UserModel
Sets the last name of this user.

Specified by:
setLastName in interface UserModel
Parameters:
lastName - the last name of this user

getJobTitle

public String getJobTitle()
Description copied from interface: UserModel
Gets the job title of this user.

Specified by:
getJobTitle in interface UserModel
Returns:
the job title of this user

setJobTitle

public void setJobTitle(String jobTitle)
Description copied from interface: UserModel
Sets the job title of this user.

Specified by:
setJobTitle in interface UserModel
Parameters:
jobTitle - the job title of this user

getLoginDate

public Date getLoginDate()
Description copied from interface: UserModel
Gets the login date of this user.

Specified by:
getLoginDate in interface UserModel
Returns:
the login date of this user

setLoginDate

public void setLoginDate(Date loginDate)
Description copied from interface: UserModel
Sets the login date of this user.

Specified by:
setLoginDate in interface UserModel
Parameters:
loginDate - the login date of this user

getLoginIP

public String getLoginIP()
Description copied from interface: UserModel
Gets the login i p of this user.

Specified by:
getLoginIP in interface UserModel
Returns:
the login i p of this user

setLoginIP

public void setLoginIP(String loginIP)
Description copied from interface: UserModel
Sets the login i p of this user.

Specified by:
setLoginIP in interface UserModel
Parameters:
loginIP - the login i p of this user

getLastLoginDate

public Date getLastLoginDate()
Description copied from interface: UserModel
Gets the last login date of this user.

Specified by:
getLastLoginDate in interface UserModel
Returns:
the last login date of this user

setLastLoginDate

public void setLastLoginDate(Date lastLoginDate)
Description copied from interface: UserModel
Sets the last login date of this user.

Specified by:
setLastLoginDate in interface UserModel
Parameters:
lastLoginDate - the last login date of this user

getLastLoginIP

public String getLastLoginIP()
Description copied from interface: UserModel
Gets the last login i p of this user.

Specified by:
getLastLoginIP in interface UserModel
Returns:
the last login i p of this user

setLastLoginIP

public void setLastLoginIP(String lastLoginIP)
Description copied from interface: UserModel
Sets the last login i p of this user.

Specified by:
setLastLoginIP in interface UserModel
Parameters:
lastLoginIP - the last login i p of this user

getLastFailedLoginDate

public Date getLastFailedLoginDate()
Description copied from interface: UserModel
Gets the last failed login date of this user.

Specified by:
getLastFailedLoginDate in interface UserModel
Returns:
the last failed login date of this user

setLastFailedLoginDate

public void setLastFailedLoginDate(Date lastFailedLoginDate)
Description copied from interface: UserModel
Sets the last failed login date of this user.

Specified by:
setLastFailedLoginDate in interface UserModel
Parameters:
lastFailedLoginDate - the last failed login date of this user

getFailedLoginAttempts

public int getFailedLoginAttempts()
Description copied from interface: UserModel
Gets the failed login attempts of this user.

Specified by:
getFailedLoginAttempts in interface UserModel
Returns:
the failed login attempts of this user

setFailedLoginAttempts

public void setFailedLoginAttempts(int failedLoginAttempts)
Description copied from interface: UserModel
Sets the failed login attempts of this user.

Specified by:
setFailedLoginAttempts in interface UserModel
Parameters:
failedLoginAttempts - the failed login attempts of this user

getLockout

public boolean getLockout()
Description copied from interface: UserModel
Gets the lockout of this user.

Specified by:
getLockout in interface UserModel
Returns:
the lockout of this user

isLockout

public boolean isLockout()
Description copied from interface: UserModel
Determines whether this user is lockout.

Specified by:
isLockout in interface UserModel
Returns:
whether this user is lockout

setLockout

public void setLockout(boolean lockout)
Description copied from interface: UserModel
Sets whether this {$entity.humanName} is lockout.

Specified by:
setLockout in interface UserModel
Parameters:
lockout - the lockout of this user

getLockoutDate

public Date getLockoutDate()
Description copied from interface: UserModel
Gets the lockout date of this user.

Specified by:
getLockoutDate in interface UserModel
Returns:
the lockout date of this user

setLockoutDate

public void setLockoutDate(Date lockoutDate)
Description copied from interface: UserModel
Sets the lockout date of this user.

Specified by:
setLockoutDate in interface UserModel
Parameters:
lockoutDate - the lockout date of this user

getAgreedToTermsOfUse

public boolean getAgreedToTermsOfUse()
Description copied from interface: UserModel
Gets the agreed to terms of use of this user.

Specified by:
getAgreedToTermsOfUse in interface UserModel
Returns:
the agreed to terms of use of this user

isAgreedToTermsOfUse

public boolean isAgreedToTermsOfUse()
Description copied from interface: UserModel
Determines whether this user is agreed to terms of use.

Specified by:
isAgreedToTermsOfUse in interface UserModel
Returns:
whether this user is agreed to terms of use

setAgreedToTermsOfUse

public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
Description copied from interface: UserModel
Sets whether this {$entity.humanName} is agreed to terms of use.

Specified by:
setAgreedToTermsOfUse in interface UserModel
Parameters:
agreedToTermsOfUse - the agreed to terms of use of this user

getActive

public boolean getActive()
Description copied from interface: UserModel
Gets the active of this user.

Specified by:
getActive in interface UserModel
Returns:
the active of this user

isActive

public boolean isActive()
Description copied from interface: UserModel
Determines whether this user is active.

Specified by:
isActive in interface UserModel
Returns:
whether this user is active

setActive

public void setActive(boolean active)
Description copied from interface: UserModel
Sets whether this {$entity.humanName} is active.

Specified by:
setActive in interface UserModel
Parameters:
active - the active of this user

toEscapedModel

public User toEscapedModel()
Description copied from interface: UserModel
Gets a copy of this user as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface UserModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<User>
Specified by:
isNew in interface UserModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<User>
Specified by:
setNew in interface UserModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<User>
Specified by:
isCachedModel in interface UserModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<User>
Specified by:
setCachedModel in interface UserModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<User>
Specified by:
isEscapedModel in interface UserModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<User>
Specified by:
setEscapedModel in interface UserModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Gets the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<User>
Specified by:
getPrimaryKeyObj in interface UserModel
Returns:
the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Gets the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<User>
Specified by:
getExpandoBridge in interface UserModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<User>
Specified by:
setExpandoBridgeAttributes in interface UserModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<User>
Specified by:
clone in interface UserModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(User user)
Specified by:
compareTo in interface UserModel
Specified by:
compareTo in interface Comparable<User>

hashCode

public int hashCode()
Specified by:
hashCode in interface UserModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface UserModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Gets the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<User>
Specified by:
toXmlString in interface UserModel
Returns:
the XML representation of this model instance

getBirthday

public Date getBirthday()
                 throws PortalException,
                        SystemException
Specified by:
getBirthday in interface User
Throws:
PortalException
SystemException

getCompanyMx

public String getCompanyMx()
                    throws PortalException,
                           SystemException
Specified by:
getCompanyMx in interface User
Throws:
PortalException
SystemException

getContact

public Contact getContact()
                   throws PortalException,
                          SystemException
Specified by:
getContact in interface User
Throws:
PortalException
SystemException

getDigest

public String getDigest(String password)
Specified by:
getDigest in interface User

getDisplayEmailAddress

public String getDisplayEmailAddress()
Specified by:
getDisplayEmailAddress in interface User

getDisplayURL

public String getDisplayURL(ThemeDisplay themeDisplay)
                     throws PortalException,
                            SystemException
Specified by:
getDisplayURL in interface User
Throws:
PortalException
SystemException

getDisplayURL

public String getDisplayURL(String portalURL,
                            String mainPath)
                     throws PortalException,
                            SystemException
Specified by:
getDisplayURL in interface User
Throws:
PortalException
SystemException

getFemale

public boolean getFemale()
                  throws PortalException,
                         SystemException
Specified by:
getFemale in interface User
Throws:
PortalException
SystemException

getFullName

public String getFullName()
Specified by:
getFullName in interface User

getGroup

public Group getGroup()
               throws PortalException,
                      SystemException
Specified by:
getGroup in interface User
Throws:
PortalException
SystemException

getGroupIds

public long[] getGroupIds()
                   throws PortalException,
                          SystemException
Specified by:
getGroupIds in interface User
Throws:
PortalException
SystemException

getGroups

public List<Group> getGroups()
                      throws PortalException,
                             SystemException
Specified by:
getGroups in interface User
Throws:
PortalException
SystemException

getLocale

public Locale getLocale()
Specified by:
getLocale in interface User

getLogin

public String getLogin()
                throws PortalException,
                       SystemException
Specified by:
getLogin in interface User
Throws:
PortalException
SystemException

getMale

public boolean getMale()
                throws PortalException,
                       SystemException
Specified by:
getMale in interface User
Throws:
PortalException
SystemException

getMyPlaces

public List<Group> getMyPlaces()
                        throws PortalException,
                               SystemException
Specified by:
getMyPlaces in interface User
Throws:
PortalException
SystemException

getMyPlaces

public List<Group> getMyPlaces(int max)
                        throws PortalException,
                               SystemException
Specified by:
getMyPlaces in interface User
Throws:
PortalException
SystemException

getOrganizationIds

public long[] getOrganizationIds()
                          throws PortalException,
                                 SystemException
Specified by:
getOrganizationIds in interface User
Throws:
PortalException
SystemException

getOrganizations

public List<Organization> getOrganizations()
                                    throws PortalException,
                                           SystemException
Specified by:
getOrganizations in interface User
Throws:
PortalException
SystemException

getPasswordModified

public boolean getPasswordModified()
Specified by:
getPasswordModified in interface User

getPasswordPolicy

public PasswordPolicy getPasswordPolicy()
                                 throws PortalException,
                                        SystemException
Specified by:
getPasswordPolicy in interface User
Throws:
PortalException
SystemException

getPasswordUnencrypted

public String getPasswordUnencrypted()
Specified by:
getPasswordUnencrypted in interface User

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
                               throws PortalException,
                                      SystemException
Specified by:
getPrivateLayoutsPageCount in interface User
Throws:
PortalException
SystemException

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
                              throws PortalException,
                                     SystemException
Specified by:
getPublicLayoutsPageCount in interface User
Throws:
PortalException
SystemException

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions()
                                      throws PortalException,
                                             SystemException
Specified by:
getReminderQueryQuestions in interface User
Throws:
PortalException
SystemException

getRoleIds

public long[] getRoleIds()
                  throws SystemException
Specified by:
getRoleIds in interface User
Throws:
SystemException

getRoles

public List<Role> getRoles()
                    throws SystemException
Specified by:
getRoles in interface User
Throws:
SystemException

getSocialContributionEquity

public double getSocialContributionEquity()
Specified by:
getSocialContributionEquity in interface User

getSocialParticipationEquity

public double getSocialParticipationEquity()
Specified by:
getSocialParticipationEquity in interface User

getSocialPersonalEquity

public double getSocialPersonalEquity()
Specified by:
getSocialPersonalEquity in interface User

getTeamIds

public long[] getTeamIds()
                  throws SystemException
Specified by:
getTeamIds in interface User
Throws:
SystemException

getTeams

public List<Team> getTeams()
                    throws SystemException
Specified by:
getTeams in interface User
Throws:
SystemException

getUserGroupIds

public long[] getUserGroupIds()
                       throws SystemException
Specified by:
getUserGroupIds in interface User
Throws:
SystemException

getUserGroups

public List<UserGroup> getUserGroups()
                              throws SystemException
Specified by:
getUserGroups in interface User
Throws:
SystemException

getTimeZone

public TimeZone getTimeZone()
Specified by:
getTimeZone in interface User

hasCompanyMx

public boolean hasCompanyMx()
                     throws PortalException,
                            SystemException
Specified by:
hasCompanyMx in interface User
Throws:
PortalException
SystemException

hasCompanyMx

public boolean hasCompanyMx(String emailAddress)
                     throws PortalException,
                            SystemException
Specified by:
hasCompanyMx in interface User
Throws:
PortalException
SystemException

hasMyPlaces

public boolean hasMyPlaces()
                    throws SystemException
Specified by:
hasMyPlaces in interface User
Throws:
SystemException

hasOrganization

public boolean hasOrganization()
                        throws PortalException,
                               SystemException
Specified by:
hasOrganization in interface User
Throws:
PortalException
SystemException

hasPrivateLayouts

public boolean hasPrivateLayouts()
                          throws PortalException,
                                 SystemException
Specified by:
hasPrivateLayouts in interface User
Throws:
PortalException
SystemException

hasPublicLayouts

public boolean hasPublicLayouts()
                         throws PortalException,
                                SystemException
Specified by:
hasPublicLayouts in interface User
Throws:
PortalException
SystemException

hasReminderQuery

public boolean hasReminderQuery()
Specified by:
hasReminderQuery in interface User

isFemale

public boolean isFemale()
                 throws PortalException,
                        SystemException
Specified by:
isFemale in interface User
Throws:
PortalException
SystemException

isMale

public boolean isMale()
               throws PortalException,
                      SystemException
Specified by:
isMale in interface User
Throws:
PortalException
SystemException

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(String passwordUnencrypted)
Specified by:
setPasswordUnencrypted in interface User

updateSocialContributionEquity

public void updateSocialContributionEquity(double value)
Specified by:
updateSocialContributionEquity in interface User

updateSocialParticipationEquity

public void updateSocialParticipationEquity(double value)
Specified by:
updateSocialParticipationEquity in interface User

getWrappedUser

public User getWrappedUser()

Liferay 6.0.5