com.liferay.portal.model.impl
Class UserImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      extended by com.liferay.portal.model.impl.UserModelImpl
          extended by com.liferay.portal.model.impl.UserImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, com.liferay.portal.model.User, com.liferay.portal.model.UserModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class UserImpl
extends UserModelImpl
implements com.liferay.portal.model.User

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.UserModelImpl
CACHE_ENABLED, CACHE_ENABLED_USERS_GROUPS, CACHE_ENABLED_USERS_ORGS, CACHE_ENABLED_USERS_PERMISSIONS, CACHE_ENABLED_USERS_ROLES, CACHE_ENABLED_USERS_USERGROUPS, DATA_SOURCE, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
UserImpl()
           
 
Method Summary
 java.util.Date getBirthday()
           
 java.lang.String getCompanyMx()
           
 com.liferay.portal.model.Contact getContact()
           
 java.lang.String getDisplayURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 boolean getFemale()
           
 java.lang.String getFirstName()
           
 java.lang.String getFullName()
           
 com.liferay.portal.model.Group getGroup()
           
 long[] getGroupIds()
           
 java.util.List<com.liferay.portal.model.Group> getGroups()
           
 java.lang.String getLastName()
           
 java.util.Locale getLocale()
           
 java.lang.String getLogin()
           
 boolean getMale()
           
 java.lang.String getMiddleName()
           
 java.util.List<com.liferay.portal.model.Group> getMyPlaces()
           
 java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max)
           
 long[] getOrganizationIds()
           
 java.util.List<com.liferay.portal.model.Organization> getOrganizations()
           
 boolean getPasswordModified()
           
 com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
           
 java.lang.String getPasswordUnencrypted()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 java.util.Set<java.lang.String> getReminderQueryQuestions()
           
 long[] getRoleIds()
           
 java.util.List<com.liferay.portal.model.Role> getRoles()
           
 java.util.TimeZone getTimeZone()
           
 long[] getUserGroupIds()
           
 java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
           
 boolean hasCompanyMx()
           
 boolean hasCompanyMx(java.lang.String emailAddress)
           
 boolean hasMyPlaces()
           
 boolean hasOrganization()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean isFemale()
           
 boolean isMale()
           
 boolean isPasswordModified()
           
 void setLanguageId(java.lang.String languageId)
           
 void setPasswordModified(boolean passwordModified)
           
 void setPasswordUnencrypted(java.lang.String passwordUnencrypted)
           
 void setTimeZoneId(java.lang.String timeZoneId)
           
 
Methods inherited from class com.liferay.portal.model.impl.UserModelImpl
clone, compareTo, equals, getActive, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, getExpandoBridge, getFailedLoginAttempts, getGraceLoginCount, getGreeting, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLockout, getLockoutDate, getLoginDate, getLoginIP, getModifiedDate, getOpenId, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getPrimaryKeyObj, getReminderQueryAnswer, getReminderQueryQuestion, getScreenName, getTimeZoneId, getUserId, getUuid, hashCode, isActive, isAgreedToTermsOfUse, isDefaultUser, isLockout, isPasswordEncrypted, isPasswordReset, setActive, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setEmailAddress, setFailedLoginAttempts, setGraceLoginCount, setGreeting, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLockout, setLockoutDate, setLoginDate, setLoginIP, setModifiedDate, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setUserId, setUuid, toEscapedModel, toModel, toModels
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.UserModel
getActive, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, getFailedLoginAttempts, getGraceLoginCount, getGreeting, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLockout, getLockoutDate, getLoginDate, getLoginIP, getModifiedDate, getOpenId, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getReminderQueryAnswer, getReminderQueryQuestion, getScreenName, getTimeZoneId, getUserId, getUuid, isActive, isAgreedToTermsOfUse, isDefaultUser, isLockout, isPasswordEncrypted, isPasswordReset, setActive, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setEmailAddress, setFailedLoginAttempts, setGraceLoginCount, setGreeting, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLockout, setLockoutDate, setLoginDate, setLoginIP, setModifiedDate, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setUserId, setUuid, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

UserImpl

public UserImpl()
Method Detail

getBirthday

public java.util.Date getBirthday()
Specified by:
getBirthday in interface com.liferay.portal.model.User

getCompanyMx

public java.lang.String getCompanyMx()
Specified by:
getCompanyMx in interface com.liferay.portal.model.User

getContact

public com.liferay.portal.model.Contact getContact()
Specified by:
getContact in interface com.liferay.portal.model.User

getDisplayURL

public java.lang.String getDisplayURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getDisplayURL in interface com.liferay.portal.model.User

getFemale

public boolean getFemale()
Specified by:
getFemale in interface com.liferay.portal.model.User

getFirstName

public java.lang.String getFirstName()
Specified by:
getFirstName in interface com.liferay.portal.model.User

getFullName

public java.lang.String getFullName()
Specified by:
getFullName in interface com.liferay.portal.model.User

getGroup

