Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class UserImpl

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

public class UserImpl
extends UserBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.UserModelImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, CONTACTID_COLUMN_BITMASK, CREATEDATE_COLUMN_BITMASK, DATA_SOURCE, DEFAULTUSER_COLUMN_BITMASK, EMAILADDRESS_COLUMN_BITMASK, ENTITY_CACHE_ENABLED, FACEBOOKID_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_USERS_GROUPS, FINDER_CACHE_ENABLED_USERS_ORGS, FINDER_CACHE_ENABLED_USERS_PERMISSIONS, FINDER_CACHE_ENABLED_USERS_ROLES, FINDER_CACHE_ENABLED_USERS_TEAMS, FINDER_CACHE_ENABLED_USERS_USERGROUPS, LOCK_EXPIRATION_TIME, MAPPING_TABLE_USERS_GROUPS_COLUMNS, MAPPING_TABLE_USERS_GROUPS_NAME, MAPPING_TABLE_USERS_GROUPS_SQL_CREATE, MAPPING_TABLE_USERS_ORGS_COLUMNS, MAPPING_TABLE_USERS_ORGS_NAME, MAPPING_TABLE_USERS_ORGS_SQL_CREATE, MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS, MAPPING_TABLE_USERS_PERMISSIONS_NAME, MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE, MAPPING_TABLE_USERS_ROLES_COLUMNS, MAPPING_TABLE_USERS_ROLES_NAME, MAPPING_TABLE_USERS_ROLES_SQL_CREATE, MAPPING_TABLE_USERS_TEAMS_COLUMNS, MAPPING_TABLE_USERS_TEAMS_NAME, MAPPING_TABLE_USERS_TEAMS_SQL_CREATE, MAPPING_TABLE_USERS_USERGROUPS_COLUMNS, MAPPING_TABLE_USERS_USERGROUPS_NAME, MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE, MODIFIEDDATE_COLUMN_BITMASK, OPENID_COLUMN_BITMASK, PORTRAITID_COLUMN_BITMASK, SCREENNAME_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK
 
Constructor Summary
UserImpl()
           
 
Method Summary
 List<Address> getAddresses()
           
 Date getBirthday()
           
 String getCompanyMx()
           
 Contact getContact()
           
 String getDigest()
          Returns the digest of this user.
 String getDigest(String password)
           
 String getDisplayEmailAddress()
           
 String getDisplayURL(String portalURL, String mainPath)
           
 String getDisplayURL(String portalURL, String mainPath, boolean privateLayout)
           
 String getDisplayURL(ThemeDisplay themeDisplay)
           
 String getDisplayURL(ThemeDisplay themeDisplay, boolean privateLayout)
           
 List<EmailAddress> getEmailAddresses()
           
 boolean getFemale()
           
 String getFullName()
           
 Group getGroup()
           
 long getGroupId()
           
 long[] getGroupIds()
           
 List<Group> getGroups()
           
 Locale getLocale()
           
 String getLogin()
           
 boolean getMale()
           
 List<Group> getMySites()
           
 List<Group> getMySites(boolean includeControlPanel, int max)
           
 List<Group> getMySites(int max)
           
 List<Group> getMySites(String[] classNames, boolean includeControlPanel, int max)
           
 List<Group> getMySites(String[] classNames, int max)
           
 long[] getOrganizationIds()
           
 long[] getOrganizationIds(boolean includeAdministrative)
           
 List<Organization> getOrganizations()
           
 List<Organization> getOrganizations(boolean includeAdministrative)
           
 boolean getPasswordModified()
           
 PasswordPolicy getPasswordPolicy()
           
 String getPasswordUnencrypted()
           
 List<Phone> getPhones()
           
 String getPortraitURL(ThemeDisplay themeDisplay)
           
 int getPrivateLayoutsPageCount()
           
