|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<User>
com.liferay.portal.model.impl.UserModelImpl
com.liferay.portal.model.impl.UserBaseImpl
com.liferay.portal.model.impl.UserImpl
public class UserImpl
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
UserImpl()
|
|
| Method Summary | |
|---|---|
void |
addRemotePreference(RemotePreference remotePreference)
|
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)
Deprecated. As of 7.0.0, replaced by getDisplayURL(ThemeDisplay) |
String |
getDisplayURL(String portalURL,
String mainPath,
boolean privateLayout)
Deprecated. As of 7.0.0, replaced by getDisplayURL(ThemeDisplay) |
String |
getDisplayURL(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. |
String |
getDisplayURL(ThemeDisplay themeDisplay,
boolean privateLayout)
Returns the user's display URL based on the theme display. |
List<EmailAddress> |
getEmailAddresses()
Returns the user's email addresses. |
boolean |
getFemale()
Returns true if the user is female. |
String |
getFullName()
Returns the user's full name. |
Group |
getGroup()
|
long |
getGroupId()
|
long[] |
getGroupIds()
|
List<Group> |
getGroups()
|
Locale |
getLocale()
|
String |
getLogin()
|
boolean |
getMale()
Returns true if the user is male. |
List<Group> |
getMySiteGroups()
|
List<Group> |
getMySiteGroups(boolean includeControlPanel,
int max)
|
List<Group> |
getMySiteGroups(int max)
|
List<Group> |
getMySiteGroups(String[] classNames,
boolean includeControlPanel,
int max)
|
List<Group> |
getMySiteGroups(String[] classNames,
int max)
|
List<Group> |
getMySites()
Deprecated. As of 6.2.0, replaced by getMySiteGroups() |
List<Group> |
getMySites(boolean includeControlPanel,
int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(boolean,
int) |
List<Group> |
getMySites(int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(int) |
List<Group> |
getMySites(String[] classNames,
boolean includeControlPanel,
int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(String[],
boolean, int) |
List<Group> |
getMySites(String[] classNames,
int max)
Deprecated. As of 6.2.0, replaced by getMySiteGroups(String[],
int) |
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()
|
RemotePreference |
getRemotePreference(String name)
|
Iterable<RemotePreference> |
getRemotePreferences()
|
long[] |
getRoleIds()
|
List<Role> |
getRoles()
|
List<Group> |
getSiteGroups()
|
List<Group> |
getSiteGroups(boolean includeAdministrative)
|
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 |
isEmailAddressComplete()
|
boolean |
isEmailAddressVerificationComplete()
|
boolean |
isFemale()
|
boolean |
isMale()
|
boolean |
isPasswordModified()
|
boolean |
isReminderQueryComplete()
|
boolean |
isSetupComplete()
|
boolean |
isTermsOfUseComplete()
|
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.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.model.BaseModel |
|---|
getModelAttributes, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.StagedModel |
|---|
getStagedModelType |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Constructor Detail |
|---|
public UserImpl()
| Method Detail |
|---|
public void addRemotePreference(RemotePreference remotePreference)
public List<Address> getAddresses()
throws SystemException
SystemException
public Date getBirthday()
throws PortalException,
SystemException
PortalException
SystemException
public String getCompanyMx()
throws PortalException,
SystemException
PortalException
SystemException
public Contact getContact()
throws PortalException,
SystemException
PortalException
SystemExceptionpublic String getDigest()
UserModel
getDigest in interface UserModelgetDigest in class UserModelImplpublic String getDigest(String password)
public String getDisplayEmailAddress()
@Deprecated
public String getDisplayURL(String portalURL,
String mainPath)
throws PortalException,
SystemException
getDisplayURL(ThemeDisplay)
The logic for the display URL to return is as follows:
portalURL - the portal's URLmainPath - the main path
PortalException - if a portal exception occurred
SystemException - if a system exception occurred
@Deprecated
public String getDisplayURL(String portalURL,
String mainPath,
boolean privateLayout)
throws PortalException,
SystemException
getDisplayURL(ThemeDisplay)
The logic for the display URL to return is as follows:
privateLayout is true, return the URL
of the user's default intranet site home page.
portalURL - the portal's URLmainPath - the main pathprivateLayout - 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
PortalException - if a portal exception occurred
SystemException - if a system exception occurred
public String getDisplayURL(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
The logic for the display URL to return is as follows:
themeDisplay - the theme display
PortalException - if a portal exception occurred
SystemException - if a system exception occurred
public String getDisplayURL(ThemeDisplay themeDisplay,
boolean privateLayout)
throws PortalException,
SystemException
The logic for the display URL to return is as follows:
privateLayout is true, return the URL
of the user's default intranet site home page.
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
PortalException - if a portal exception occurred
SystemException - if a system exception occurred
public List<EmailAddress> getEmailAddresses()
throws SystemException
SystemException - if a system exception occurred
public boolean getFemale()
throws PortalException,
SystemException
true if the user is female.
true if the user is female; false
otherwise
PortalException - if a portal exception occurred
SystemException - if a system exception occurred@AutoEscape public String getFullName()
public Group getGroup()
throws PortalException,
SystemException
PortalException
SystemException
public long getGroupId()
throws PortalException,
SystemException
PortalException
SystemException
public long[] getGroupIds()
throws SystemException
SystemException
public List<Group> getGroups()
throws SystemException
SystemExceptionpublic Locale getLocale()
public String getLogin()
throws PortalException,
SystemException
PortalException
SystemException
public boolean getMale()
throws PortalException,
SystemException
true if the user is male.
true if the user is male; false
otherwise
PortalException - if a portal exception occurred
SystemException - if a system exception occurred
public List<Group> getMySiteGroups()
throws PortalException,
SystemException
PortalException
SystemException
public List<Group> getMySiteGroups(boolean includeControlPanel,
int max)
throws PortalException,
SystemException
PortalException
SystemException
public List<Group> getMySiteGroups(int max)
throws PortalException,
SystemException
PortalException
SystemException
public List<Group> getMySiteGroups(String[] classNames,
boolean includeControlPanel,
int max)
throws PortalException,
SystemException
PortalException
SystemException
public List<Group> getMySiteGroups(String[] classNames,
int max)
throws PortalException,
SystemException
PortalException
SystemException
public List<Group> getMySites()
throws PortalException,
SystemException
getMySiteGroups()
PortalException
SystemException
public List<Group> getMySites(boolean includeControlPanel,
int max)
throws PortalException,
SystemException
getMySiteGroups(boolean,
int)
PortalException
SystemException
public List<Group> getMySites(int max)
throws PortalException,
SystemException
getMySiteGroups(int)
PortalException
SystemException
public List<Group> getMySites(String[] classNames,
boolean includeControlPanel,
int max)
throws PortalException,
SystemException
getMySiteGroups(String[],
boolean, int)
PortalException
SystemException
public List<Group> getMySites(String[] classNames,
int max)
throws PortalException,
SystemException
getMySiteGroups(String[],
int)
PortalException
SystemException
public long[] getOrganizationIds()
throws PortalException,
SystemException
PortalException
SystemException
public long[] getOrganizationIds(boolean includeAdministrative)
throws PortalException,
SystemException
PortalException
SystemException
public List<Organization> getOrganizations()
throws PortalException,
SystemException
PortalException
SystemException
public List<Organization> getOrganizations(boolean includeAdministrative)
throws PortalException,
SystemException
PortalException
SystemExceptionpublic boolean getPasswordModified()
public PasswordPolicy getPasswordPolicy()
throws PortalException,
SystemException
PortalException
SystemExceptionpublic String getPasswordUnencrypted()
public List<Phone> getPhones()
throws SystemException
SystemException
public String getPortraitURL(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalException
SystemException
public int getPrivateLayoutsPageCount()
throws PortalException,
SystemException
PortalException
SystemException
public int getPublicLayoutsPageCount()
throws PortalException,
SystemException
PortalException
SystemException
public Set<String> getReminderQueryQuestions()
throws PortalException,
SystemException
PortalException
SystemExceptionpublic RemotePreference getRemotePreference(String name)
public Iterable<RemotePreference> getRemotePreferences()
public long[] getRoleIds()
throws SystemException
SystemException
public List<Role> getRoles()
throws SystemException
SystemException
public List<Group> getSiteGroups()
throws PortalException,
SystemException
PortalException
SystemException
public List<Group> getSiteGroups(boolean includeAdministrative)
throws PortalException,
SystemException
PortalException
SystemException
public long[] getTeamIds()
throws SystemException
SystemException
public List<Team> getTeams()
throws SystemException
SystemExceptionpublic TimeZone getTimeZone()
public long[] getUserGroupIds()
throws SystemException
SystemException
public List<UserGroup> getUserGroups()
throws SystemException
SystemException
public List<Website> getWebsites()
throws SystemException
SystemException
public boolean hasCompanyMx()
throws PortalException,
SystemException
PortalException
SystemException
public boolean hasCompanyMx(String emailAddress)
throws PortalException,
SystemException
PortalException
SystemException
public boolean hasMySites()
throws PortalException,
SystemException
PortalException
SystemException
public boolean hasOrganization()
throws PortalException,
SystemException
PortalException
SystemException
public boolean hasPrivateLayouts()
throws PortalException,
SystemException
PortalException
SystemException
public boolean hasPublicLayouts()
throws PortalException,
SystemException
PortalException
SystemExceptionpublic boolean hasReminderQuery()
public boolean isActive()
public boolean isEmailAddressComplete()
public boolean isEmailAddressVerificationComplete()
public boolean isFemale()
throws PortalException,
SystemException
PortalException
SystemException
public boolean isMale()
throws PortalException,
SystemException
PortalException
SystemExceptionpublic boolean isPasswordModified()
public boolean isReminderQueryComplete()
public boolean isSetupComplete()
public boolean isTermsOfUseComplete()
public void setLanguageId(String languageId)
UserModel
setLanguageId in interface UserModelsetLanguageId in class UserModelImpllanguageId - the language ID of this userpublic void setPasswordModified(boolean passwordModified)
public void setPasswordUnencrypted(String passwordUnencrypted)
public void setTimeZoneId(String timeZoneId)
UserModel
setTimeZoneId in interface UserModelsetTimeZoneId in class UserModelImpltimeZoneId - the time zone ID of this userprotected String getProfileFriendlyURL()
|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||