@ProviderType public interface User extends UserModel, PersistedModel
UserModel,
UserImpl,
UserModelImpl| Modifier and Type | Method and Description |
|---|---|
void |
addRemotePreference(RemotePreference remotePreference) |
java.util.List<Address> |
getAddresses() |
java.util.Date |
getBirthday() |
java.lang.String |
getCompanyMx() |
Contact |
getContact() |
java.lang.String |
getDigest(java.lang.String password) |
java.lang.String |
getDisplayEmailAddress() |
java.lang.String |
getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath)
Deprecated.
As of 7.0.0, replaced by
getDisplayURL(ThemeDisplay) |
java.lang.String |
getDisplayURL(java.lang.String portalURL,
java.lang.String mainPath,
boolean privateLayout)
Deprecated.
As of 7.0.0, replaced by
getDisplayURL(ThemeDisplay) |
java.lang.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.
|
java.lang.String |
getDisplayURL(ThemeDisplay themeDisplay,
boolean privateLayout)
Returns the user's display URL based on the theme display.
|
java.util.List<EmailAddress> |
getEmailAddresses()
Returns the user's email addresses.
|
boolean |
getFemale()
Returns
true if the user is female. |
java.lang.String |
getFullName()
Returns the user's full name.
|
Group |
getGroup() |
long |
getGroupId() |
long[] |
getGroupIds() |
java.util.List<Group> |
getGroups() |
java.util.Locale |
getLocale() |
java.lang.String |
getLogin() |
boolean |
getMale()
Returns
true if the user is male. |
java.util.List<Group> |
getMySiteGroups() |
java.util.List<Group> |
getMySiteGroups(boolean includeControlPanel,
int max) |
java.util.List<Group> |
getMySiteGroups(int max) |
java.util.List<Group> |
getMySiteGroups(java.lang.String[] classNames,
boolean includeControlPanel,
int max) |
java.util.List<Group> |
getMySiteGroups(java.lang.String[] classNames,
int max) |
java.util.List<Group> |
getMySites()
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups() |
java.util.List<Group> |
getMySites(boolean includeControlPanel,
int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(boolean,
int) |
java.util.List<Group> |
getMySites(int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(int) |
java.util.List<Group> |
getMySites(java.lang.String[] classNames,
boolean includeControlPanel,
int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(String[],
boolean, int) |
java.util.List<Group> |
getMySites(java.lang.String[] classNames,
int max)
Deprecated.
As of 6.2.0, replaced by
getMySiteGroups(String[],
int) |
long[] |
getOrganizationIds() |
long[] |
getOrganizationIds(boolean includeAdministrative) |
java.util.List<Organization> |
getOrganizations() |
java.util.List<Organization> |
getOrganizations(boolean includeAdministrative) |
boolean |
getPasswordModified() |
PasswordPolicy |
getPasswordPolicy() |
java.lang.String |
getPasswordUnencrypted() |
java.util.List<Phone> |
getPhones() |
java.lang.String |
getPortraitURL(ThemeDisplay themeDisplay) |
int |
getPrivateLayoutsPageCount() |
int |
getPublicLayoutsPageCount() |
java.util.Set<java.lang.String> |
getReminderQueryQuestions() |
RemotePreference |
getRemotePreference(java.lang.String name) |
java.lang.Iterable<RemotePreference> |
getRemotePreferences() |
long[] |
getRoleIds() |
java.util.List<Role> |
getRoles() |
java.util.List<Group> |
getSiteGroups() |
java.util.List<Group> |
getSiteGroups(boolean includeAdministrative) |
long[] |
getTeamIds() |
java.util.List<Team> |
getTeams() |
java.util.TimeZone |
getTimeZone() |
long[] |
getUserGroupIds() |
java.util.List<UserGroup> |
getUserGroups() |
java.util.List<Website> |
getWebsites() |
boolean |
hasCompanyMx() |
boolean |
hasCompanyMx(java.lang.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 |
setPasswordModified(boolean passwordModified) |
void |
setPasswordUnencrypted(java.lang.String passwordUnencrypted) |
clone, compareTo, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getDigest, getEmailAddress, getEmailAddressVerified, getExpandoBridge, getFacebookId, getFailedLoginAttempts, getFirstName, getGraceLoginCount, getGreeting, getJobTitle, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLastName, getLdapServerId, 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setFacebookId, setFailedLoginAttempts, setFirstName, setGraceLoginCount, setGreeting, setJobTitle, setLanguageId, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLastName, setLdapServerId, setLockout, setLockoutDate, setLoginDate, setLoginIP, setMiddleName, setModifiedDate, setNew, setOpenId, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setPrimaryKeyObj, setReminderQueryAnswer, setReminderQueryQuestion, setScreenName, setStatus, setTimeZoneId, setUserId, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetModelAttributes, resetOriginalValues, setModelAttributesgetStagedModelTypegetModelClass, getModelClassNamepersistvoid addRemotePreference(RemotePreference remotePreference)
java.util.List<Address> getAddresses() throws SystemException
SystemExceptionjava.util.Date getBirthday()
throws PortalException,
SystemException
PortalExceptionSystemExceptionjava.lang.String getCompanyMx()
throws PortalException,
SystemException
PortalExceptionSystemExceptionContact getContact() throws PortalException, SystemException
PortalExceptionSystemExceptionjava.lang.String getDigest(java.lang.String password)
java.lang.String getDisplayEmailAddress()
@Deprecated
java.lang.String getDisplayURL(java.lang.String portalURL,
java.lang.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 pathPortalException - if a portal exception occurredSystemException - if a system exception occurred@Deprecated
java.lang.String getDisplayURL(java.lang.String portalURL,
java.lang.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 profilePortalException - if a portal exception occurredSystemException - if a system exception occurredjava.lang.String getDisplayURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
The logic for the display URL to return is as follows:
themeDisplay - the theme displayPortalException - if a portal exception occurredSystemException - if a system exception occurredjava.lang.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 profilePortalException - if a portal exception occurredSystemException - if a system exception occurredjava.util.List<EmailAddress> getEmailAddresses() throws SystemException
SystemException - if a system exception occurredboolean getFemale()
throws PortalException,
SystemException
true if the user is female.true if the user is female; false
otherwisePortalException - if a portal exception occurredSystemException - if a system exception occurred@AutoEscape java.lang.String getFullName()
Group getGroup() throws PortalException, SystemException
PortalExceptionSystemExceptionlong getGroupId()
throws PortalException,
SystemException
PortalExceptionSystemExceptionlong[] getGroupIds()
throws SystemException
SystemExceptionjava.util.List<Group> getGroups() throws SystemException
SystemExceptionjava.util.Locale getLocale()
java.lang.String getLogin()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean getMale()
throws PortalException,
SystemException
true if the user is male.true if the user is male; false
otherwisePortalException - if a portal exception occurredSystemException - if a system exception occurredjava.util.List<Group> getMySiteGroups() throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<Group> getMySiteGroups(boolean includeControlPanel, int max) throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<Group> getMySiteGroups(int max) throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<Group> getMySiteGroups(java.lang.String[] classNames, boolean includeControlPanel, int max) throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<Group> getMySiteGroups(java.lang.String[] classNames, int max) throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<Group> getMySites() throws PortalException, SystemException
getMySiteGroups()PortalExceptionSystemExceptionjava.util.List<Group> getMySites(boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups(boolean,
int)PortalExceptionSystemExceptionjava.util.List<Group> getMySites(int max) throws PortalException, SystemException
getMySiteGroups(int)PortalExceptionSystemExceptionjava.util.List<Group> getMySites(java.lang.String[] classNames, boolean includeControlPanel, int max) throws PortalException, SystemException
getMySiteGroups(String[],
boolean, int)PortalExceptionSystemExceptionjava.util.List<Group> getMySites(java.lang.String[] classNames, int max) throws PortalException, SystemException
getMySiteGroups(String[],
int)PortalExceptionSystemExceptionlong[] getOrganizationIds()
throws PortalException,
SystemException
PortalExceptionSystemExceptionlong[] getOrganizationIds(boolean includeAdministrative)
throws PortalException,
SystemException
PortalExceptionSystemExceptionjava.util.List<Organization> getOrganizations() throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<Organization> getOrganizations(boolean includeAdministrative) throws PortalException, SystemException
PortalExceptionSystemExceptionboolean getPasswordModified()
PasswordPolicy getPasswordPolicy() throws PortalException, SystemException
PortalExceptionSystemExceptionjava.lang.String getPasswordUnencrypted()
java.util.List<Phone> getPhones() throws SystemException
SystemExceptionjava.lang.String getPortraitURL(ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalExceptionSystemExceptionint getPrivateLayoutsPageCount()
throws PortalException,
SystemException
PortalExceptionSystemExceptionint getPublicLayoutsPageCount()
throws PortalException,
SystemException
PortalExceptionSystemExceptionjava.util.Set<java.lang.String> getReminderQueryQuestions()
throws PortalException,
SystemException
PortalExceptionSystemExceptionRemotePreference getRemotePreference(java.lang.String name)
java.lang.Iterable<RemotePreference> getRemotePreferences()
long[] getRoleIds()
throws SystemException
SystemExceptionjava.util.List<Role> getRoles() throws SystemException
SystemExceptionjava.util.List<Group> getSiteGroups() throws PortalException, SystemException
PortalExceptionSystemExceptionjava.util.List<Group> getSiteGroups(boolean includeAdministrative) throws PortalException, SystemException
PortalExceptionSystemExceptionlong[] getTeamIds()
throws SystemException
SystemExceptionjava.util.List<Team> getTeams() throws SystemException
SystemExceptionjava.util.TimeZone getTimeZone()
long[] getUserGroupIds()
throws SystemException
SystemExceptionjava.util.List<UserGroup> getUserGroups() throws SystemException
SystemExceptionjava.util.List<Website> getWebsites() throws SystemException
SystemExceptionboolean hasCompanyMx()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean hasCompanyMx(java.lang.String emailAddress)
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean hasMySites()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean hasOrganization()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean hasPrivateLayouts()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean hasPublicLayouts()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean hasReminderQuery()
boolean isActive()
boolean isEmailAddressComplete()
boolean isEmailAddressVerificationComplete()
boolean isFemale()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean isMale()
throws PortalException,
SystemException
PortalExceptionSystemExceptionboolean isPasswordModified()
boolean isReminderQueryComplete()
boolean isSetupComplete()
boolean isTermsOfUseComplete()
void setPasswordModified(boolean passwordModified)
void setPasswordUnencrypted(java.lang.String passwordUnencrypted)