Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class UserModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<User>
      extended by com.liferay.portal.model.impl.UserModelImpl
All Implemented Interfaces:
BaseModel<User>, ClassedModel, UserModel, Serializable, Cloneable, Comparable<User>
Direct Known Subclasses:
UserBaseImpl

@JSON(strict=true)
public class UserModelImpl
extends BaseModelImpl<User>
implements UserModel

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.

See Also:
UserImpl, User, UserModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static long CONTACTID_COLUMN_BITMASK
           
static long CREATEDATE_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static long DEFAULTUSER_COLUMN_BITMASK
           
static long EMAILADDRESS_COLUMN_BITMASK
           
static boolean ENTITY_CACHE_ENABLED
           
static long FACEBOOKID_COLUMN_BITMASK
           
static boolean FINDER_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED_USERS_GROUPS
           
static boolean FINDER_CACHE_ENABLED_USERS_ORGS
           
static boolean FINDER_CACHE_ENABLED_USERS_PERMISSIONS
           
static boolean FINDER_CACHE_ENABLED_USERS_ROLES
           
static boolean FINDER_CACHE_ENABLED_USERS_TEAMS
           
static boolean FINDER_CACHE_ENABLED_USERS_USERGROUPS
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS
           
static String MAPPING_TABLE_USERS_GROUPS_NAME
           
static String MAPPING_TABLE_USERS_GROUPS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_USERS_ORGS_COLUMNS
           
static String MAPPING_TABLE_USERS_ORGS_NAME
           
static String MAPPING_TABLE_USERS_ORGS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS
           
static String MAPPING_TABLE_USERS_PERMISSIONS_NAME
           
static String MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_USERS_ROLES_COLUMNS
           
static String MAPPING_TABLE_USERS_ROLES_NAME
           
static String MAPPING_TABLE_USERS_ROLES_SQL_CREATE
           
static Object[][] MAPPING_TABLE_USERS_TEAMS_COLUMNS
           
static String MAPPING_TABLE_USERS_TEAMS_NAME
           
static String MAPPING_TABLE_USERS_TEAMS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_USERS_USERGROUPS_COLUMNS
           
static String MAPPING_TABLE_USERS_USERGROUPS_NAME
           
static String MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE
           
static long MODIFIEDDATE_COLUMN_BITMASK
           
static long OPENID_COLUMN_BITMASK
           
static long PORTRAITID_COLUMN_BITMASK
           
static long SCREENNAME_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static long STATUS_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
UserModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(User user)
           
 boolean equals(Object obj)
           
 boolean getAgreedToTermsOfUse()
          Returns the agreed to terms of use of this user.
 long getColumnBitmask()
           
 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.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this user.
 String getOpenId()
          Returns the open ID of this user.
 long getOriginalCompanyId()
           
 long getOriginalContactId()
           
 Date getOriginalCreateDate()
           
 boolean getOriginalDefaultUser()
           
 String getOriginalEmailAddress()
           
 long getOriginalFacebookId()
           
 Date getOriginalModifiedDate()
           
 String getOriginalOpenId()
           
 long getOriginalPortraitId()
           
 String getOriginalScreenName()
           
 int getOriginalStatus()
           
 long getOriginalUserId()
           
 String getOriginalUuid()
           
 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 isDefaultUser()
          Returns true if this user is default user.
 boolean isEmailAddressVerified()
          Returns true if this user is email address verified.
 boolean isLockout()
          Returns true if this user is lockout.
 boolean isPasswordEncrypted()
          Returns true if this user is password encrypted.
 boolean isPasswordReset()
          Returns true if this user is password reset.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
          Sets whether this user 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 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 setModelAttributes(Map<String,Object> attributes)
           
 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 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.
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()
           
 User toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

CONTACTID_COLUMN_BITMASK

public static long CONTACTID_COLUMN_BITMASK

CREATEDATE_COLUMN_BITMASK

public static long CREATEDATE_COLUMN_BITMASK

DEFAULTUSER_COLUMN_BITMASK

public static long DEFAULTUSER_COLUMN_BITMASK

