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.UserImpl
- All Implemented Interfaces:
- BaseModel<User>, User, UserModel, Serializable, Cloneable, Comparable<User>
public class UserImpl
- extends UserModelImpl
- implements User
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portal.model.impl.UserModelImpl |
DATA_SOURCE, ENTITY_CACHE_ENABLED, 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, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
Methods inherited from class com.liferay.portal.model.impl.UserModelImpl |
clone, compareTo, equals, getActive, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, getExpandoBridge, getFacebookId, getFailedLoginAttempts, getFirstName, getGraceLoginCount, getGreeting, getJobTitle, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLastName, getLockout, getLockoutDate, getLoginDate, getLoginIP, getMiddleName, getModifiedDate, getOpenId, getOriginalCompanyId, getOriginalContactId, getOriginalDefaultUser, getOriginalEmailAddress, getOriginalFacebookId, getOriginalOpenId, getOriginalPortraitId, getOriginalScreenName, getOriginalUserId, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getPrimaryKeyObj, getReminderQueryAnswer, getReminderQueryQuestion, getScreenName, getTimeZoneId, getUserId, getUserUuid, getUuid, hashCode, isActive, isAgreedToTermsOfUse, isDefaultUser, isLockout, isPasswordEncrypted, isPasswordReset, setActive, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setDigest, setEmailAddress, setExpandoBridgeAttributes, setFacebookId, setFailedLoginAttempts, setFirstName, setGraceLoginCount, setGreeting, setJobTitle, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLastName, setLockout, setLockoutDate, setLoginDate, setLoginIP, setMiddleName, setModifiedDate, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setUserId, setUserUuid, setUuid, toEscapedModel, toModel, toModels, toString, toXmlString |
Methods inherited from interface com.liferay.portal.model.UserModel |
clone, compareTo, getActive, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, 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, getTimeZoneId, getUserId, getUserUuid, getUuid, hashCode, isActive, isAgreedToTermsOfUse, isCachedModel, isDefaultUser, isEscapedModel, isLockout, isNew, isPasswordEncrypted, isPasswordReset, setActive, setAgreedToTermsOfUse, setCachedModel, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setDigest, setEmailAddress, setEscapedModel, 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, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setUserId, setUserUuid, setUuid, toEscapedModel, toString, toXmlString |
UserImpl
public UserImpl()
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()
- Description copied from interface:
UserModel
- Gets 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)
- 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
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)
- Specified by:
setPasswordModified
in interface User
setPasswordUnencrypted
public void setPasswordUnencrypted(String passwordUnencrypted)
- Specified by:
setPasswordUnencrypted
in interface 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
- Overrides:
setTimeZoneId
in class UserModelImpl
- Parameters:
timeZoneId
- the time zone id of this 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