protected  String getProfileFriendlyURL()
           
 int getPublicLayoutsPageCount()
           
 Set<String> getReminderQueryQuestions()
           
 long[] getRoleIds()
           
 List<Role> getRoles()
           
 long[] getTeamIds()
           
 List<Team> getTeams()
           
 TimeZone getTimeZone()
           
 long[] getUserGroupIds()
           
 List<UserGroup> getUserGroups()
           
 List<Website> getWebsites()
           
 boolean hasCompanyMx()
           
 boolean hasCompanyMx(String emailAddress)
           
 boolean hasMySites()
           
 boolean hasOrganization()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasReminderQuery()
           
 boolean isActive()
           
 boolean isFemale()
           
 boolean isMale()
           
 boolean isPasswordModified()
           
 void setLanguageId(String languageId)
          Sets the language ID of this user.
 void setPasswordModified(boolean passwordModified)
           
 void setPasswordUnencrypted(String passwordUnencrypted)
           
 void setTimeZoneId(String timeZoneId)
          Sets the time zone ID of this user.
 
Methods inherited from class com.liferay.portal.model.impl.UserBaseImpl
persist
 
Methods inherited from class com.liferay.portal.model.impl.UserModelImpl
clone, compareTo, equals, getAgreedToTermsOfUse, getColumnBitmask, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, getEmailAddressVerified, getExpandoBridge, getFacebookId, getFailedLoginAttempts, getFirstName, getGraceLoginCount, getGreeting, getJobTitle, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLastName, getLockout, getLockoutDate, getLoginDate, getLoginIP, getMiddleName, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOpenId, getOriginalCompanyId, getOriginalContactId, getOriginalCreateDate, getOriginalDefaultUser, getOriginalEmailAddress, getOriginalFacebookId, getOriginalModifiedDate, getOriginalOpenId, getOriginalPortraitId, getOriginalScreenName, getOriginalStatus, getOriginalUserId, getOriginalUuid, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getPrimaryKeyObj, getReminderQueryAnswer, getReminderQueryQuestion, getScreenName, getStatus, getTimeZoneId, getUserId, getUserUuid, getUuid, hashCode, isAgreedToTermsOfUse, isDefaultUser, isEmailAddressVerified, isLockout, isPasswordEncrypted, isPasswordReset, resetOriginalValues, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setDigest, setEmailAddress, setEmailAddressVerified, setExpandoBridgeAttributes, setFacebookId, setFailedLoginAttempts, setFirstName, setGraceLoginCount, setGreeting, setJobTitle, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLastName, setLockout, setLockoutDate, setLoginDate, setLoginIP, setMiddleName, setModelAttributes, setModifiedDate, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setPrimaryKeyObj, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setStatus, setUserId, setUserUuid, setUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.UserModel
clone, compareTo, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, getEmailAddressVerified, getExpandoBridge, getFacebookId, getFailedLoginAttempts, getFirstName, getGraceLoginCount, getGreeting, getJobTitle, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLastName, getLockout, getLockoutDate, getLoginDate, getLoginIP, getMiddleName, getModifiedDate, getOpenId, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getPrimaryKeyObj, getReminderQueryAnswer, getReminderQueryQuestion, getScreenName, getStatus, getTimeZoneId, getUserId, getUserUuid, getUuid, hashCode, isAgreedToTermsOfUse, isCachedModel, isDefaultUser, isEmailAddressVerified, isEscapedModel, isLockout, isNew, isPasswordEncrypted, isPasswordReset, setAgreedToTermsOfUse, setCachedModel, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setDigest, setEmailAddress, setEmailAddressVerified, setExpandoBridgeAttributes, setFacebookId, setFailedLoginAttempts, setFirstName, setGraceLoginCount, setGreeting, setJobTitle, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLastName, setLockout, setLockoutDate, setLoginDate, setLoginIP, setMiddleName, setModifiedDate, setNew, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setPrimaryKeyObj, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setStatus, setUserId, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

UserImpl

public UserImpl()
Method Detail

getAddresses

public List<Address> getAddresses()
                           throws SystemException
Throws:
SystemException

getBirthday

public Date getBirthday()
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getCompanyMx

public String getCompanyMx()
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getContact

