Liferay 6.2-ce-ga2

com.liferay.portal.model
Interface User

All Superinterfaces:
BaseModel<User>, ClassedModel, Cloneable, Comparable<User>, PersistedModel, Serializable, StagedModel, UserModel
All Known Implementing Classes:
UserWrapper

@ProviderType
public interface User
extends UserModel, PersistedModel

The extended model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of this class.

See Also:
UserModel, UserImpl, UserModelImpl

Method Summary
 void addRemotePreference(RemotePreference remotePreference)
           
 List<Address> getAddresses()
           
 Date getBirthday()
           
 String getCompanyMx()
           
 Contact getContact()
           
 String getDigest(String password)
           
 String getDisplayEmailAddress()
           
 String getDisplayURL(String portalURL, String mainPath)
           
 String getDisplayURL(String portalURL, String mainPath, boolean privateLayout)
           
 String getDisplayURL(ThemeDisplay themeDisplay)
           
 String getDisplayURL(ThemeDisplay themeDisplay, boolean privateLayout)
           
 List<EmailAddress> getEmailAddresses()
           
 boolean getFemale()
           
 String getFullName()
           
 Group getGroup()
           
 long getGroupId()
           
 long[] getGroupIds()
           
 List<Group> getGroups()
           
 Locale getLocale()
           
 String getLogin()
           
 boolean getMale()
           
 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()
           
 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 setPasswordModified(boolean passwordModified)
           
 void setPasswordUnencrypted(String passwordUnencrypted)
           
 
Methods inherited from interface com.liferay.portal.model.UserModel
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, toXmlString
 
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
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

addRemotePreference

void addRemotePreference(RemotePreference remotePreference)

getAddresses

List<Address> getAddresses()
                           throws SystemException
Throws:
SystemException

getBirthday

Date getBirthday()
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getCompanyMx

String getCompanyMx()
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getContact

Contact getContact()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getDigest

String getDigest(String password)

getDisplayEmailAddress

String getDisplayEmailAddress()

getDisplayURL

String getDisplayURL(String portalURL,
                     String mainPath)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getDisplayURL

String getDisplayURL(String portalURL,
                     String mainPath,
                     boolean privateLayout)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getDisplayURL

String getDisplayURL(ThemeDisplay themeDisplay)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getDisplayURL

String getDisplayURL(ThemeDisplay themeDisplay,
                     boolean privateLayout)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

getEmailAddresses

List<EmailAddress> getEmailAddresses()
                                     throws SystemException
Throws:
SystemException

getFemale

boolean getFemale()
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

getFullName

@AutoEscape
String getFullName()

getGroup

Group getGroup()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

getGroupId

long getGroupId()
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getGroupIds

long[] getGroupIds()
                   throws SystemException
Throws:
SystemException

getGroups

List<Group> getGroups()
                      throws SystemException
Throws:
SystemException

getLocale

Locale getLocale()

getLogin

String getLogin()
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getMale

boolean getMale()
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getMySiteGroups

List<Group> getMySiteGroups()
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getMySiteGroups

List<Group> getMySiteGroups(boolean includeControlPanel,
                            int max)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getMySiteGroups

List<Group> getMySiteGroups(int max)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getMySiteGroups

List<Group> getMySiteGroups(String[] classNames,
                            boolean includeControlPanel,
                            int max)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getMySiteGroups

List<Group> getMySiteGroups(String[] classNames,
                            int max)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getMySites

List<Group> getMySites()
                       throws PortalException,
                              SystemException
Deprecated. As of 6.2.0, replaced by getMySiteGroups()

Throws:
PortalException
SystemException

getMySites

List<Group> getMySites(boolean includeControlPanel,
                       int max)
                       throws PortalException,
                              SystemException
Deprecated. As of 6.2.0, replaced by getMySiteGroups(boolean, int)

Throws:
PortalException
SystemException

getMySites

List<Group> getMySites(int max)
                       throws PortalException,
                              SystemException
Deprecated. As of 6.2.0, replaced by getMySiteGroups(int)

Throws:
PortalException
SystemException

getMySites

List<Group> getMySites(String[] classNames,
                       boolean includeControlPanel,
                       int max)
                       throws PortalException,
                              SystemException
Deprecated. As of 6.2.0, replaced by getMySiteGroups(String[], boolean, int)

Throws:
PortalException
SystemException

getMySites

List<Group> getMySites(String[] classNames,
                       int max)
                       throws PortalException,
                              SystemException
Deprecated. As of 6.2.0, replaced by getMySiteGroups(String[], int)

Throws:
PortalException
SystemException

getOrganizationIds

long[] getOrganizationIds()
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getOrganizationIds

long[] getOrganizationIds(boolean includeAdministrative)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getOrganizations

List<Organization> getOrganizations()
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getOrganizations

List<Organization> getOrganizations(boolean includeAdministrative)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getPasswordModified

boolean getPasswordModified()

getPasswordPolicy

PasswordPolicy getPasswordPolicy()
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getPasswordUnencrypted

String getPasswordUnencrypted()

getPhones

List<Phone> getPhones()
                      throws SystemException
Throws:
SystemException

getPortraitURL

String getPortraitURL(ThemeDisplay themeDisplay)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getPrivateLayoutsPageCount

int getPrivateLayoutsPageCount()
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getPublicLayoutsPageCount

int getPublicLayoutsPageCount()
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getReminderQueryQuestions

Set<String> getReminderQueryQuestions()
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

getRemotePreference

RemotePreference getRemotePreference(String name)

getRemotePreferences

Iterable<RemotePreference> getRemotePreferences()

getRoleIds

long[] getRoleIds()
                  throws SystemException
Throws:
SystemException

getRoles

List<Role> getRoles()
                    throws SystemException
Throws:
SystemException

getSiteGroups

List<Group> getSiteGroups()
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getSiteGroups

List<Group> getSiteGroups(boolean includeAdministrative)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getTeamIds

long[] getTeamIds()
                  throws SystemException
Throws:
SystemException

getTeams

List<Team> getTeams()
                    throws SystemException
Throws:
SystemException

getTimeZone

TimeZone getTimeZone()

getUserGroupIds

long[] getUserGroupIds()
                       throws SystemException
Throws:
SystemException

getUserGroups

List<UserGroup> getUserGroups()
                              throws SystemException
Throws:
SystemException

getWebsites

List<Website> getWebsites()
                          throws SystemException
Throws:
SystemException

hasCompanyMx

boolean hasCompanyMx()
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

hasCompanyMx

boolean hasCompanyMx(String emailAddress)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

hasMySites

boolean hasMySites()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

hasOrganization

boolean hasOrganization()
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

hasPrivateLayouts

boolean hasPrivateLayouts()
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

hasPublicLayouts

boolean hasPublicLayouts()
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

hasReminderQuery

boolean hasReminderQuery()

isActive

boolean isActive()

isEmailAddressComplete

boolean isEmailAddressComplete()

isEmailAddressVerificationComplete

boolean isEmailAddressVerificationComplete()

isFemale

boolean isFemale()
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

isMale

boolean isMale()
               throws PortalException,
                      SystemException
Throws:
PortalException
SystemException

isPasswordModified

boolean isPasswordModified()

isReminderQueryComplete

boolean isReminderQueryComplete()

isSetupComplete

boolean isSetupComplete()

isTermsOfUseComplete

boolean isTermsOfUseComplete()

setPasswordModified

void setPasswordModified(boolean passwordModified)

setPasswordUnencrypted

void setPasswordUnencrypted(String passwordUnencrypted)

Liferay 6.2-ce-ga2