com.liferay.portal.model
Class User
java.lang.Object
com.liferay.portal.model.BaseModel
com.liferay.portal.model.UserModel
com.liferay.portal.model.User
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
- public class User
- extends UserModel
View Source
- Author:
- Brian Wing Shun Chan
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
DEFAULT
|
| Fields inherited from class com.liferay.portal.model.UserModel |
CACHEABLE, LOCK_EXPIRATION_TIME, XSS_ALLOW_BY_MODEL, XSS_ALLOW_COMMENTS, XSS_ALLOW_COMPANYID, XSS_ALLOW_CONTACTID, XSS_ALLOW_EMAILADDRESS, XSS_ALLOW_GREETING, XSS_ALLOW_LANGUAGEID, XSS_ALLOW_LASTLOGINIP, XSS_ALLOW_LOGINIP, XSS_ALLOW_PASSWORD, XSS_ALLOW_RESOLUTION, XSS_ALLOW_TIMEZONEID, XSS_ALLOW_USERID |
|
Constructor Summary |
User()
|
| Methods inherited from class com.liferay.portal.model.UserModel |
clone, compareTo, equals, getActive, getAgreedToTermsOfUse, getComments, getCompanyId, getContactId, getCreateDate, getEmailAddress, getFailedLoginAttempts, getGreeting, getLanguageId, getLastLoginDate, getLastLoginIP, getLoginDate, getLoginIP, getModifiedDate, getPassword, getPasswordEncrypted, getPasswordExpirationDate, getPasswordReset, getPrimaryKey, getResolution, getTimeZoneId, getUserId, hashCode, isActive, isAgreedToTermsOfUse, isPasswordEncrypted, isPasswordReset, setActive, setAgreedToTermsOfUse, setComments, setContactId, setCreateDate, setEmailAddress, setFailedLoginAttempts, setGreeting, setLastLoginDate, setLastLoginIP, setLoginDate, setLoginIP, setModifiedDate, setPassword, setPasswordEncrypted, setPasswordExpirationDate, setPasswordReset, setPrimaryKey, setUserId |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
User
public User()
getActualCompanyId
public static java.lang.String getActualCompanyId(java.lang.String defaultUserId)
getDefaultUserId
public static java.lang.String getDefaultUserId(java.lang.String companyId)
isDefaultUser
public static boolean isDefaultUser(java.lang.String userId)
getFullName
public static java.lang.String getFullName(java.lang.String firstName,
java.lang.String middleName,
java.lang.String lastName)
isDefaultUser
public boolean isDefaultUser()
setCompanyId
public void setCompanyId(java.lang.String companyId)
- Overrides:
setCompanyId in class UserModel
getActualCompanyId
public java.lang.String getActualCompanyId()
getCompanyMx
public java.lang.String getCompanyMx()
hasCompanyMx
public boolean hasCompanyMx()
hasCompanyMx
public boolean hasCompanyMx(java.lang.String emailAddress)
getPasswordUnencrypted
public java.lang.String getPasswordUnencrypted()
setPasswordUnencrypted
public void setPasswordUnencrypted(java.lang.String passwordUnencrypted)
isPasswordExpired
public boolean isPasswordExpired()
getLocale
public java.util.Locale getLocale()
setLanguageId
public void setLanguageId(java.lang.String languageId)
- Overrides:
setLanguageId in class UserModel
getTimeZone
public java.util.TimeZone getTimeZone()
setTimeZoneId
public void setTimeZoneId(java.lang.String timeZoneId)
- Overrides:
setTimeZoneId in class UserModel
setResolution
public void setResolution(java.lang.String resolution)
- Overrides:
setResolution in class UserModel
getContact
public Contact getContact()
getFirstName
public java.lang.String getFirstName()
getMiddleName
public java.lang.String getMiddleName()
getLastName
public java.lang.String getLastName()
getNickName
public java.lang.String getNickName()
getFullName
public java.lang.String getFullName()
getMale
public boolean getMale()
isMale
public boolean isMale()
getFemale
public boolean getFemale()
isFemale
public boolean isFemale()
getBirthday
public java.util.Date getBirthday()
getGroup
public Group getGroup()
getOrganization
public Organization getOrganization()
getLocation
public Organization getLocation()
hasPrivateLayouts
public boolean hasPrivateLayouts()
hasPublicLayouts
public boolean hasPublicLayouts()
isLayoutsRequired
public boolean isLayoutsRequired()