public Contact getContact()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getDigest

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

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

getDigest

public String getDigest(String password)

getDisplayEmailAddress

public String getDisplayEmailAddress()

getDisplayURL

public String getDisplayURL(String portalURL,
                            String mainPath)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getDisplayURL

public String getDisplayURL(String portalURL,
                            String mainPath,
                            boolean privateLayout)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getDisplayURL

public String getDisplayURL(ThemeDisplay themeDisplay)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getDisplayURL

public String getDisplayURL(ThemeDisplay themeDisplay,
                            boolean privateLayout)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getEmailAddresses

public List<EmailAddress> getEmailAddresses()
                                     throws SystemException
Throws:
SystemException

getFemale

public boolean getFemale()
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFullName

@AutoEscape
public String getFullName()

getGroup

public Group getGroup()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getGroupId

public long getGroupId()
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getGroupIds

public long[] getGroupIds()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getGroups

public List<Group> getGroups()
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getLocale

public Locale getLocale()

getLogin

public String getLogin()
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getMale

public boolean getMale()
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getMySites

public List<Group> getMySites()
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getMySites

public List<Group> getMySites(boolean includeControlPanel,
                              int max)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getMySites

public List<Group> getMySites(int max)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getMySites

public List<Group> getMySites(String[] classNames,
                              boolean includeControlPanel,
                              int max)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getMySites

public List<Group> getMySites(String[] classNames,
                              int max)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getOrganizationIds

public long[] getOrganizationIds()
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getOrganizationIds

public long[] getOrganizationIds(boolean includeAdministrative)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getOrganizations

public List<Organization> getOrganizations()
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getOrganizations

public List<Organization> getOrganizations(boolean includeAdministrative)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getPasswordModified

public boolean getPasswordModified()

getPasswordPolicy

public PasswordPolicy getPasswordPolicy()
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getPasswordUnencrypted

public String getPasswordUnencrypted()

getPhones

public List<Phone> getPhones()
                      throws SystemException
Throws:
SystemException

getPortraitURL

public String getPortraitURL(ThemeDisplay themeDisplay)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getReminderQueryQuestions

public Set<String> getReminderQueryQuestions()
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

getRoleIds

public long[] getRoleIds()
                  throws SystemException
Throws:
SystemException

getRoles

public List<Role> getRoles()
                    throws SystemException
Throws:
SystemException

getTeamIds

public long[] getTeamIds()
                  throws SystemException
Throws:
SystemException

getTeams

public List<Team> getTeams()
                    throws SystemException
Throws:
SystemException

getTimeZone

public TimeZone getTimeZone()

getUserGroupIds

public long[] getUserGroupIds()
                       throws SystemException
Throws:
SystemException

getUserGroups

public List<UserGroup> getUserGroups()
                              throws SystemException
Throws:
SystemException

getWebsites

public List<Website> getWebsites()
                          throws SystemException
Throws:
SystemException

hasCompanyMx

public boolean hasCompanyMx()
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

hasCompanyMx

public boolean hasCompanyMx(String emailAddress)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

hasMySites

public boolean hasMySites()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

hasOrganization

public boolean hasOrganization()
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

hasPrivateLayouts

public boolean hasPrivateLayouts()
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

hasPublicLayouts

public boolean hasPublicLayouts()
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

hasReminderQuery

public boolean hasReminderQuery()

isActive

public boolean isActive()

isFemale

public boolean isFemale()
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

isMale

public boolean isMale()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

isPasswordModified

public boolean isPasswordModified()

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
Overrides:
setLanguageId in class UserModelImpl
Parameters:
languageId - the language ID of this user

setPasswordModified

public void setPasswordModified(boolean passwordModified)

setPasswordUnencrypted

public void setPasswordUnencrypted(String passwordUnencrypted)

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
Overrides:
setTimeZoneId in class UserModelImpl
Parameters:
timeZoneId - the time zone ID of this user

getProfileFriendlyURL

protected String getProfileFriendlyURL()

Liferay 6.1.2-ce-ga3