EMAILADDRESS_COLUMN_BITMASK

public static long EMAILADDRESS_COLUMN_BITMASK

FACEBOOKID_COLUMN_BITMASK

public static long FACEBOOKID_COLUMN_BITMASK

MODIFIEDDATE_COLUMN_BITMASK

public static long MODIFIEDDATE_COLUMN_BITMASK

OPENID_COLUMN_BITMASK

public static long OPENID_COLUMN_BITMASK

PORTRAITID_COLUMN_BITMASK

public static long PORTRAITID_COLUMN_BITMASK

SCREENNAME_COLUMN_BITMASK

public static long SCREENNAME_COLUMN_BITMASK

STATUS_COLUMN_BITMASK

public static long STATUS_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

MAPPING_TABLE_USERS_GROUPS_NAME

public static final String MAPPING_TABLE_USERS_GROUPS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_GROUPS_COLUMNS

public static final Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS

MAPPING_TABLE_USERS_GROUPS_SQL_CREATE

public static final String MAPPING_TABLE_USERS_GROUPS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_GROUPS

public static final boolean FINDER_CACHE_ENABLED_USERS_GROUPS

MAPPING_TABLE_USERS_ORGS_NAME

public static final String MAPPING_TABLE_USERS_ORGS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_ORGS_COLUMNS

public static final Object[][] MAPPING_TABLE_USERS_ORGS_COLUMNS

MAPPING_TABLE_USERS_ORGS_SQL_CREATE

public static final String MAPPING_TABLE_USERS_ORGS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_ORGS

public static final boolean FINDER_CACHE_ENABLED_USERS_ORGS

MAPPING_TABLE_USERS_PERMISSIONS_NAME

public static final String MAPPING_TABLE_USERS_PERMISSIONS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS

public static final Object[][] MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS

MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE

public static final String MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_PERMISSIONS

public static final boolean FINDER_CACHE_ENABLED_USERS_PERMISSIONS

MAPPING_TABLE_USERS_ROLES_NAME

public static final String MAPPING_TABLE_USERS_ROLES_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_ROLES_COLUMNS

public static final Object[][] MAPPING_TABLE_USERS_ROLES_COLUMNS

MAPPING_TABLE_USERS_ROLES_SQL_CREATE

public static final String MAPPING_TABLE_USERS_ROLES_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_ROLES

public static final boolean FINDER_CACHE_ENABLED_USERS_ROLES

MAPPING_TABLE_USERS_TEAMS_NAME

public static final String MAPPING_TABLE_USERS_TEAMS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_TEAMS_COLUMNS

public static final Object[][] MAPPING_TABLE_USERS_TEAMS_COLUMNS

MAPPING_TABLE_USERS_TEAMS_SQL_CREATE

public static final String MAPPING_TABLE_USERS_TEAMS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_TEAMS

public static final boolean FINDER_CACHE_ENABLED_USERS_TEAMS

MAPPING_TABLE_USERS_USERGROUPS_NAME

public static final String MAPPING_TABLE_USERS_USERGROUPS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_USERGROUPS_COLUMNS

public static final Object[][] MAPPING_TABLE_USERS_USERGROUPS_COLUMNS

MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE

public static final String MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_USERGROUPS

public static final boolean FINDER_CACHE_ENABLED_USERS_USERGROUPS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

UserModelImpl

public UserModelImpl()
Method Detail

toModel