public com.liferay.portal.model.Group getGroup()
Specified by:
getGroup in interface com.liferay.portal.model.User

getGroupIds

public long[] getGroupIds()
Specified by:
getGroupIds in interface com.liferay.portal.model.User

getGroups

public java.util.List<com.liferay.portal.model.Group> getGroups()
Specified by:
getGroups in interface com.liferay.portal.model.User

getLastName

public java.lang.String getLastName()
Specified by:
getLastName in interface com.liferay.portal.model.User

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface com.liferay.portal.model.User

getLogin

public java.lang.String getLogin()
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
getLogin in interface com.liferay.portal.model.User
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getMale

public boolean getMale()
Specified by:
getMale in interface com.liferay.portal.model.User

getMiddleName

public java.lang.String getMiddleName()
Specified by:
getMiddleName in interface com.liferay.portal.model.User

getMyPlaces

public java.util.List<com.liferay.portal.model.Group> getMyPlaces()
Specified by:
getMyPlaces in interface com.liferay.portal.model.User

getMyPlaces

public java.util.List<com.liferay.portal.model.Group> getMyPlaces(int max)
Specified by:
getMyPlaces in interface com.liferay.portal.model.User

getOrganizationIds

public long[] getOrganizationIds()
Specified by:
getOrganizationIds in interface com.liferay.portal.model.User

getOrganizations

public java.util.List<com.liferay.portal.model.Organization> getOrganizations()
Specified by:
getOrganizations in interface com.liferay.portal.model.User

getPasswordModified

public boolean getPasswordModified()
Specified by:
getPasswordModified in interface com.liferay.portal.model.User

getPasswordPolicy

public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
                                                          throws com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Specified by:
getPasswordPolicy in interface com.liferay.portal.model.User
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordUnencrypted

public java.lang.String getPasswordUnencrypted()
Specified by:
getPasswordUnencrypted in interface com.liferay.portal.model.User

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
Specified by:
getPrivateLayoutsPageCount in interface com.liferay.portal.model.User

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
Specified by:
getPublicLayoutsPageCount in interface com.liferay.portal.model.User

getReminderQueryQuestions

public java.util.Set<java.lang.String> getReminderQueryQuestions()
                                                          throws com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Specified by:
getReminderQueryQuestions in interface com.liferay.portal.model.User
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getRoleIds

public long[] getRoleIds()
Specified by:
getRoleIds in interface com.liferay.portal.model.User

getRoles

public java.util.List<com.liferay.portal.model.Role> getRoles()
Specified by:
getRoles in interface com.liferay.portal.model.User

getUserGroupIds

public long[] getUserGroupIds()
Specified by:
getUserGroupIds in interface com.liferay.portal.model.User

getUserGroups

public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups()
Specified by:
getUserGroups in interface com.liferay.portal.model.User

getTimeZone

public java.util.TimeZone getTimeZone()
Specified by:
getTimeZone in interface com.liferay.portal.model.User

hasCompanyMx

public boolean hasCompanyMx()
Specified by:
hasCompanyMx in interface com.liferay.portal.model.User

hasCompanyMx

public boolean hasCompanyMx(java.lang.String emailAddress)
Specified by:
hasCompanyMx in interface com.liferay.portal.model.User

hasMyPlaces

public boolean hasMyPlaces()
Specified by:
hasMyPlaces in interface com.liferay.portal.model.User

hasOrganization

public boolean hasOrganization()
Specified by:
hasOrganization in interface com.liferay.portal.model.User

hasPrivateLayouts

public boolean hasPrivateLayouts()
Specified by:
hasPrivateLayouts in interface com.liferay.portal.model.User

hasPublicLayouts

public boolean hasPublicLayouts()
Specified by:
hasPublicLayouts in interface com.liferay.portal.model.User

isFemale

public boolean isFemale()
Specified by:
isFemale in interface com.liferay.portal.model.User

isMale

public boolean isMale()
Specified by:
isMale in interface com.liferay.portal.model.User

isPasswordModified

public boolean isPasswordModified()
Specified by:
isPasswordModified in interface com.liferay.portal.model.User

setLanguageId

public void setLanguageId(java.lang.String languageId)
Specified by:
setLanguageId in interface com.liferay.portal.model.User
Specified by:
setLanguageId in interface com.liferay.portal.model.UserModel
Overrides:
setLanguageId in class UserModelImpl

setPasswordModified

public void setPasswordModified(boolean passwordModified)
Specified by:
setPasswordModified in interface com.liferay.portal.model.User

setPasswordUnencrypted

public void setPasswordUnencrypted(java.lang.String passwordUnencrypted)
Specified by:
setPasswordUnencrypted in interface com.liferay.portal.model.User

setTimeZoneId

public void setTimeZoneId(java.lang.String timeZoneId)
Specified by:
setTimeZoneId in interface com.liferay.portal.model.User
Specified by:
setTimeZoneId in interface com.liferay.portal.model.UserModel
Overrides:
setTimeZoneId in class UserModelImpl