|
Liferay 6.0-ee | |||||||||
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 FormConstructor 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 |
getDigest()
Gets the digest 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 |
setDigest(String digest)
Sets the digest of this 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 entity 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 UserModel
public void setPrimaryKey(long pk)
UserModel
setPrimaryKey
in interface UserModel
pk
- the primary key of this userpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<User>
getPrimaryKeyObj
in interface UserModel
public String getUuid()
UserModel
getUuid
in interface UserModel
public void setUuid(String uuid)
UserModel
setUuid
in interface UserModel
uuid
- the uuid of this userpublic long getUserId()
UserModel
getUserId
in interface UserModel
public void setUserId(long userId)
UserModel
setUserId
in interface UserModel
userId
- the user id of this userpublic String getUserUuid() throws SystemException
UserModel
getUserUuid
in interface UserModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
UserModel
setUserUuid
in interface UserModel
userUuid
- the user uuid of this userpublic long getOriginalUserId()
public long getCompanyId()
UserModel
getCompanyId
in interface UserModel
public void setCompanyId(long companyId)
UserModel
setCompanyId
in interface UserModel
companyId
- the company id of this userpublic long getOriginalCompanyId()
public Date getCreateDate()
UserModel
getCreateDate
in interface UserModel
public void setCreateDate(Date createDate)
UserModel
setCreateDate
in interface UserModel
createDate
- the create date of this userpublic Date getModifiedDate()
UserModel
getModifiedDate
in interface UserModel
public void setModifiedDate(Date modifiedDate)
UserModel
setModifiedDate
in interface UserModel
modifiedDate
- the modified date of this userpublic boolean getDefaultUser()
UserModel
getDefaultUser
in interface UserModel
public boolean isDefaultUser()
UserModel
isDefaultUser
in interface UserModel
public void setDefaultUser(boolean defaultUser)
UserModel
setDefaultUser
in interface UserModel
defaultUser
- the default user of this userpublic boolean getOriginalDefaultUser()
public long getContactId()
UserModel
getContactId
in interface UserModel
public void setContactId(long contactId)
UserModel
setContactId
in interface UserModel
contactId
- the contact id of this userpublic long getOriginalContactId()
public String getPassword()
UserModel
getPassword
in interface UserModel
public void setPassword(String password)
UserModel
setPassword
in interface UserModel
password
- the password of this userpublic boolean getPasswordEncrypted()
UserModel
getPasswordEncrypted
in interface UserModel
public boolean isPasswordEncrypted()
UserModel
isPasswordEncrypted
in interface UserModel
public void setPasswordEncrypted(boolean passwordEncrypted)
UserModel
setPasswordEncrypted
in interface UserModel
passwordEncrypted
- the password encrypted of this userpublic boolean getPasswordReset()
UserModel
getPasswordReset
in interface UserModel
public boolean isPasswordReset()
UserModel
isPasswordReset
in interface UserModel
public void setPasswordReset(boolean passwordReset)
UserModel
setPasswordReset
in interface UserModel
passwordReset
- the password reset of this userpublic Date getPasswordModifiedDate()
UserModel
getPasswordModifiedDate
in interface UserModel
public void setPasswordModifiedDate(Date passwordModifiedDate)
UserModel
setPasswordModifiedDate
in interface UserModel
passwordModifiedDate
- the password modified date of this userpublic String getDigest()
UserModel
getDigest
in interface UserModel
public void setDigest(String digest)
UserModel
setDigest
in interface UserModel
digest
- the digest of this userpublic String getReminderQueryQuestion()
UserModel
getReminderQueryQuestion
in interface UserModel
public void setReminderQueryQuestion(String reminderQueryQuestion)
UserModel
setReminderQueryQuestion
in interface UserModel
reminderQueryQuestion
- the reminder query question of this userpublic String getReminderQueryAnswer()
UserModel
getReminderQueryAnswer
in interface UserModel
public void setReminderQueryAnswer(String reminderQueryAnswer)
UserModel
setReminderQueryAnswer
in interface UserModel
reminderQueryAnswer
- the reminder query answer of this userpublic int getGraceLoginCount()
UserModel
getGraceLoginCount
in interface UserModel
public void setGraceLoginCount(int graceLoginCount)
UserModel
setGraceLoginCount
in interface UserModel
graceLoginCount
- the grace login count of this userpublic String getScreenName()
UserModel
getScreenName
in interface UserModel
public void setScreenName(String screenName)
UserModel
setScreenName
in interface UserModel
screenName
- the screen name of this userpublic String getOriginalScreenName()
public String getEmailAddress()
UserModel
getEmailAddress
in interface UserModel
public void setEmailAddress(String emailAddress)
UserModel
setEmailAddress
in interface UserModel
emailAddress
- the email address of this userpublic String getOriginalEmailAddress()
public long getFacebookId()
UserModel
getFacebookId
in interface UserModel
public void setFacebookId(long facebookId)
UserModel
setFacebookId
in interface UserModel
facebookId
- the facebook id of this userpublic long getOriginalFacebookId()
public String getOpenId()
UserModel
getOpenId
in interface UserModel
public void setOpenId(String openId)
UserModel
setOpenId
in interface UserModel
openId
- the open id of this userpublic String getOriginalOpenId()
public long getPortraitId()
UserModel
getPortraitId
in interface UserModel
public void setPortraitId(long portraitId)
UserModel
setPortraitId
in interface UserModel
portraitId
- the portrait id of this userpublic long getOriginalPortraitId()
public String getLanguageId()
UserModel
getLanguageId
in interface UserModel
public void setLanguageId(String languageId)
UserModel
setLanguageId
in interface UserModel
languageId
- the language id of this userpublic String getTimeZoneId()
UserModel
getTimeZoneId
in interface UserModel
public void setTimeZoneId(String timeZoneId)
UserModel
setTimeZoneId
in interface UserModel
timeZoneId
- the time zone id of this userpublic String getGreeting()
UserModel
getGreeting
in interface UserModel
public void setGreeting(String greeting)
UserModel
setGreeting
in interface UserModel
greeting
- the greeting of this userpublic String getComments()
UserModel
getComments
in interface UserModel
public void setComments(String comments)
UserModel
setComments
in interface UserModel
comments
- the comments of this userpublic String getFirstName()
UserModel
getFirstName
in interface UserModel
public void setFirstName(String firstName)
UserModel
setFirstName
in interface UserModel
firstName
- the first name of this userpublic String getMiddleName()
UserModel
getMiddleName
in interface UserModel
public void setMiddleName(String middleName)
UserModel
setMiddleName
in interface UserModel
middleName
- the middle name of this userpublic String getLastName()
UserModel
getLastName
in interface UserModel
public void setLastName(String lastName)
UserModel
setLastName
in interface UserModel
lastName
- the last name of this userpublic String getJobTitle()
UserModel
getJobTitle
in interface UserModel
public void setJobTitle(String jobTitle)
UserModel
setJobTitle
in interface UserModel
jobTitle
- the job title of this userpublic Date getLoginDate()
UserModel
getLoginDate
in interface UserModel
public void setLoginDate(Date loginDate)
UserModel
setLoginDate
in interface UserModel
loginDate
- the login date of this userpublic String getLoginIP()
UserModel
getLoginIP
in interface UserModel
public void setLoginIP(String loginIP)
UserModel
setLoginIP
in interface UserModel
loginIP
- the login i p of this userpublic Date getLastLoginDate()
UserModel
getLastLoginDate
in interface UserModel
public void setLastLoginDate(Date lastLoginDate)
UserModel
setLastLoginDate
in interface UserModel
lastLoginDate
- the last login date of this userpublic String getLastLoginIP()
UserModel
getLastLoginIP
in interface UserModel
public void setLastLoginIP(String lastLoginIP)
UserModel
setLastLoginIP
in interface UserModel
lastLoginIP
- the last login i p of this userpublic Date getLastFailedLoginDate()
UserModel
getLastFailedLoginDate
in interface UserModel
public void setLastFailedLoginDate(Date lastFailedLoginDate)
UserModel
setLastFailedLoginDate
in interface UserModel
lastFailedLoginDate
- the last failed login date of this userpublic int getFailedLoginAttempts()
UserModel
getFailedLoginAttempts
in interface UserModel
public void setFailedLoginAttempts(int failedLoginAttempts)
UserModel
setFailedLoginAttempts
in interface UserModel
failedLoginAttempts
- the failed login attempts of this userpublic boolean getLockout()
UserModel
getLockout
in interface UserModel
public boolean isLockout()
UserModel
isLockout
in interface UserModel
public void setLockout(boolean lockout)
UserModel
setLockout
in interface UserModel
lockout
- the lockout of this userpublic Date getLockoutDate()
UserModel
getLockoutDate
in interface UserModel
public void setLockoutDate(Date lockoutDate)
UserModel
setLockoutDate
in interface UserModel
lockoutDate
- the lockout date of this userpublic boolean getAgreedToTermsOfUse()
UserModel
getAgreedToTermsOfUse
in interface UserModel
public boolean isAgreedToTermsOfUse()
UserModel
isAgreedToTermsOfUse
in interface UserModel
public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
UserModel
setAgreedToTermsOfUse
in interface UserModel
agreedToTermsOfUse
- the agreed to terms of use of this userpublic boolean getActive()
UserModel
getActive
in interface UserModel
public boolean isActive()
UserModel
isActive
in interface UserModel
public void setActive(boolean active)
UserModel
setActive
in interface UserModel
active
- the active of this userpublic User toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<User>
toEscapedModel
in interface UserModel
toEscapedModel
in class BaseModelImpl<User>
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<User>
getExpandoBridge
in interface UserModel
getExpandoBridge
in class BaseModelImpl<User>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<User>
setExpandoBridgeAttributes
in interface UserModel
setExpandoBridgeAttributes
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 UserModel
clone
in class BaseModelImpl<User>
public int compareTo(User user)
compareTo
in interface UserModel
compareTo
in interface Comparable<User>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface UserModel
hashCode
in class Object
public String toString()
toString
in interface UserModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<User>
toXmlString
in interface UserModel
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |