Package com.liferay.portal.model.impl
Class UserImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.User>
com.liferay.portal.model.impl.UserModelImpl
com.liferay.portal.model.impl.UserBaseImpl
com.liferay.portal.model.impl.UserImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.User>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.User>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.User
,com.liferay.portal.kernel.model.UserModel
,Serializable
,Cloneable
,Comparable<com.liferay.portal.kernel.model.User>
Represents a portal user, providing access to the user's contact information,
groups, organizations, teams, user groups, roles, locale, timezone, and more.
- Author:
- Brian Wing Shun Chan, Jorge Ferrer, Wesley Gong
- See Also:
-
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, EMAILADDRESS_COLUMN_BITMASK, ENTITY_CACHE_ENABLED, EXTERNALREFERENCECODE_COLUMN_BITMASK, FACEBOOKID_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_USERS_GROUPS, FINDER_CACHE_ENABLED_USERS_ORGS, FINDER_CACHE_ENABLED_USERS_ROLES, FINDER_CACHE_ENABLED_USERS_TEAMS, FINDER_CACHE_ENABLED_USERS_USERGROUPS, GOOGLEUSERID_COLUMN_BITMASK, 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_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, ORDER_BY_JPQL, ORDER_BY_SQL, PORTRAITID_COLUMN_BITMASK, SCREENNAME_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, TYPE_COLUMN_BITMASK, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK
Fields inherited from interface com.liferay.portal.kernel.model.User
USER_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.Contact
fetchPortraitURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) List<com.liferay.portal.kernel.model.Address>
Returns the user's addresses.List<com.liferay.portal.kernel.model.Group>
List<com.liferay.portal.kernel.model.Role>
Returns the user's birth date.Returns the user's company's mail domain.com.liferay.portal.kernel.model.Contact
Returns the user's associated contact.Deprecated.As of Cavanaugh (7.4.x), with no direct replacementReturns the user's primary email address, or a blank string if the address is fake.getDisplayURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) Returns the user's display URL based on the theme display, discounting the URL of the user's default intranet site home page.getDisplayURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean privateLayout) Returns the user's display URL based on the theme display.List<com.liferay.portal.kernel.model.EmailAddress>
Returns the user's email addresses.boolean
Returnstrue
if the user is female.Returns the user's full name.getFullName
(boolean usePrefix, boolean useSuffix) Returns the user's full name.com.liferay.portal.kernel.model.Group
getGroup()
long
long[]
List<com.liferay.portal.kernel.model.Group>
List<com.liferay.portal.kernel.model.Group>
List<com.liferay.portal.kernel.model.Role>
List<com.liferay.portal.kernel.model.Group>
List<com.liferay.portal.kernel.model.Role>
getLogin()
boolean
getMale()
Returnstrue
if the user is male.List<com.liferay.portal.kernel.model.Group>
List<com.liferay.portal.kernel.model.Group>
getMySiteGroups
(int max) List<com.liferay.portal.kernel.model.Group>
getMySiteGroups
(String[] classNames, int max) long[]
long[]
getOrganizationIds
(boolean includeAdministrative) List<com.liferay.portal.kernel.model.Organization>
List<com.liferay.portal.kernel.model.Organization>
getOrganizations
(boolean includeAdministrative) List<com.liferay.portal.kernel.model.Organization>
getOrganizations
(boolean includeAdministrative, boolean includeParentOrganizations) List<com.liferay.portal.kernel.model.Group>
List<com.liferay.portal.kernel.model.Role>
boolean
com.liferay.portal.kernel.model.PasswordPolicy
List<com.liferay.portal.kernel.model.Phone>
getPortraitURL
(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) int
protected String
int
long[]
List<com.liferay.portal.kernel.model.Role>
getRoles()
List<com.liferay.portal.kernel.model.Group>
List<com.liferay.portal.kernel.model.Group>
getSiteGroups
(boolean includeAdministrative) List<com.liferay.portal.kernel.model.Role>
long[]
List<com.liferay.portal.kernel.model.Team>
getTeams()
getUnlockDate
(com.liferay.portal.kernel.model.PasswordPolicy passwordPolicy) long[]
List<com.liferay.portal.kernel.model.UserGroupRole>
List<com.liferay.portal.kernel.model.UserGroup>
List<com.liferay.portal.kernel.model.Website>
boolean
boolean
hasCompanyMx
(String emailAddress) boolean
boolean
boolean
boolean
boolean
boolean
isActive()
boolean
Deprecated.As of Cavanaugh (7.4.x), replaced byisGuestUser()
boolean
boolean
boolean
isFemale()
boolean
boolean
isMale()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setContact
(com.liferay.portal.kernel.model.Contact contact) void
Deprecated.As of Cavanaugh (7.4.x), with no direct replacementvoid
setGroup
(com.liferay.portal.kernel.model.Group group) void
setGroupId
(long groupId) void
setGroupIds
(long[] groupIds) void
setLanguageId
(String languageId) void
setOrganizationIds
(long[] organizationIds) void
setPasswordModified
(boolean passwordModified) void
setPasswordUnencrypted
(String passwordUnencrypted) void
setRoleIds
(long[] roleIds) void
setTeamIds
(long[] teamIds) void
setTimeZoneId
(String timeZoneId) void
setUserGroupIds
(long[] userGroupIds) Methods inherited from class com.liferay.portal.model.impl.UserBaseImpl
persist
Methods inherited from class com.liferay.portal.model.impl.UserModelImpl
clone, cloneWithOriginalValues, compareTo, equals, getAgreedToTermsOfUse, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getColumnBitmask, getColumnBitmask, getColumnOriginalValue, getColumnValue, getComments, getCompanyId, getContactId, getCreateDate, getCtCollectionId, getDigest, getEmailAddress, getEmailAddressVerified, getExpandoBridge, getExternalReferenceCode, getFacebookId, getFailedLoginAttempts, getFirstName, getGoogleUserId, getGraceLoginCount, getGreeting, getJobTitle, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLastName, getLdapServerId, getLockout, getLockoutDate, getLoginDate, getLoginIP, getMiddleName, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getOpenId, getOriginalCompanyId, getOriginalContactId, getOriginalCreateDate, getOriginalExternalReferenceCode, getOriginalFacebookId, getOriginalGoogleUserId, getOriginalModifiedDate, getOriginalOpenId, getOriginalPortraitId, getOriginalScreenName, getOriginalStatus, getOriginalType, getOriginalUserId, getOriginalUuid, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getPrimaryKeyObj, getReminderQueryAnswer, getReminderQueryQuestion, getScreenName, getStagedModelType, getStatus, getTimeZoneId, getType, getUserId, getUserUuid, getUuid, hashCode, hasSetModifiedDate, isAgreedToTermsOfUse, isEmailAddressVerified, isEntityCacheEnabled, isFinderCacheEnabled, isLockout, isPasswordEncrypted, isPasswordReset, resetOriginalValues, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setCtCollectionId, setEmailAddress, setEmailAddressVerified, setExpandoBridgeAttributes, setExternalReferenceCode, setFacebookId, setFailedLoginAttempts, setFirstName, setGoogleUserId, setGraceLoginCount, setGreeting, setJobTitle, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLastName, setLdapServerId, setLockout, setLockoutDate, setLoginDate, setLoginIP, setMiddleName, setModelAttributes, setModifiedDate, setMvccVersion, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setPrimaryKeyObj, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setStatus, setType, setUserId, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
Methods inherited from interface com.liferay.portal.kernel.model.UserModel
cloneWithOriginalValues, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getCtCollectionId, getDigest, getEmailAddress, getEmailAddressVerified, getExternalReferenceCode, getFacebookId, getFailedLoginAttempts, getFirstName, getGoogleUserId, getGraceLoginCount, getGreeting, getJobTitle, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLastName, getLdapServerId, getLockout, getLockoutDate, getLoginDate, getLoginIP, getMiddleName, getModifiedDate, getMvccVersion, getOpenId, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getReminderQueryAnswer, getReminderQueryQuestion, getScreenName, getStatus, getTimeZoneId, getType, getUserId, getUserUuid, getUuid, isAgreedToTermsOfUse, isEmailAddressVerified, isLockout, isPasswordEncrypted, isPasswordReset, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setCtCollectionId, setEmailAddress, setEmailAddressVerified, setExternalReferenceCode, setFacebookId, setFailedLoginAttempts, setFirstName, setGoogleUserId, setGraceLoginCount, setGreeting, setJobTitle, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLastName, setLdapServerId, setLockout, setLockoutDate, setLoginDate, setLoginIP, setMiddleName, setModifiedDate, setMvccVersion, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setStatus, setType, setUserId, setUserUuid, setUuid, toXmlString
-
Constructor Details
-
UserImpl
public UserImpl()
-
-
Method Details
-
fetchContact
public com.liferay.portal.kernel.model.Contact fetchContact() -
fetchPortraitURL
-
getAddresses
Returns the user's addresses.- Returns:
- the user's addresses
-
getAllGroups
public List<com.liferay.portal.kernel.model.Group> getAllGroups() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAllRoles
public List<com.liferay.portal.kernel.model.Role> getAllRoles() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBirthday
Returns the user's birth date.- Returns:
- the user's birth date
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyMx
Returns the user's company's mail domain.- Returns:
- the user's company's mail domain
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getContact
public com.liferay.portal.kernel.model.Contact getContact() throws com.liferay.portal.kernel.exception.PortalExceptionReturns the user's associated contact.- Returns:
- the user's associated contact
- Throws:
com.liferay.portal.kernel.exception.PortalException
- See Also:
-
Contact
-
getDigest
Deprecated.As of Cavanaugh (7.4.x), with no direct replacementReturns a digest for the user, incorporating the password.- Parameters:
password
- a password to incorporate with the digest- Returns:
- a digest for the user, incorporating the password
-
getDisplayEmailAddress
Returns the user's primary email address, or a blank string if the address is fake.- Returns:
- the user's primary email address, or a blank string if the address is fake
-
getDisplayURL
public String getDisplayURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException Returns the user's display URL based on the theme display, discounting the URL of the user's default intranet site home page.The logic for the display URL to return is as follows:
- If the user is the guest user, return an empty string.
- Else, if a friendly URL is available for the user's profile, return that friendly URL.
- Otherwise, return the URL of the user's default extranet site home page.
- Parameters:
themeDisplay
- the theme display- Returns:
- the user's display URL
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDisplayURL
public String getDisplayURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean privateLayout) throws com.liferay.portal.kernel.exception.PortalException Returns the user's display URL based on the theme display.The logic for the display URL to return is as follows:
- If the user is the guest user, return an empty string.
- Else, if a friendly URL is available for the user's profile, return that friendly URL.
-
Else, if
privateLayout
istrue
, return the URL of the user's default intranet site home page. - Otherwise, return the URL of the user's default extranet site home page.
- Parameters:
themeDisplay
- the theme displayprivateLayout
- whether to use the URL of the user's default intranet (versus extranet) site home page, if no friendly URL is available for the user's profile- Returns:
- the user's display URL
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getEmailAddresses
Returns the user's email addresses.- Returns:
- the user's email addresses
-
getFemale
public boolean getFemale() throws com.liferay.portal.kernel.exception.PortalExceptionReturnstrue
if the user is female.- Returns:
true
if the user is female;false
otherwise- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFullName
Returns the user's full name.- Returns:
- the user's full name
-
getFullName
Returns the user's full name.- Returns:
- the user's full name
-
getGroup
public com.liferay.portal.kernel.model.Group getGroup() -
getGroupId
public long getGroupId()- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.User
- Overrides:
getGroupId
in classUserModelImpl
-
getGroupIds
public long[] getGroupIds() -
getGroups
-
getInheritedGroups
public List<com.liferay.portal.kernel.model.Group> getInheritedGroups() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getInheritedRoles
public List<com.liferay.portal.kernel.model.Role> getInheritedRoles() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getInheritedSiteGroups
public List<com.liferay.portal.kernel.model.Group> getInheritedSiteGroups() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getInheritedSiteRoles
-
getInitials
-
getLocale
-
getLogin
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMale
public boolean getMale() throws com.liferay.portal.kernel.exception.PortalExceptionReturnstrue
if the user is male.- Returns:
true
if the user is male;false
otherwise- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMySiteGroups
public List<com.liferay.portal.kernel.model.Group> getMySiteGroups() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMySiteGroups
public List<com.liferay.portal.kernel.model.Group> getMySiteGroups(int max) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMySiteGroups
public List<com.liferay.portal.kernel.model.Group> getMySiteGroups(String[] classNames, int max) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationIds
public long[] getOrganizationIds() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationIds
public long[] getOrganizationIds(boolean includeAdministrative) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizations
public List<com.liferay.portal.kernel.model.Organization> getOrganizations() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizations
public List<com.liferay.portal.kernel.model.Organization> getOrganizations(boolean includeAdministrative) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizations
public List<com.liferay.portal.kernel.model.Organization> getOrganizations(boolean includeAdministrative, boolean includeParentOrganizations) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationsGroups
public List<com.liferay.portal.kernel.model.Group> getOrganizationsGroups() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOrganizationsRoles
public List<com.liferay.portal.kernel.model.Role> getOrganizationsRoles() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOriginalEmailAddress
- Specified by:
getOriginalEmailAddress
in interfacecom.liferay.portal.kernel.model.User
- Overrides:
getOriginalEmailAddress
in classUserModelImpl
-
getPasswordModified
public boolean getPasswordModified() -
getPasswordPolicy
public com.liferay.portal.kernel.model.PasswordPolicy getPasswordPolicy() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPasswordUnencrypted
-
getPhones
-
getPortraitURL
public String getPortraitURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getReminderQueryQuestions
public Set<String> getReminderQueryQuestions() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRoleIds
public long[] getRoleIds() -
getRoles
-
getSiteGroups
public List<com.liferay.portal.kernel.model.Group> getSiteGroups() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSiteGroups
public List<com.liferay.portal.kernel.model.Group> getSiteGroups(boolean includeAdministrative) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSiteRoles
public List<com.liferay.portal.kernel.model.Role> getSiteRoles() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTeamIds
public long[] getTeamIds() -
getTeams
-
getTimeZone
-
getUnlockDate
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUnlockDate
-
getUserGroupIds
public long[] getUserGroupIds() -
getUserGroupRoles
public List<com.liferay.portal.kernel.model.UserGroupRole> getUserGroupRoles() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserGroups
-
getWebsites
-
hasCompanyMx
public boolean hasCompanyMx() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasCompanyMx
public boolean hasCompanyMx(String emailAddress) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasMySites
public boolean hasMySites() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasOrganization
public boolean hasOrganization() -
hasPrivateLayouts
public boolean hasPrivateLayouts() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasPublicLayouts
public boolean hasPublicLayouts() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
hasReminderQuery
public boolean hasReminderQuery() -
isActive
public boolean isActive() -
isDefaultUser
Deprecated.As of Cavanaugh (7.4.x), replaced byisGuestUser()
-
isEmailAddressComplete
public boolean isEmailAddressComplete() -
isEmailAddressVerificationComplete
public boolean isEmailAddressVerificationComplete() -
isFemale
public boolean isFemale() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isGuestUser
public boolean isGuestUser() -
isMale
public boolean isMale() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isOnDemandUser
public boolean isOnDemandUser() -
isPasswordModified
public boolean isPasswordModified() -
isPasswordResetRequired
public boolean isPasswordResetRequired() -
isReminderQueryComplete
public boolean isReminderQueryComplete() -
isServiceAccountUser
public boolean isServiceAccountUser() -
isSetupComplete
public boolean isSetupComplete() -
isTermsOfUseComplete
public boolean isTermsOfUseComplete() -
setContact
public void setContact(com.liferay.portal.kernel.model.Contact contact) -
setDigest
Deprecated.As of Cavanaugh (7.4.x), with no direct replacementSets the user's digest.- Specified by:
setDigest
in interfacecom.liferay.portal.kernel.model.UserModel
- Overrides:
setDigest
in classUserModelImpl
-
setGroup
public void setGroup(com.liferay.portal.kernel.model.Group group) -
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.User
- Overrides:
setGroupId
in classUserModelImpl
-
setGroupIds
public void setGroupIds(long[] groupIds) -
setLanguageId
- Specified by:
setLanguageId
in interfacecom.liferay.portal.kernel.model.UserModel
- Overrides:
setLanguageId
in classUserModelImpl
-
setOrganizationIds
public void setOrganizationIds(long[] organizationIds) -
setPasswordModified
public void setPasswordModified(boolean passwordModified) -
setPasswordUnencrypted
-
setRoleIds
public void setRoleIds(long[] roleIds) -
setTeamIds
public void setTeamIds(long[] teamIds) -
setTimeZoneId
- Specified by:
setTimeZoneId
in interfacecom.liferay.portal.kernel.model.UserModel
- Overrides:
setTimeZoneId
in classUserModelImpl
-
setUserGroupIds
public void setUserGroupIds(long[] userGroupIds) -
getProfileFriendlyURL
-