com.liferay.portal.model.impl
Class UserImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<User>
com.liferay.portal.model.impl.UserModelImpl
com.liferay.portal.model.impl.UserBaseImpl
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
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 |
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 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 |
UserImpl
public UserImpl()
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()