com.liferay.portal.model.impl
Class UserImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portal.model.impl.UserModelImpl
          extended bycom.liferay.portal.model.impl.UserImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, com.liferay.portal.model.User, com.liferay.portal.model.UserModel

public class UserImpl
extends UserModelImpl
implements com.liferay.portal.model.User

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.model.impl.UserModelImpl
LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, XSS_ALLOW_BY_MODEL, XSS_ALLOW_COMMENTS, XSS_ALLOW_EMAILADDRESS, XSS_ALLOW_GREETING, XSS_ALLOW_LANGUAGEID, XSS_ALLOW_LASTLOGINIP, XSS_ALLOW_LOGINIP, XSS_ALLOW_PASSWORD, XSS_ALLOW_SCREENNAME, XSS_ALLOW_TIMEZONEID
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
UserImpl()
           
 
Method Summary
 java.util.Date getBirthday()
           
 java.lang.String getCompanyMx()
           
 com.liferay.portal.model.Contact getContact()
           
 boolean getFemale()
           
 java.lang.String getFirstName()
           
 java.lang.String getFullName()
           
static java.lang.String getFullName(java.lang.String firstName, java.lang.String middleName, java.lang.String lastName)
           
 com.liferay.portal.model.Group getGroup()
           
 java.lang.String getLastName()
           
 java.util.Locale getLocale()
           
 com.liferay.portal.model.Organization getLocation()
           
 java.lang.String getLogin()
           
 boolean getMale()
           
 java.lang.String getMiddleName()
           
 com.liferay.portal.model.Organization getOrganization()
           
 boolean getPasswordModified()
           
 com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
           
 java.lang.String getPasswordUnencrypted()
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 java.util.TimeZone getTimeZone()
           
 boolean hasCompanyMx()
           
 boolean hasCompanyMx(java.lang.String emailAddress)
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean isFemale()
           
 boolean isLayoutsRequired()
           
 boolean isMale()
           
 boolean isPasswordModified()
           
 void setLanguageId(java.lang.String languageId)
           
 void setPasswordModified(boolean passwordModified)
           
 void setPasswordUnencrypted(java.lang.String passwordUnencrypted)
           
 void setTimeZoneId(java.lang.String timeZoneId)
           
 
Methods inherited from class com.liferay.portal.model.impl.UserModelImpl
clone, compareTo, equals, getActive, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, getFailedLoginAttempts, getGraceLoginCount, getGreeting, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLockout, getLockoutDate, getLoginDate, getLoginIP, getModifiedDate, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getPrimaryKeyObj, getScreenName, getTimeZoneId, getUserId, hashCode, isActive, isAgreedToTermsOfUse, isDefaultUser, isLockout, isPasswordEncrypted, isPasswordReset, setActive, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setEmailAddress, setFailedLoginAttempts, setGraceLoginCount, setGreeting, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLockout, setLockoutDate, setLoginDate, setLoginIP, setModifiedDate, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setScreenName, setUserId
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.UserModel
getActive, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getDefaultUser, getEmailAddress, getFailedLoginAttempts, getGraceLoginCount, getGreeting, getLanguageId, getLastFailedLoginDate, getLastLoginDate, getLastLoginIP, getLockout, getLockoutDate, getLoginDate, getLoginIP, getModifiedDate, getPassword, getPasswordEncrypted, getPasswordModifiedDate, getPasswordReset, getPortraitId, getPrimaryKey, getScreenName, getTimeZoneId, getUserId, isActive, isAgreedToTermsOfUse, isDefaultUser, isLockout, isPasswordEncrypted, isPasswordReset, setActive, setAgreedToTermsOfUse, setComments, setCompanyId, setContactId, setCreateDate, setDefaultUser, setEmailAddress, setFailedLoginAttempts, setGraceLoginCount, setGreeting, setLastFailedLoginDate, setLastLoginDate, setLastLoginIP, setLockout, setLockoutDate, setLoginDate, setLoginIP, setModifiedDate, setPassword, setPasswordEncrypted, setPasswordModifiedDate, setPasswordReset, setPortraitId, setPrimaryKey, setScreenName, setUserId
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

UserImpl

public UserImpl()
Method Detail

getFullName

public static java.lang.String getFullName(java.lang.String firstName,
                                           java.lang.String middleName,
                                           java.lang.String lastName)