public static User toModel(UserSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<User> toModels(UserSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: UserModel
Returns the primary key of this user.

Specified by:
getPrimaryKey in interface UserModel
Returns:
the primary key of this user

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: UserModel
Sets the primary key of this user.

Specified by:
setPrimaryKey in interface UserModel
Parameters:
primaryKey - the primary key of this user

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<User>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface UserModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<User>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface UserModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<User>
Overrides:
getModelAttributes in class BaseModelImpl<User>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<User>
Overrides:
setModelAttributes in class BaseModelImpl<User>

getUuid

@JSON
public String getUuid()
Description copied from interface: UserModel
Returns the uuid of this user.

Specified by:
getUuid in interface UserModel
Returns:
the uuid of this user

setUuid

public void setUuid(String uuid)
Description copied from interface: UserModel
Sets the uuid of this user.

Specified by:
setUuid in interface UserModel
Parameters:
uuid - the uuid of this user

getOriginalUuid

public String getOriginalUuid()

getUserId

@JSON
public long getUserId()
Description copied from interface: UserModel
Returns the user ID of this user.

Specified by:
getUserId in interface UserModel
Returns:
the user ID of this user

setUserId

public void setUserId(long userId)
Description copied from interface: UserModel
Sets the user ID of this user.

Specified by:
setUserId in interface UserModel
Parameters:
userId - the user ID of this user

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: UserModel
Returns the user uuid of this user.

Specified by:
getUserUuid in interface UserModel
Returns:
the user uuid of this user
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: UserModel
Sets the user uuid of this user.

Specified by:
setUserUuid in interface UserModel
Parameters:
userUuid - the user uuid of this user

getOriginalUserId

public long getOriginalUserId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: UserModel
Returns the company ID of this user.

Specified by:
getCompanyId in interface UserModel
Returns:
the company ID of this user

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: UserModel
Sets the company ID of this user.

Specified by:
setCompanyId in interface UserModel
Parameters:
companyId - the company ID of this user

getOriginalCompanyId

public long getOriginalCompanyId()

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: UserModel
Returns the create date of this user.

Specified by:
getCreateDate in interface UserModel
Returns:
the create date of this user

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: UserModel
Sets the create date of this user.

Specified by:
setCreateDate in interface UserModel
Parameters:
createDate - the create date of this user

getOriginalCreateDate

public Date getOriginalCreateDate()

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: UserModel
Returns the modified date of this user.

Specified by:
getModifiedDate in interface UserModel
Returns:
the modified date of this user

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: UserModel
Sets the modified date of this user.

Specified by:
setModifiedDate in interface UserModel
Parameters:
modifiedDate - the modified date of this user

getOriginalModifiedDate

public Date getOriginalModifiedDate()

getDefaultUser

@JSON
public boolean getDefaultUser()
Description copied from interface: UserModel
Returns the default user of this user.

Specified by:
getDefaultUser in interface UserModel
Returns:
the default user of this user

isDefaultUser

public boolean isDefaultUser()
Description copied from interface: UserModel
Returns true if this user is default user.

Specified by:
isDefaultUser in interface UserModel
Returns:
true if this user is default user; false otherwise

setDefaultUser

public void setDefaultUser(boolean defaultUser)
Description copied from interface: UserModel
Sets whether this user is default user.

Specified by:
setDefaultUser in interface UserModel
Parameters:
defaultUser - the default user of this user

getOriginalDefaultUser

public boolean getOriginalDefaultUser()

getContactId

@JSON
public long getContactId()
Description copied from interface: UserModel
Returns the contact ID of this user.

Specified by:
getContactId in interface UserModel
Returns:
the contact ID of this user

setContactId

public void setContactId(long contactId)
Description copied from interface: UserModel
Sets the contact ID of this user.

Specified by:
setContactId in interface UserModel
Parameters:
contactId - the contact ID of this user

getOriginalContactId

public long getOriginalContactId()

getPassword

@JSON(include=false)
public String getPassword()
Description copied from interface: UserModel
Returns the password of this user.

Specified by:
getPassword in interface UserModel
Returns:
the password of this user

setPassword

public void setPassword(String password)
Description copied from interface: UserModel
Sets the password of this user.

Specified by:
setPassword in interface UserModel
Parameters:
password - the password of this user

getPasswordEncrypted

@JSON(include=false)
public boolean getPasswordEncrypted()
Description copied from interface: UserModel
Returns the password encrypted of this user.

Specified by:
getPasswordEncrypted in interface UserModel
Returns:
the password encrypted of this user

isPasswordEncrypted

public boolean isPasswordEncrypted()
Description copied from interface: UserModel
Returns true if this user is password encrypted.

Specified by:
isPasswordEncrypted in interface UserModel
Returns:
true if this user is password encrypted; false otherwise

setPasswordEncrypted

public void setPasswordEncrypted(boolean passwordEncrypted)
Description copied from interface: UserModel
Sets whether this user is password encrypted.

Specified by:
setPasswordEncrypted in interface UserModel
Parameters:
passwordEncrypted - the password encrypted of this user

getPasswordReset

@JSON(include=false)
public boolean getPasswordReset()
Description copied from interface: UserModel
Returns the password reset of this user.

Specified by:
getPasswordReset in interface UserModel
Returns:
the password reset of this user

isPasswordReset

public boolean isPasswordReset()
Description copied from interface: UserModel
Returns true if this user is password reset.

Specified by:
isPasswordReset in interface UserModel
Returns:
true if this user is password reset; false otherwise

setPasswordReset

public void setPasswordReset(boolean passwordReset)
Description copied from interface: UserModel
Sets whether this user is password reset.

Specified by:
setPasswordReset in interface UserModel
Parameters:
passwordReset - the password reset of this user

getPasswordModifiedDate

@JSON(include=false)
public Date getPasswordModifiedDate()
Description copied from interface: UserModel
Returns the password modified date of this user.

Specified by:
getPasswordModifiedDate in interface UserModel
Returns:
the password modified date of this user

setPasswordModifiedDate

public void setPasswordModifiedDate(Date passwordModifiedDate)
Description copied from interface: UserModel
Sets the password modified date of this user.

Specified by:
setPasswordModifiedDate in interface UserModel
Parameters:
passwordModifiedDate - the password modified date of this user

getDigest

@JSON(include=false)
public String getDigest()
Description copied from interface: UserModel
Returns the digest of this user.

Specified by:
getDigest in interface UserModel
Returns:
the digest of this user

setDigest

public void setDigest(String digest)
Description copied from interface: UserModel
Sets the digest of this user.

Specified by:
setDigest in interface UserModel
Parameters:
digest - the digest of this user

getReminderQueryQuestion

@JSON
public String getReminderQueryQuestion()
Description copied from interface: UserModel
Returns the reminder query question of this user.

Specified by:
getReminderQueryQuestion in interface UserModel
Returns:
the reminder query question of this user

setReminderQueryQuestion

public void setReminderQueryQuestion(String reminderQueryQuestion)
Description copied from interface: UserModel
Sets the reminder query question of this user.

Specified by:
setReminderQueryQuestion in interface UserModel
Parameters:
reminderQueryQuestion - the reminder query question of this user

getReminderQueryAnswer

@JSON
public String getReminderQueryAnswer()
Description copied from interface: UserModel
Returns the reminder query answer of this user.

Specified by:
getReminderQueryAnswer in interface UserModel
Returns:
the reminder query answer of this user

setReminderQueryAnswer

public void setReminderQueryAnswer(String reminderQueryAnswer)
Description copied from interface: UserModel
Sets the reminder query answer of this user.

Specified by:
setReminderQueryAnswer in interface UserModel
Parameters:
reminderQueryAnswer - the reminder query answer of this user

getGraceLoginCount

@JSON
public int getGraceLoginCount()
Description copied from interface: UserModel
Returns the grace login count of this user.

Specified by:
getGraceLoginCount in interface UserModel
Returns:
the grace login count of this user

setGraceLoginCount

public void setGraceLoginCount(int graceLoginCount)
Description copied from interface: UserModel
Sets the grace login count of this user.

Specified by:
setGraceLoginCount in interface UserModel
Parameters:
graceLoginCount - the grace login count of this user

getScreenName

@JSON
public String getScreenName()
Description copied from interface: UserModel
Returns the screen name of this user.

Specified by:
getScreenName in interface UserModel
Returns:
the screen name of this user

setScreenName

public void setScreenName(String screenName)
Description copied from interface: UserModel
Sets the screen name of this user.

Specified by:
setScreenName in interface UserModel
Parameters:
screenName - the screen name of this user

getOriginalScreenName

public String getOriginalScreenName()

getEmailAddress

@JSON
public String getEmailAddress()
Description copied from interface: UserModel
Returns the email address of this user.

Specified by:
getEmailAddress in interface UserModel
Returns:
the email address of this user

setEmailAddress

public void setEmailAddress(String emailAddress)
Description copied from interface: UserModel
Sets the email address of this user.

Specified by:
setEmailAddress in interface UserModel
Parameters:
emailAddress - the email address of this user

getOriginalEmailAddress

public String getOriginalEmailAddress()

getFacebookId

@JSON
public long getFacebookId()
Description copied from interface: UserModel
Returns the facebook ID of this user.

Specified by:
getFacebookId in interface UserModel
Returns:
the facebook ID of this user

setFacebookId

public void setFacebookId(long facebookId)
Description copied from interface: UserModel
Sets the facebook ID of this user.

Specified by:
setFacebookId in interface UserModel
Parameters:
facebookId - the facebook ID of this user

getOriginalFacebookId

public long getOriginalFacebookId()

getOpenId

@JSON
public String getOpenId()
Description copied from interface: UserModel
Returns the open ID of this user.

Specified by:
getOpenId in interface UserModel
Returns:
the open ID of this user

setOpenId

public void setOpenId(String openId)
Description copied from interface: UserModel
Sets the open ID of this user.

Specified by:
setOpenId in interface UserModel
Parameters:
openId - the open ID of this user

getOriginalOpenId

public String getOriginalOpenId()

getPortraitId

@JSON
public long getPortraitId()
Description copied from interface: UserModel
Returns the portrait ID of this user.

Specified by:
getPortraitId in interface UserModel
Returns:
the portrait ID of this user

setPortraitId

public void setPortraitId(long portraitId)
Description copied from interface: UserModel
Sets the portrait ID of this user.

Specified by:
setPortraitId in interface UserModel
Parameters:
portraitId - the portrait ID of this user

getOriginalPortraitId

public long getOriginalPortraitId()

getLanguageId

@JSON
public String getLanguageId()
Description copied from interface: UserModel
Returns the language ID of this user.

Specified by:
getLanguageId in interface UserModel
Returns:
the language ID of this user

setLanguageId

public void setLanguageId(String languageId)
Description copied from interface: UserModel
Sets the language ID of this user.

Specified by:
setLanguageId in interface UserModel
Parameters:
languageId - the language ID of this user

getTimeZoneId

@JSON
public String getTimeZoneId()
Description copied from interface: UserModel
Returns the time zone ID of this user.

Specified by:
getTimeZoneId in interface UserModel
Returns:
the time zone ID of this user

setTimeZoneId

public void setTimeZoneId(String timeZoneId)
Description copied from interface: UserModel
Sets the time zone ID of this user.

Specified by:
setTimeZoneId in interface UserModel
Parameters:
timeZoneId - the time zone ID of this user

getGreeting

@JSON
public String getGreeting()
Description copied from interface: UserModel
Returns the greeting of this user.

Specified by:
getGreeting in interface UserModel
Returns:
the greeting of this user

setGreeting

public void setGreeting(String greeting)
Description copied from interface: UserModel
Sets the greeting of this user.

Specified by:
setGreeting in interface UserModel
Parameters:
greeting - the greeting of this user

getComments

@JSON
public String getComments()
Description copied from interface: UserModel
Returns the comments of this user.

Specified by:
getComments in interface UserModel
Returns:
the comments of this user

setComments

public void setComments(String comments)
Description copied from interface: UserModel
Sets the comments of this user.

Specified by:
setComments in interface UserModel
Parameters:
comments - the comments of this user

getFirstName

@JSON
public String getFirstName()
Description copied from interface: UserModel
Returns the first name of this user.

Specified by:
getFirstName in interface UserModel
Returns:
the first name of this user

setFirstName

public void setFirstName(String firstName)
Description copied from interface: UserModel
Sets the first name of this user.

Specified by:
setFirstName in interface UserModel
Parameters:
firstName - the first name of this user

getMiddleName

@JSON
public String getMiddleName()
Description copied from interface: UserModel
Returns the middle name of this user.

Specified by:
getMiddleName in interface UserModel
Returns:
the middle name of this user

setMiddleName

public void setMiddleName(String middleName)
Description copied from interface: UserModel
Sets the middle name of this user.

Specified by:
setMiddleName in interface UserModel
Parameters:
middleName - the middle name of this user

getLastName

@JSON
public String getLastName()
Description copied from interface: UserModel
Returns the last name of this user.

Specified by:
getLastName in interface UserModel
Returns:
the last name of this user

setLastName

public void setLastName(String lastName)
Description copied from interface: UserModel
Sets the last name of this user.

Specified by:
setLastName in interface UserModel
Parameters:
lastName - the last name of this user

getJobTitle

@JSON
public String getJobTitle()
Description copied from interface: UserModel
Returns the job title of this user.

Specified by:
getJobTitle in interface UserModel
Returns:
the job title of this user

setJobTitle

public void setJobTitle(String jobTitle)
Description copied from interface: UserModel
Sets the job title of this user.

Specified by:
setJobTitle in interface UserModel
Parameters:
jobTitle - the job title of this user

getLoginDate

@JSON
public Date getLoginDate()
Description copied from interface: UserModel
Returns the login date of this user.

Specified by:
getLoginDate in interface UserModel
Returns:
the login date of this user

setLoginDate

public void setLoginDate(Date loginDate)
Description copied from interface: UserModel
Sets the login date of this user.

Specified by:
setLoginDate in interface UserModel
Parameters:
loginDate - the login date of this user

getLoginIP

@JSON
public String getLoginIP()
Description copied from interface: UserModel
Returns the login i p of this user.

Specified by:
getLoginIP in interface UserModel
Returns:
the login i p of this user

setLoginIP

public void setLoginIP(String loginIP)
Description copied from interface: UserModel
Sets the login i p of this user.

Specified by:
setLoginIP in interface UserModel
Parameters:
loginIP - the login i p of this user

getLastLoginDate

@JSON
public Date getLastLoginDate()
Description copied from interface: UserModel
Returns the last login date of this user.

Specified by:
getLastLoginDate in interface UserModel
Returns:
the last login date of this user

setLastLoginDate

public void setLastLoginDate(Date lastLoginDate)
Description copied from interface: UserModel
Sets the last login date of this user.

Specified by:
setLastLoginDate in interface UserModel
Parameters:
lastLoginDate - the last login date of this user

getLastLoginIP

@JSON
public String getLastLoginIP()
Description copied from interface: UserModel
Returns the last login i p of this user.

Specified by:
getLastLoginIP in interface UserModel
Returns:
the last login i p of this user

setLastLoginIP

public void setLastLoginIP(String lastLoginIP)
Description copied from interface: UserModel
Sets the last login i p of this user.

Specified by:
setLastLoginIP in interface UserModel
Parameters:
lastLoginIP - the last login i p of this user

getLastFailedLoginDate

@JSON
public Date getLastFailedLoginDate()
Description copied from interface: UserModel
Returns the last failed login date of this user.

Specified by:
getLastFailedLoginDate in interface UserModel
Returns:
the last failed login date of this user

setLastFailedLoginDate

public void setLastFailedLoginDate(Date lastFailedLoginDate)
Description copied from interface: UserModel
Sets the last failed login date of this user.

Specified by:
setLastFailedLoginDate in interface UserModel
Parameters:
lastFailedLoginDate - the last failed login date of this user

getFailedLoginAttempts

@JSON
public int getFailedLoginAttempts()
Description copied from interface: UserModel
Returns the failed login attempts of this user.

Specified by:
getFailedLoginAttempts in interface UserModel
Returns:
the failed login attempts of this user

setFailedLoginAttempts

public void setFailedLoginAttempts(int failedLoginAttempts)
Description copied from interface: UserModel
Sets the failed login attempts of this user.

Specified by:
setFailedLoginAttempts in interface UserModel
Parameters:
failedLoginAttempts - the failed login attempts of this user

getLockout

@JSON
public boolean getLockout()
Description copied from interface: UserModel
Returns the lockout of this user.

Specified by:
getLockout in interface UserModel
Returns:
the lockout of this user

isLockout

public boolean isLockout()
Description copied from interface: UserModel
Returns true if this user is lockout.

Specified by:
isLockout in interface UserModel
Returns:
true if this user is lockout; false otherwise

setLockout

public void setLockout(boolean lockout)
Description copied from interface: UserModel
Sets whether this user is lockout.

Specified by:
setLockout in interface UserModel
Parameters:
lockout - the lockout of this user

getLockoutDate

@JSON
public Date getLockoutDate()
Description copied from interface: UserModel
Returns the lockout date of this user.

Specified by:
getLockoutDate in interface UserModel
Returns:
the lockout date of this user

setLockoutDate

public void setLockoutDate(Date lockoutDate)
Description copied from interface: UserModel
Sets the lockout date of this user.

Specified by:
setLockoutDate in interface UserModel
Parameters:
lockoutDate - the lockout date of this user

getAgreedToTermsOfUse

@JSON
public boolean getAgreedToTermsOfUse()
Description copied from interface: UserModel
Returns the agreed to terms of use of this user.

Specified by:
getAgreedToTermsOfUse in interface UserModel
Returns:
the agreed to terms of use of this user

isAgreedToTermsOfUse

public boolean isAgreedToTermsOfUse()
Description copied from interface: UserModel
Returns true if this user is agreed to terms of use.

Specified by:
isAgreedToTermsOfUse in interface UserModel
Returns:
true if this user is agreed to terms of use; false otherwise

setAgreedToTermsOfUse

public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
Description copied from interface: UserModel
Sets whether this user is agreed to terms of use.

Specified by:
setAgreedToTermsOfUse in interface UserModel
Parameters:
agreedToTermsOfUse - the agreed to terms of use of this user

getEmailAddressVerified

@JSON
public boolean getEmailAddressVerified()
Description copied from interface: UserModel
Returns the email address verified of this user.

Specified by:
getEmailAddressVerified in interface UserModel
Returns:
the email address verified of this user

isEmailAddressVerified

public boolean isEmailAddressVerified()
Description copied from interface: UserModel
Returns true if this user is email address verified.

Specified by:
isEmailAddressVerified in interface UserModel
Returns:
true if this user is email address verified; false otherwise

setEmailAddressVerified

public void setEmailAddressVerified(boolean emailAddressVerified)
Description copied from interface: UserModel
Sets whether this user is email address verified.

Specified by:
setEmailAddressVerified in interface UserModel
Parameters:
emailAddressVerified - the email address verified of this user

getStatus

@JSON
public int getStatus()
Description copied from interface: UserModel
Returns the status of this user.

Specified by:
getStatus in interface UserModel
Returns:
the status of this user

setStatus

public void setStatus(int status)
Description copied from interface: UserModel
Sets the status of this user.

Specified by:
setStatus in interface UserModel
Parameters:
status - the status of this user

getOriginalStatus

public int getOriginalStatus()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<User>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface UserModel
Overrides:
getExpandoBridge in class BaseModelImpl<User>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<User>
Specified by:
setExpandoBridgeAttributes in interface UserModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<User>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public User toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<User>
Specified by:
toEscapedModel in interface UserModel
Overrides:
toEscapedModel in class BaseModelImpl<User>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public User toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<User>
Specified by:
toUnescapedModel in interface UserModel
Overrides:
toUnescapedModel in class BaseModelImpl<User>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<User>
Specified by:
clone in interface UserModel
Specified by:
clone in class BaseModelImpl<User>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(User user)
Specified by:
compareTo in interface UserModel
Specified by:
compareTo in interface Comparable<User>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface UserModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<User>
Overrides:
resetOriginalValues in class BaseModelImpl<User>

toCacheModel

public CacheModel<User> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<User>
Specified by:
toCacheModel in interface UserModel
Overrides:
toCacheModel in class BaseModelImpl<User>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface UserModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<User>
Specified by:
toXmlString in interface UserModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3