Liferay 6.0.5

com.liferay.portal.model
Interface User

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

public interface User
extends UserModel

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

Never modify this interface directly. Add methods to UserImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

Never reference this interface directly. All methods that expect a user model instance should use the User interface instead.

See Also:
UserModel, UserImpl, UserModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 Date getBirthday()
           
 String getCompanyMx()
           
 Contact getContact()
           
 String getDigest()
          Gets the digest of this user.
 String getDigest(String password)
           
 String getDisplayEmailAddress()
           
 String getDisplayURL(String portalURL, String mainPath)
           
 String getDisplayURL(ThemeDisplay themeDisplay)
           
 boolean getFemale()
           
 String getFullName()
           
 Group getGroup()
           
 long[] getGroupIds()
           
 List<Group> getGroups()
           
 Locale getLocale()
           
 String getLogin()
           
 boolean getMale()
           
 List<Group> getMyPlaces()
           
 List<Group> getMyPlaces(int max)
           
 long[] getOrganizationIds()
           
 List<Organization> getOrganizations()
           
 boolean getPasswordModified()
           
 PasswordPolicy getPasswordPolicy()
           
 String getPasswordUnencrypted()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 Set<String> getReminderQueryQuestions()
           
 long[] getRoleIds()
           
 List<Role> getRoles()
           
 double getSocialContributionEquity()
           
 double getSocialParticipationEquity()
           
 double getSocialPersonalEquity()
           
 long[] getTeamIds()
           
 List<Team> getTeams()
           
 TimeZone getTimeZone()
           
 long[] getUserGroupIds()
           
 List<UserGroup> getUserGroups()
           
 boolean hasCompanyMx()
           
 boolean hasCompanyMx(String emailAddress)
           
 boolean hasMyPlaces()
           
 boolean hasOrganization()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasReminderQuery()
           
 boolean isFemale()
           
 boolean isMale()
           
 boolean isPasswordModified()
           
 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.
 void updateSocialContributionEquity(double value)
           
 void updateSocialParticipationEquity(double value)
           
 
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
 

Method Detail

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()
Description copied from interface: UserModel
Gets the digest of this user.

Specified by:
getDigest in interface UserModel
Returns:
the digest of this user

getDigest

String getDigest(String password)

getDisplayEmailAddress

String getDisplayEmailAddress()

getDisplayURL

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

getDisplayURL

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

getFemale

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

getFullName

String getFullName()

getGroup

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

getGroupIds

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

getGroups

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

getLocale

Locale getLocale()

getLogin

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

getMale

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

getMyPlaces

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

getMyPlaces

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

getOrganizationIds

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

getOrganizations

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

getPasswordModified

boolean getPasswordModified()

getPasswordPolicy

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

getPasswordUnencrypted

String getPasswordUnencrypted()

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

getRoleIds

long[] getRoleIds()
                  throws SystemException
Throws:
SystemException

getRoles

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

getSocialContributionEquity

double getSocialContributionEquity()

getSocialParticipationEquity

double getSocialParticipationEquity()

getSocialPersonalEquity

double getSocialPersonalEquity()

getTeamIds

long[] getTeamIds()
                  throws SystemException
Throws:
SystemException

getTeams

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

getUserGroupIds

long[] getUserGroupIds()
                       throws SystemException
Throws:
SystemException

getUserGroups

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

getTimeZone

TimeZone getTimeZone()

hasCompanyMx

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

hasCompanyMx

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

hasMyPlaces

boolean hasMyPlaces()
                    throws SystemException
Throws:
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()

isFemale

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

isMale

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

isPasswordModified

boolean isPasswordModified()

setLanguageId

void setLanguageId(String languageId)
Description copied from interface: UserModel
Sets the language id of this user.

Specified by:
setLanguageId in interface UserModel
Parameters:
languageId - the language id of this user

setPasswordModified

void setPasswordModified(boolean passwordModified)

setPasswordUnencrypted

void setPasswordUnencrypted(String passwordUnencrypted)

setTimeZoneId

void setTimeZoneId(String timeZoneId)
Description copied from interface: UserModel
Sets the time zone id of this user.

Specified by:
setTimeZoneId in interface UserModel
Parameters:
timeZoneId - the time zone id of this user

updateSocialContributionEquity

void updateSocialContributionEquity(double value)

updateSocialParticipationEquity

void updateSocialParticipationEquity(double value)

Liferay 6.0.5