|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<User>
com.liferay.portal.model.impl.UserModelImpl
public class UserModelImpl
The base model implementation for the User service. Represents a row in the "User_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface UserModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserImpl.
Never modify or reference this class directly. All methods that expect a user model instance should use the User interface instead.
UserImpl,
User,
UserModel,
Serialized Form| Constructor Summary | |
|---|---|
UserModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(User user)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
Gets the active of this user. |
boolean |
getAgreedToTermsOfUse()
Gets the agreed to terms of use of this user. |
String |
getComments()
Gets the comments of this user. |
long |
getCompanyId()
Gets the company id of this user. |
long |
getContactId()
Gets the contact id of this user. |
Date |
getCreateDate()
Gets the create date of this user. |
boolean |
getDefaultUser()
Gets the default user of this user. |
String |
getEmailAddress()
Gets the email address of this user. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getFacebookId()
Gets the facebook id of this user. |
int |
getFailedLoginAttempts()
Gets the failed login attempts of this user. |
String |
getFirstName()
Gets the first name of this user. |
int |
getGraceLoginCount()
Gets the grace login count of this user. |
String |
getGreeting()
Gets the greeting of this user. |
String |
getJobTitle()
Gets the job title of this user. |
String |
getLanguageId()
Gets the language id of this user. |
Date |
getLastFailedLoginDate()
Gets the last failed login date of this user. |
Date |
getLastLoginDate()
Gets the last login date of this user. |
String |
getLastLoginIP()
Gets the last login i p of this user. |
String |
getLastName()
Gets the last name of this user. |
boolean |
getLockout()
Gets the lockout of this user. |
Date |
getLockoutDate()
Gets the lockout date of this user. |
Date |
getLoginDate()
Gets the login date of this user. |
String |
getLoginIP()
Gets the login i p of this user. |
String |
getMiddleName()
Gets the middle name of this user. |
Date |
getModifiedDate()
Gets the modified date of this user. |
String |
getOpenId()
Gets the open id of this user. |
long |
getOriginalCompanyId()
|
long |
getOriginalContactId()
|
boolean |
getOriginalDefaultUser()
|
String |
getOriginalEmailAddress()
|
long |
getOriginalFacebookId()
|
String |
getOriginalOpenId()
|
long |
getOriginalPortraitId()
|
String |
getOriginalScreenName()
|
long |
getOriginalUserId()
|
String |
getPassword()
Gets the password of this user. |
boolean |
getPasswordEncrypted()
Gets the password encrypted of this user. |
Date |
getPasswordModifiedDate()
Gets the password modified date of this user. |
boolean |
getPasswordReset()
Gets the password reset of this user. |
long |
getPortraitId()
Gets the portrait id of this user. |
long |
getPrimaryKey()
Gets the primary key of this user. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getReminderQueryAnswer()
Gets the reminder query answer of this user. |
String |
getReminderQueryQuestion()
Gets the reminder query question of this user. |
String |
getScreenName()
Gets the screen name of this user. |
String |
getTimeZoneId()
Gets the time zone id of this user. |
long |
getUserId()
Gets the user id of this user. |
String |
getUserUuid()
Gets the user uuid of this user. |
String |
getUuid()
Gets the uuid of this user. |
int |
hashCode()
|
boolean |
isActive()
Determines whether this user is active. |
boolean |
isAgreedToTermsOfUse()
Determines whether this user is agreed to terms of use. |
boolean |
isDefaultUser()
Determines whether this user is default user. |
boolean |
isLockout()
Determines whether this user is lockout. |
boolean |
isPasswordEncrypted()
Determines whether this user is password encrypted. |
boolean |
isPasswordReset()
Determines whether this user is password reset. |
void |
setActive(boolean active)
Sets whether this {$entity.humanName} is active. |
void |
setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
Sets whether this {$entity.humanName} is agreed to terms of use. |
void |
setComments(String comments)
Sets the comments of this user. |
void |
setCompanyId(long companyId)
Sets the company id of this user. |
void |
setContactId(long contactId)
Sets the contact id of this user. |
void |
setCreateDate(Date createDate)
Sets the create date of this user. |
void |
setDefaultUser(boolean defaultUser)
Sets whether this {$entity.humanName} is default user. |
void |
setEmailAddress(String emailAddress)
Sets the email address of this user. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFacebookId(long facebookId)
Sets the facebook id of this user. |
void |
setFailedLoginAttempts(int failedLoginAttempts)
Sets the failed login attempts of this user. |
void |
setFirstName(String firstName)
Sets the first name of this user. |
void |
setGraceLoginCount(int graceLoginCount)
Sets the grace login count of this user. |
void |
setGreeting(String greeting)
Sets the greeting of this user. |
void |
setJobTitle(String jobTitle)
Sets the job title of this user. |
void |
setLanguageId(String languageId)
Sets the language id of this user. |
void |
setLastFailedLoginDate(Date lastFailedLoginDate)
Sets the last failed login date of this user. |
void |
setLastLoginDate(Date lastLoginDate)
Sets the last login date of this user. |
void |
setLastLoginIP(String lastLoginIP)
Sets the last login i p of this user. |
void |
setLastName(String lastName)
Sets the last name of this user. |
void |
setLockout(boolean lockout)
Sets whether this {$entity.humanName} is lockout. |
void |
setLockoutDate(Date lockoutDate)
Sets the lockout date of this user. |
void |
setLoginDate(Date loginDate)
Sets the login date of this user. |
void |
setLoginIP(String loginIP)
Sets the login i p of this user. |
void |
setMiddleName(String middleName)
Sets the middle name of this user. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this user. |
void |
setOpenId(String openId)
Sets the open id of this user. |
void |
setPassword(String password)
Sets the password of this user. |
void |
setPasswordEncrypted(boolean passwordEncrypted)
Sets whether this {$entity.humanName} is password encrypted. |
void |
setPasswordModifiedDate(Date passwordModifiedDate)
Sets the password modified date of this user. |
void |
setPasswordReset(boolean passwordReset)
Sets whether this {$entity.humanName} is password reset. |
void |
setPortraitId(long portraitId)
Sets the portrait id of this user. |
void |
setPrimaryKey(long pk)
Sets the primary key of this user |
void |
setReminderQueryAnswer(String reminderQueryAnswer)
Sets the reminder query answer of this user. |
void |
setReminderQueryQuestion(String reminderQueryQuestion)
Sets the reminder query question of this user. |
void |
setScreenName(String screenName)
Sets the screen name of this user. |
void |
setTimeZoneId(String timeZoneId)
Sets the time zone id of this user. |
void |
setUserId(long userId)
Sets the user id of this user. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this user. |
void |
setUuid(String uuid)
Sets the uuid of this user. |
User |
toEscapedModel()
Gets a copy of this user as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static User |
toModel(UserSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<User> |
toModels(UserSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.UserModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final String MAPPING_TABLE_USERS_GROUPS_NAME
public static final Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS
public static final String MAPPING_TABLE_USERS_GROUPS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_GROUPS
public static final String MAPPING_TABLE_USERS_ORGS_NAME
public static final Object[][] MAPPING_TABLE_USERS_ORGS_COLUMNS
public static final String MAPPING_TABLE_USERS_ORGS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_ORGS
public static final String MAPPING_TABLE_USERS_PERMISSIONS_NAME
public static final Object[][] MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS
public static final String MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_PERMISSIONS
public static final String MAPPING_TABLE_USERS_ROLES_NAME
public static final Object[][] MAPPING_TABLE_USERS_ROLES_COLUMNS
public static final String MAPPING_TABLE_USERS_ROLES_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_ROLES
public static final String MAPPING_TABLE_USERS_TEAMS_NAME
public static final Object[][] MAPPING_TABLE_USERS_TEAMS_COLUMNS
public static final String MAPPING_TABLE_USERS_TEAMS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_TEAMS
public static final String MAPPING_TABLE_USERS_USERGROUPS_NAME
public static final Object[][] MAPPING_TABLE_USERS_USERGROUPS_COLUMNS
public static final String MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_USERGROUPS
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public UserModelImpl()
| Method Detail |
|---|
public static User toModel(UserSoap soapModel)
soapModel - the soap model instance to convert
public static List<User> toModels(UserSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
UserModel
getPrimaryKey in interface UserModelpublic void setPrimaryKey(long pk)
UserModel
setPrimaryKey in interface UserModelpk - the primary key of this userpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<User>getPrimaryKeyObj in interface UserModelpublic String getUuid()
UserModel
getUuid in interface UserModelpublic void setUuid(String uuid)
UserModel
setUuid in interface UserModeluuid - the uuid of this userpublic long getUserId()
UserModel
getUserId in interface UserModelpublic void setUserId(long userId)
UserModel
setUserId in interface UserModeluserId - the user id of this user
public String getUserUuid()
throws SystemException
UserModel
getUserUuid in interface UserModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
UserModel
setUserUuid in interface UserModeluserUuid - the user uuid of this userpublic long getOriginalUserId()
public long getCompanyId()
UserModel
getCompanyId in interface UserModelpublic void setCompanyId(long companyId)
UserModel
setCompanyId in interface UserModelcompanyId - the company id of this userpublic long getOriginalCompanyId()
public Date getCreateDate()
UserModel
getCreateDate in interface UserModelpublic void setCreateDate(Date createDate)
UserModel
setCreateDate in interface UserModelcreateDate - the create date of this userpublic Date getModifiedDate()
UserModel
getModifiedDate in interface UserModelpublic void setModifiedDate(Date modifiedDate)
UserModel
setModifiedDate in interface UserModelmodifiedDate - the modified date of this userpublic boolean getDefaultUser()
UserModel
getDefaultUser in interface UserModelpublic boolean isDefaultUser()
UserModel
isDefaultUser in interface UserModelpublic void setDefaultUser(boolean defaultUser)
UserModel
setDefaultUser in interface UserModeldefaultUser - the default user of this userpublic boolean getOriginalDefaultUser()
public long getContactId()
UserModel
getContactId in interface UserModelpublic void setContactId(long contactId)
UserModel
setContactId in interface UserModelcontactId - the contact id of this userpublic long getOriginalContactId()
public String getPassword()
UserModel
getPassword in interface UserModelpublic void setPassword(String password)
UserModel
setPassword in interface UserModelpassword - the password of this userpublic boolean getPasswordEncrypted()
UserModel
getPasswordEncrypted in interface UserModelpublic boolean isPasswordEncrypted()
UserModel
isPasswordEncrypted in interface UserModelpublic void setPasswordEncrypted(boolean passwordEncrypted)
UserModel
setPasswordEncrypted in interface UserModelpasswordEncrypted - the password encrypted of this userpublic boolean getPasswordReset()
UserModel
getPasswordReset in interface UserModelpublic boolean isPasswordReset()
UserModel
isPasswordReset in interface UserModelpublic void setPasswordReset(boolean passwordReset)
UserModel
setPasswordReset in interface UserModelpasswordReset - the password reset of this userpublic Date getPasswordModifiedDate()
UserModel
getPasswordModifiedDate in interface UserModelpublic void setPasswordModifiedDate(Date passwordModifiedDate)
UserModel
setPasswordModifiedDate in interface UserModelpasswordModifiedDate - the password modified date of this userpublic String getReminderQueryQuestion()
UserModel
getReminderQueryQuestion in interface UserModelpublic void setReminderQueryQuestion(String reminderQueryQuestion)
UserModel
setReminderQueryQuestion in interface UserModelreminderQueryQuestion - the reminder query question of this userpublic String getReminderQueryAnswer()
UserModel
getReminderQueryAnswer in interface UserModelpublic void setReminderQueryAnswer(String reminderQueryAnswer)
UserModel
setReminderQueryAnswer in interface UserModelreminderQueryAnswer - the reminder query answer of this userpublic int getGraceLoginCount()
UserModel
getGraceLoginCount in interface UserModelpublic void setGraceLoginCount(int graceLoginCount)
UserModel
setGraceLoginCount in interface UserModelgraceLoginCount - the grace login count of this userpublic String getScreenName()
UserModel
getScreenName in interface UserModelpublic void setScreenName(String screenName)
UserModel
setScreenName in interface UserModelscreenName - the screen name of this userpublic String getOriginalScreenName()
public String getEmailAddress()
UserModel
getEmailAddress in interface UserModelpublic void setEmailAddress(String emailAddress)
UserModel
setEmailAddress in interface UserModelemailAddress - the email address of this userpublic String getOriginalEmailAddress()
public long getFacebookId()
UserModel
getFacebookId in interface UserModelpublic void setFacebookId(long facebookId)
UserModel
setFacebookId in interface UserModelfacebookId - the facebook id of this userpublic long getOriginalFacebookId()
public String getOpenId()
UserModel
getOpenId in interface UserModelpublic void setOpenId(String openId)
UserModel
setOpenId in interface UserModelopenId - the open id of this userpublic String getOriginalOpenId()
public long getPortraitId()
UserModel
getPortraitId in interface UserModelpublic void setPortraitId(long portraitId)
UserModel
setPortraitId in interface UserModelportraitId - the portrait id of this userpublic long getOriginalPortraitId()
public String getLanguageId()
UserModel
getLanguageId in interface UserModelpublic void setLanguageId(String languageId)
UserModel
setLanguageId in interface UserModellanguageId - the language id of this userpublic String getTimeZoneId()
UserModel
getTimeZoneId in interface UserModelpublic void setTimeZoneId(String timeZoneId)
UserModel
setTimeZoneId in interface UserModeltimeZoneId - the time zone id of this userpublic String getGreeting()
UserModel
getGreeting in interface UserModelpublic void setGreeting(String greeting)
UserModel
setGreeting in interface UserModelgreeting - the greeting of this userpublic String getComments()
UserModel
getComments in interface UserModelpublic void setComments(String comments)
UserModel
setComments in interface UserModelcomments - the comments of this userpublic String getFirstName()
UserModel
getFirstName in interface UserModelpublic void setFirstName(String firstName)
UserModel
setFirstName in interface UserModelfirstName - the first name of this userpublic String getMiddleName()
UserModel
getMiddleName in interface UserModelpublic void setMiddleName(String middleName)
UserModel
setMiddleName in interface UserModelmiddleName - the middle name of this userpublic String getLastName()
UserModel
getLastName in interface UserModelpublic void setLastName(String lastName)
UserModel
setLastName in interface UserModellastName - the last name of this userpublic String getJobTitle()
UserModel
getJobTitle in interface UserModelpublic void setJobTitle(String jobTitle)
UserModel
setJobTitle in interface UserModeljobTitle - the job title of this userpublic Date getLoginDate()
UserModel
getLoginDate in interface UserModelpublic void setLoginDate(Date loginDate)
UserModel
setLoginDate in interface UserModelloginDate - the login date of this userpublic String getLoginIP()
UserModel
getLoginIP in interface UserModelpublic void setLoginIP(String loginIP)
UserModel
setLoginIP in interface UserModelloginIP - the login i p of this userpublic Date getLastLoginDate()
UserModel
getLastLoginDate in interface UserModelpublic void setLastLoginDate(Date lastLoginDate)
UserModel
setLastLoginDate in interface UserModellastLoginDate - the last login date of this userpublic String getLastLoginIP()
UserModel
getLastLoginIP in interface UserModelpublic void setLastLoginIP(String lastLoginIP)
UserModel
setLastLoginIP in interface UserModellastLoginIP - the last login i p of this userpublic Date getLastFailedLoginDate()
UserModel
getLastFailedLoginDate in interface UserModelpublic void setLastFailedLoginDate(Date lastFailedLoginDate)
UserModel
setLastFailedLoginDate in interface UserModellastFailedLoginDate - the last failed login date of this userpublic int getFailedLoginAttempts()
UserModel
getFailedLoginAttempts in interface UserModelpublic void setFailedLoginAttempts(int failedLoginAttempts)
UserModel
setFailedLoginAttempts in interface UserModelfailedLoginAttempts - the failed login attempts of this userpublic boolean getLockout()
UserModel
getLockout in interface UserModelpublic boolean isLockout()
UserModel
isLockout in interface UserModelpublic void setLockout(boolean lockout)
UserModel
setLockout in interface UserModellockout - the lockout of this userpublic Date getLockoutDate()
UserModel
getLockoutDate in interface UserModelpublic void setLockoutDate(Date lockoutDate)
UserModel
setLockoutDate in interface UserModellockoutDate - the lockout date of this userpublic boolean getAgreedToTermsOfUse()
UserModel
getAgreedToTermsOfUse in interface UserModelpublic boolean isAgreedToTermsOfUse()
UserModel
isAgreedToTermsOfUse in interface UserModelpublic void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
UserModel
setAgreedToTermsOfUse in interface UserModelagreedToTermsOfUse - the agreed to terms of use of this userpublic boolean getActive()
UserModel
getActive in interface UserModelpublic boolean isActive()
UserModel
isActive in interface UserModelpublic void setActive(boolean active)
UserModel
setActive in interface UserModelactive - the active of this userpublic User toEscapedModel()
UserModelAutoEscapeBeanHandler.
toEscapedModel in interface UserModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<User>getExpandoBridge in interface UserModelgetExpandoBridge in class BaseModelImpl<User>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<User>setExpandoBridgeAttributes in interface UserModelsetExpandoBridgeAttributes in class BaseModelImpl<User>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<User>clone in interface UserModelclone in class BaseModelImpl<User>public int compareTo(User user)
compareTo in interface UserModelcompareTo in interface Comparable<User>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface UserModelhashCode in class Objectpublic String toString()
toString in interface UserModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<User>toXmlString in interface UserModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||