getCompanyMx

public java.lang.String getCompanyMx()
Specified by:
getCompanyMx in interface com.liferay.portal.model.User

hasCompanyMx

public boolean hasCompanyMx()
Specified by:
hasCompanyMx in interface com.liferay.portal.model.User

hasCompanyMx

public boolean hasCompanyMx(java.lang.String emailAddress)
Specified by:
hasCompanyMx in interface com.liferay.portal.model.User

getLogin

public java.lang.String getLogin()
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
getLogin in interface com.liferay.portal.model.User
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordPolicy

public com.liferay.portal.model.PasswordPolicy getPasswordPolicy()
                                                          throws com.liferay.portal.PortalException,
                                                                 com.liferay.portal.SystemException
Specified by:
getPasswordPolicy in interface com.liferay.portal.model.User
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPasswordUnencrypted

public java.lang.String getPasswordUnencrypted()
Specified by:
getPasswordUnencrypted in interface com.liferay.portal.model.User

setPasswordUnencrypted

public void setPasswordUnencrypted(java.lang.String passwordUnencrypted)
Specified by:
setPasswordUnencrypted in interface com.liferay.portal.model.User

getPasswordModified

public boolean getPasswordModified()
Specified by:
getPasswordModified in interface com.liferay.portal.model.User

isPasswordModified

public boolean isPasswordModified()
Specified by:
isPasswordModified in interface com.liferay.portal.model.User

setPasswordModified

public void setPasswordModified(boolean passwordModified)
Specified by:
setPasswordModified in interface com.liferay.portal.model.User

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface com.liferay.portal.model.User

setLanguageId

public void setLanguageId(java.lang.String languageId)
Specified by:
setLanguageId in interface com.liferay.portal.model.User
Overrides:
setLanguageId in class UserModelImpl

getTimeZone

public java.util.TimeZone getTimeZone()
Specified by:
getTimeZone in interface com.liferay.portal.model.User

setTimeZoneId

public void setTimeZoneId(java.lang.String timeZoneId)
Specified by:
setTimeZoneId in interface com.liferay.portal.model.User
Overrides:
setTimeZoneId in class UserModelImpl

getContact

public com.liferay.portal.model.Contact getContact()
Specified by:
getContact in interface com.liferay.portal.model.User

getFirstName

public java.lang.String getFirstName()
Specified by:
getFirstName in interface com.liferay.portal.model.User

getMiddleName

public java.lang.String getMiddleName()
Specified by:
getMiddleName in interface com.liferay.portal.model.User

getLastName

public java.lang.String getLastName()
Specified by:
getLastName in interface com.liferay.portal.model.User

getFullName

public java.lang.String getFullName()
Specified by:
getFullName in interface com.liferay.portal.model.User

getMale

public boolean getMale()
Specified by:
getMale in interface com.liferay.portal.model.User

isMale

public boolean isMale()
Specified by:
isMale in interface com.liferay.portal.model.User

getFemale

public boolean getFemale()
Specified by:
getFemale in interface com.liferay.portal.model.User

isFemale

public boolean isFemale()
Specified by:
isFemale in interface com.liferay.portal.model.User

getBirthday

public java.util.Date getBirthday()
Specified by:
getBirthday in interface com.liferay.portal.model.User

getGroup

public com.liferay.portal.model.Group getGroup()
Specified by:
getGroup in interface com.liferay.portal.model.User

getOrganization

public com.liferay.portal.model.Organization getOrganization()
Specified by:
getOrganization in interface com.liferay.portal.model.User

getLocation

public com.liferay.portal.model.Organization getLocation()
Specified by:
getLocation in interface com.liferay.portal.model.User

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
Specified by:
getPrivateLayoutsPageCount in interface com.liferay.portal.model.User

hasPrivateLayouts

public boolean hasPrivateLayouts()
Specified by:
hasPrivateLayouts in interface com.liferay.portal.model.User

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
Specified by:
getPublicLayoutsPageCount in interface com.liferay.portal.model.User

hasPublicLayouts

public boolean hasPublicLayouts()
Specified by:
hasPublicLayouts in interface com.liferay.portal.model.User

isLayoutsRequired

public boolean isLayoutsRequired()
Specified by:
isLayoutsRequired in interface com.liferay.portal.model.User