|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserModel
The base model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation UserModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in UserImpl
.
User
,
UserImpl
,
UserModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(User user)
|
boolean |
getAgreedToTermsOfUse()
Returns the agreed to terms of use of this user. |
String |
getComments()
Returns the comments of this user. |
long |
getCompanyId()
Returns the company ID of this user. |
long |
getContactId()
Returns the contact ID of this user. |
Date |
getCreateDate()
Returns the create date of this user. |
boolean |
getDefaultUser()
Returns the default user of this user. |
String |
getDigest()
Returns the digest of this user. |
String |
getEmailAddress()
Returns the email address of this user. |
boolean |
getEmailAddressVerified()
Returns the email address verified of this user. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getFacebookId()
Returns the facebook ID of this user. |
int |
getFailedLoginAttempts()
Returns the failed login attempts of this user. |
String |
getFirstName()
Returns the first name of this user. |
int |
getGraceLoginCount()
Returns the grace login count of this user. |
String |
getGreeting()
Returns the greeting of this user. |
String |
getJobTitle()
Returns the job title of this user. |
String |
getLanguageId()
Returns the language ID of this user. |
Date |
getLastFailedLoginDate()
Returns the last failed login date of this user. |
Date |
getLastLoginDate()
Returns the last login date of this user. |
String |
getLastLoginIP()
Returns the last login i p of this user. |
String |
getLastName()
Returns the last name of this user. |
boolean |
getLockout()
Returns the lockout of this user. |
Date |
getLockoutDate()
Returns the lockout date of this user. |
Date |
getLoginDate()
Returns the login date of this user. |
String |
getLoginIP()
Returns the login i p of this user. |
String |
getMiddleName()
Returns the middle name of this user. |
Date |
getModifiedDate()
Returns the modified date of this user. |
String |
getOpenId()
Returns the open ID of this user. |
String |
getPassword()
Returns the password of this user. |
boolean |
getPasswordEncrypted()
Returns the password encrypted of this user. |
Date |
getPasswordModifiedDate()
Returns the password modified date of this user. |
boolean |
getPasswordReset()
Returns the password reset of this user. |
long |
getPortraitId()
Returns the portrait ID of this user. |
long |
getPrimaryKey()
Returns the primary key of this user. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getReminderQueryAnswer()
Returns the reminder query answer of this user. |
String |
getReminderQueryQuestion()
Returns the reminder query question of this user. |
String |
getScreenName()
Returns the screen name of this user. |
int |
getStatus()
Returns the status of this user. |
String |
getTimeZoneId()
Returns the time zone ID of this user. |
long |
getUserId()
Returns the user ID of this user. |
String |
getUserUuid()
Returns the user uuid of this user. |
String |
getUuid()
Returns the uuid of this user. |
int |
hashCode()
|
boolean |
isAgreedToTermsOfUse()
Returns true if this user is agreed to terms of use. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDefaultUser()
Returns true if this user is default user. |
boolean |
isEmailAddressVerified()
Returns true if this user is email address verified. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isLockout()
Returns true if this user is lockout. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPasswordEncrypted()
Returns true if this user is password encrypted. |
boolean |
isPasswordReset()
Returns true if this user is password reset. |
void |
setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
Sets whether this user is agreed to terms of use. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 user 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 |
setEmailAddressVerified(boolean emailAddressVerified)
Sets whether this user is email address verified. |
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 user 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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 user is password encrypted. |
void |
setPasswordModifiedDate(Date passwordModifiedDate)
Sets the password modified date of this user. |
void |
setPasswordReset(boolean passwordReset)
Sets whether this user is password reset. |
void |
setPortraitId(long portraitId)
Sets the portrait ID of this user. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this user. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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 |
setStatus(int status)
Sets the status 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. |
CacheModel<User> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
User |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
User |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this user@AutoEscape String getUuid()
void setUuid(String uuid)
uuid
- the uuid of this userlong getUserId()
void setUserId(long userId)
userId
- the user ID of this userString getUserUuid() throws SystemException
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
userUuid
- the user uuid of this userlong getCompanyId()
void setCompanyId(long companyId)
companyId
- the company ID of this userDate getCreateDate()
void setCreateDate(Date createDate)
createDate
- the create date of this userDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate
- the modified date of this userboolean getDefaultUser()
boolean isDefaultUser()
true
if this user is default user.
true
if this user is default user; false
otherwisevoid setDefaultUser(boolean defaultUser)
defaultUser
- the default user of this userlong getContactId()
void setContactId(long contactId)
contactId
- the contact ID of this user@AutoEscape String getPassword()
void setPassword(String password)
password
- the password of this userboolean getPasswordEncrypted()
boolean isPasswordEncrypted()
true
if this user is password encrypted.
true
if this user is password encrypted; false
otherwisevoid setPasswordEncrypted(boolean passwordEncrypted)
passwordEncrypted
- the password encrypted of this userboolean getPasswordReset()
boolean isPasswordReset()
true
if this user is password reset.
true
if this user is password reset; false
otherwisevoid setPasswordReset(boolean passwordReset)
passwordReset
- the password reset of this userDate getPasswordModifiedDate()
void setPasswordModifiedDate(Date passwordModifiedDate)
passwordModifiedDate
- the password modified date of this user@AutoEscape String getDigest()
void setDigest(String digest)
digest
- the digest of this user@AutoEscape String getReminderQueryQuestion()
void setReminderQueryQuestion(String reminderQueryQuestion)
reminderQueryQuestion
- the reminder query question of this user@AutoEscape String getReminderQueryAnswer()
void setReminderQueryAnswer(String reminderQueryAnswer)
reminderQueryAnswer
- the reminder query answer of this userint getGraceLoginCount()
void setGraceLoginCount(int graceLoginCount)
graceLoginCount
- the grace login count of this user@AutoEscape String getScreenName()
void setScreenName(String screenName)
screenName
- the screen name of this user@AutoEscape String getEmailAddress()
void setEmailAddress(String emailAddress)
emailAddress
- the email address of this userlong getFacebookId()
void setFacebookId(long facebookId)
facebookId
- the facebook ID of this user@AutoEscape String getOpenId()
void setOpenId(String openId)
openId
- the open ID of this userlong getPortraitId()
void setPortraitId(long portraitId)
portraitId
- the portrait ID of this user@AutoEscape String getLanguageId()
void setLanguageId(String languageId)
languageId
- the language ID of this user@AutoEscape String getTimeZoneId()
void setTimeZoneId(String timeZoneId)
timeZoneId
- the time zone ID of this user@AutoEscape String getGreeting()
void setGreeting(String greeting)
greeting
- the greeting of this user@AutoEscape String getComments()
void setComments(String comments)
comments
- the comments of this user@AutoEscape String getFirstName()
void setFirstName(String firstName)
firstName
- the first name of this user@AutoEscape String getMiddleName()
void setMiddleName(String middleName)
middleName
- the middle name of this user@AutoEscape String getLastName()
void setLastName(String lastName)
lastName
- the last name of this user@AutoEscape String getJobTitle()
void setJobTitle(String jobTitle)
jobTitle
- the job title of this userDate getLoginDate()
void setLoginDate(Date loginDate)
loginDate
- the login date of this user@AutoEscape String getLoginIP()
void setLoginIP(String loginIP)
loginIP
- the login i p of this userDate getLastLoginDate()
void setLastLoginDate(Date lastLoginDate)
lastLoginDate
- the last login date of this user@AutoEscape String getLastLoginIP()
void setLastLoginIP(String lastLoginIP)
lastLoginIP
- the last login i p of this userDate getLastFailedLoginDate()
void setLastFailedLoginDate(Date lastFailedLoginDate)
lastFailedLoginDate
- the last failed login date of this userint getFailedLoginAttempts()
void setFailedLoginAttempts(int failedLoginAttempts)
failedLoginAttempts
- the failed login attempts of this userboolean getLockout()
boolean isLockout()
true
if this user is lockout.
true
if this user is lockout; false
otherwisevoid setLockout(boolean lockout)
lockout
- the lockout of this userDate getLockoutDate()
void setLockoutDate(Date lockoutDate)
lockoutDate
- the lockout date of this userboolean getAgreedToTermsOfUse()
boolean isAgreedToTermsOfUse()
true
if this user is agreed to terms of use.
true
if this user is agreed to terms of use; false
otherwisevoid setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
agreedToTermsOfUse
- the agreed to terms of use of this userboolean getEmailAddressVerified()
boolean isEmailAddressVerified()
true
if this user is email address verified.
true
if this user is email address verified; false
otherwisevoid setEmailAddressVerified(boolean emailAddressVerified)
emailAddressVerified
- the email address verified of this userint getStatus()
void setStatus(int status)
status
- the status of this userboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<User>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<User>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<User>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<User>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<User>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<User>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<User>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<User>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<User>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<User>
int compareTo(User user)
compareTo
in interface Comparable<User>
int hashCode()
hashCode
in class Object
CacheModel<User> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<User>
User toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<User>
AutoEscapeBeanHandler
User toUnescapedModel()
toUnescapedModel
in interface BaseModel<User>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<User>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |