com.liferay.portal.model.impl
Class UserModelImpl

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

@JSON(strict=true)
public class UserModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.User>
implements com.liferay.portal.model.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.

Author:
Brian Wing Shun Chan
See Also:
UserImpl, User, UserModel, Serialized Form
Generated:

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static long CONTACTID_COLUMN_BITMASK
           
static java.lang.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 java.lang.Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS
           
static java.lang.String MAPPING_TABLE_USERS_GROUPS_NAME
           
static java.lang.String MAPPING_TABLE_USERS_GROUPS_SQL_CREATE
           
static java.lang.Object[][] MAPPING_TABLE_USERS_ORGS_COLUMNS
           
static java.lang.String MAPPING_TABLE_USERS_ORGS_NAME
           
static java.lang.String MAPPING_TABLE_USERS_ORGS_SQL_CREATE
           
static java.lang.Object[][] MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS
           
static java.lang.String MAPPING_TABLE_USERS_PERMISSIONS_NAME
           
static java.lang.String MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE
           
static java.lang.Object[][] MAPPING_TABLE_USERS_ROLES_COLUMNS
           
static java.lang.String MAPPING_TABLE_USERS_ROLES_NAME
           
static java.lang.String MAPPING_TABLE_USERS_ROLES_SQL_CREATE
           
static java.lang.Object[][] MAPPING_TABLE_USERS_TEAMS_COLUMNS
           
static java.lang.String MAPPING_TABLE_USERS_TEAMS_NAME
           
static java.lang.String MAPPING_TABLE_USERS_TEAMS_SQL_CREATE
           
static java.lang.Object[][] MAPPING_TABLE_USERS_USERGROUPS_COLUMNS
           
static java.lang.String MAPPING_TABLE_USERS_USERGROUPS_NAME
           
static java.lang.String MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE
           
static long OPENID_COLUMN_BITMASK
           
static long PORTRAITID_COLUMN_BITMASK
           
static long SCREENNAME_COLUMN_BITMASK
           
static java.lang.String SESSION_FACTORY
           
static long STATUS_COLUMN_BITMASK
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
UserModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(com.liferay.portal.model.User user)
           
 boolean equals(java.lang.Object obj)
           
 boolean getAgreedToTermsOfUse()
           
 long getColumnBitmask()
           
 java.lang.String getComments()
           
 long getCompanyId()
           
 long getContactId()
           
 java.util.Date getCreateDate()
           
 boolean getDefaultUser()
           
 java.lang.String getDigest()
           
 java.lang.String getEmailAddress()
           
 boolean getEmailAddressVerified()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 long getFacebookId()
           
 int getFailedLoginAttempts()
           
 java.lang.String getFirstName()
           
 int getGraceLoginCount()
           
 java.lang.String getGreeting()
           
 java.lang.String getJobTitle()
           
 java.lang.String getLanguageId()
           
 java.util.Date getLastFailedLoginDate()
           
 java.util.Date getLastLoginDate()
           
 java.lang.String getLastLoginIP()
           
 java.lang.String getLastName()
           
 boolean getLockout()
           
 java.util.Date getLockoutDate()
           
 java.util.Date getLoginDate()
           
 java.lang.String getLoginIP()
           
 java.lang.String getMiddleName()
           
 java.lang.Class<?> getModelClass()
           
 java.lang.String getModelClassName()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getOpenId()
           
 long getOriginalCompanyId()
           
 long getOriginalContactId()
           
 boolean getOriginalDefaultUser()
           
 java.lang.String getOriginalEmailAddress()
           
 long getOriginalFacebookId()
           
 java.lang.String getOriginalOpenId()
           
 long getOriginalPortraitId()
           
 java.lang.String getOriginalScreenName()
           
 int getOriginalStatus()
           
 long getOriginalUserId()
           
 java.lang.String getOriginalUuid()
           
 java.lang.String getPassword()
           
 boolean getPasswordEncrypted()
           
 java.util.Date getPasswordModifiedDate()
           
 boolean getPasswordReset()
           
 long getPortraitId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getReminderQueryAnswer()
           
 java.lang.String getReminderQueryQuestion()
           
 java.lang.String getScreenName()
           
 int getStatus()
           
 java.lang.String getTimeZoneId()
           
 long getUserId()
           
 java.lang.String getUserUuid()
           
 java.lang.String getUuid()
           
 int hashCode()
           
 boolean isAgreedToTermsOfUse()
           
 boolean isDefaultUser()
           
 boolean isEmailAddressVerified()
           
 boolean isLockout()
           
 boolean isPasswordEncrypted()
           
 boolean isPasswordReset()
           
 void resetOriginalValues()
           
 void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
           
 void setComments(java.lang.String comments)
           
 void setCompanyId(long companyId)
           
 void setContactId(long contactId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDefaultUser(boolean defaultUser)
           
 void setDigest(java.lang.String digest)
           
 void setEmailAddress(java.lang.String emailAddress)
           
 void setEmailAddressVerified(boolean emailAddressVerified)
           
 void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setFacebookId(long facebookId)
           
 void setFailedLoginAttempts(int failedLoginAttempts)
           
 void setFirstName(java.lang.String firstName)
           
 void setGraceLoginCount(int graceLoginCount)
           
 void setGreeting(java.lang.String greeting)
           
 void setJobTitle(java.lang.String jobTitle)
           
 void setLanguageId(java.lang.String languageId)
           
 void setLastFailedLoginDate(java.util.Date lastFailedLoginDate)
           
 void setLastLoginDate(java.util.Date lastLoginDate)
           
 void setLastLoginIP(java.lang.String lastLoginIP)
           
 void setLastName(java.lang.String lastName)
           
 void setLockout(boolean lockout)
           
 void setLockoutDate(java.util.Date lockoutDate)
           
 void setLoginDate(java.util.Date loginDate)
           
 void setLoginIP(java.lang.String loginIP)
           
 void setMiddleName(java.lang.String middleName)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setOpenId(java.lang.String openId)
           
 void setPassword(java.lang.String password)
           
 void setPasswordEncrypted(boolean passwordEncrypted)
           
 void setPasswordModifiedDate(java.util.Date passwordModifiedDate)
           
 void setPasswordReset(boolean passwordReset)
           
 void setPortraitId(long portraitId)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
           
 void setReminderQueryAnswer(java.lang.String reminderQueryAnswer)
           
 void setReminderQueryQuestion(java.lang.String reminderQueryQuestion)
           
 void setScreenName(java.lang.String screenName)
           
 void setStatus(int status)
           
 void setTimeZoneId(java.lang.String timeZoneId)
           
 void setUserId(long userId)
           
 void setUserUuid(java.lang.String userUuid)
           
 void setUuid(java.lang.String uuid)
           
 com.liferay.portal.model.CacheModel<com.liferay.portal.model.User> toCacheModel()
           
 com.liferay.portal.model.User toEscapedModel()
           
static com.liferay.portal.model.User toModel(com.liferay.portal.model.UserSoap soapModel)
          Converts the soap model instance into a normal model instance.
static java.util.List<com.liferay.portal.model.User> toModels(com.liferay.portal.model.UserSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
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 java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.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

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

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 java.lang.String MAPPING_TABLE_USERS_GROUPS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_GROUPS_COLUMNS

public static final java.lang.Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS

MAPPING_TABLE_USERS_GROUPS_SQL_CREATE

public static final java.lang.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 java.lang.String MAPPING_TABLE_USERS_ORGS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_ORGS_COLUMNS

public static final java.lang.Object[][] MAPPING_TABLE_USERS_ORGS_COLUMNS

MAPPING_TABLE_USERS_ORGS_SQL_CREATE

public static final java.lang.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 java.lang.String MAPPING_TABLE_USERS_PERMISSIONS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS

public static final java.lang.Object[][] MAPPING_TABLE_USERS_PERMISSIONS_COLUMNS

MAPPING_TABLE_USERS_PERMISSIONS_SQL_CREATE

public static final java.lang.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 java.lang.String MAPPING_TABLE_USERS_ROLES_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_ROLES_COLUMNS

public static final java.lang.Object[][] MAPPING_TABLE_USERS_ROLES_COLUMNS

MAPPING_TABLE_USERS_ROLES_SQL_CREATE

public static final java.lang.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 java.lang.String MAPPING_TABLE_USERS_TEAMS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_TEAMS_COLUMNS

public static final java.lang.Object[][] MAPPING_TABLE_USERS_TEAMS_COLUMNS

MAPPING_TABLE_USERS_TEAMS_SQL_CREATE

public static final java.lang.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 java.lang.String MAPPING_TABLE_USERS_USERGROUPS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_USERGROUPS_COLUMNS

public static final java.lang.Object[][] MAPPING_TABLE_USERS_USERGROUPS_COLUMNS

MAPPING_TABLE_USERS_USERGROUPS_SQL_CREATE

public static final java.lang.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 com.liferay.portal.model.User toModel(com.liferay.portal.model.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 java.util.List<com.liferay.portal.model.User> toModels(com.liferay.portal.model.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()
Specified by:
getPrimaryKey in interface com.liferay.portal.model.UserModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portal.model.UserModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.UserModel

setPrimaryKeyObj

public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.UserModel

getModelClass

public java.lang.Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel

getModelClassName

public java.lang.String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel

getUuid

@JSON
public java.lang.String getUuid()
Specified by:
getUuid in interface com.liferay.portal.model.UserModel

setUuid

public void setUuid(java.lang.String uuid)
Specified by:
setUuid in interface com.liferay.portal.model.UserModel

getOriginalUuid

public java.lang.String getOriginalUuid()

getUserId

@JSON
public long getUserId()
Specified by:
getUserId in interface com.liferay.portal.model.UserModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.portal.model.UserModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface com.liferay.portal.model.UserModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface com.liferay.portal.model.UserModel

getOriginalUserId

public long getOriginalUserId()

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.portal.model.UserModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portal.model.UserModel

getOriginalCompanyId

public long getOriginalCompanyId()

getCreateDate

@JSON
public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface com.liferay.portal.model.UserModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface com.liferay.portal.model.UserModel

getModifiedDate

@JSON
public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface com.liferay.portal.model.UserModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface com.liferay.portal.model.UserModel

getDefaultUser

@JSON
public boolean getDefaultUser()
Specified by:
getDefaultUser in interface com.liferay.portal.model.UserModel

isDefaultUser

public boolean isDefaultUser()
Specified by:
isDefaultUser in interface com.liferay.portal.model.UserModel

setDefaultUser

public void setDefaultUser(boolean defaultUser)
Specified by:
setDefaultUser in interface com.liferay.portal.model.UserModel

getOriginalDefaultUser

public boolean getOriginalDefaultUser()

getContactId

@JSON
public long getContactId()
Specified by:
getContactId in interface com.liferay.portal.model.UserModel

setContactId

public void setContactId(long contactId)
Specified by:
setContactId in interface com.liferay.portal.model.UserModel

getOriginalContactId

public long getOriginalContactId()

getPassword

@JSON(include=false)
public java.lang.String getPassword()
Specified by:
getPassword in interface com.liferay.portal.model.UserModel

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface com.liferay.portal.model.UserModel

getPasswordEncrypted

@JSON(include=false)
public boolean getPasswordEncrypted()
Specified by:
getPasswordEncrypted in interface com.liferay.portal.model.UserModel

isPasswordEncrypted

public boolean isPasswordEncrypted()
Specified by:
isPasswordEncrypted in interface com.liferay.portal.model.UserModel

setPasswordEncrypted

public void setPasswordEncrypted(boolean passwordEncrypted)
Specified by:
setPasswordEncrypted in interface com.liferay.portal.model.UserModel

getPasswordReset

@JSON(include=false)
public boolean getPasswordReset()
Specified by:
getPasswordReset in interface com.liferay.portal.model.UserModel

isPasswordReset

public boolean isPasswordReset()
Specified by:
isPasswordReset in interface com.liferay.portal.model.UserModel

setPasswordReset

public void setPasswordReset(boolean passwordReset)
Specified by:
setPasswordReset in interface com.liferay.portal.model.UserModel

getPasswordModifiedDate

@JSON(include=false)
public java.util.Date getPasswordModifiedDate()
Specified by:
getPasswordModifiedDate in interface com.liferay.portal.model.UserModel

setPasswordModifiedDate

public void setPasswordModifiedDate(java.util.Date passwordModifiedDate)
Specified by:
setPasswordModifiedDate in interface com.liferay.portal.model.UserModel

getDigest

@JSON(include=false)
public java.lang.String getDigest()
Specified by:
getDigest in interface com.liferay.portal.model.UserModel

setDigest

public void setDigest(java.lang.String digest)
Specified by:
setDigest in interface com.liferay.portal.model.UserModel

getReminderQueryQuestion

@JSON
public java.lang.String getReminderQueryQuestion()
Specified by:
getReminderQueryQuestion in interface com.liferay.portal.model.UserModel

setReminderQueryQuestion

public void setReminderQueryQuestion(java.lang.String reminderQueryQuestion)
Specified by:
setReminderQueryQuestion in interface com.liferay.portal.model.UserModel

getReminderQueryAnswer

@JSON
public java.lang.String getReminderQueryAnswer()
Specified by:
getReminderQueryAnswer in interface com.liferay.portal.model.UserModel

setReminderQueryAnswer

public void setReminderQueryAnswer(java.lang.String reminderQueryAnswer)
Specified by:
setReminderQueryAnswer in interface com.liferay.portal.model.UserModel

getGraceLoginCount

@JSON
public int getGraceLoginCount()
Specified by:
getGraceLoginCount in interface com.liferay.portal.model.UserModel

setGraceLoginCount

public void setGraceLoginCount(int graceLoginCount)
Specified by:
setGraceLoginCount in interface com.liferay.portal.model.UserModel

getScreenName

@JSON
public java.lang.String getScreenName()
Specified by:
getScreenName in interface com.liferay.portal.model.UserModel

setScreenName

public void setScreenName(java.lang.String screenName)
Specified by:
setScreenName in interface com.liferay.portal.model.UserModel

getOriginalScreenName

public java.lang.String getOriginalScreenName()

getEmailAddress

@JSON
public java.lang.String getEmailAddress()
Specified by:
getEmailAddress in interface com.liferay.portal.model.UserModel

setEmailAddress

public void setEmailAddress(java.lang.String emailAddress)
Specified by:
setEmailAddress in interface com.liferay.portal.model.UserModel

getOriginalEmailAddress

public java.lang.String getOriginalEmailAddress()

getFacebookId

@JSON
public long getFacebookId()
Specified by:
getFacebookId in interface com.liferay.portal.model.UserModel

setFacebookId

public void setFacebookId(long facebookId)
Specified by:
setFacebookId in interface com.liferay.portal.model.UserModel

getOriginalFacebookId

public long getOriginalFacebookId()

getOpenId

@JSON
public java.lang.String getOpenId()
Specified by:
getOpenId in interface com.liferay.portal.model.UserModel

setOpenId

public void setOpenId(java.lang.String openId)
Specified by:
setOpenId in interface com.liferay.portal.model.UserModel

getOriginalOpenId

public java.lang.String getOriginalOpenId()

getPortraitId

@JSON
public long getPortraitId()
Specified by:
getPortraitId in interface com.liferay.portal.model.UserModel

setPortraitId

public void setPortraitId(long portraitId)
Specified by:
setPortraitId in interface com.liferay.portal.model.UserModel

getOriginalPortraitId

public long getOriginalPortraitId()

getLanguageId

@JSON
public java.lang.String getLanguageId()
Specified by:
getLanguageId in interface com.liferay.portal.model.UserModel

setLanguageId

public void setLanguageId(java.lang.String languageId)
Specified by:
setLanguageId in interface com.liferay.portal.model.UserModel

getTimeZoneId

@JSON
public java.lang.String getTimeZoneId()
Specified by:
getTimeZoneId in interface com.liferay.portal.model.UserModel

setTimeZoneId

public void setTimeZoneId(java.lang.String timeZoneId)
Specified by:
setTimeZoneId in interface com.liferay.portal.model.UserModel

getGreeting

@JSON
public java.lang.String getGreeting()
Specified by:
getGreeting in interface com.liferay.portal.model.UserModel

setGreeting

public void setGreeting(java.lang.String greeting)
Specified by:
setGreeting in interface com.liferay.portal.model.UserModel

getComments

@JSON
public java.lang.String getComments()
Specified by:
getComments in interface com.liferay.portal.model.UserModel

setComments

public void setComments(java.lang.String comments)
Specified by:
setComments in interface com.liferay.portal.model.UserModel

getFirstName

@JSON
public java.lang.String getFirstName()
Specified by:
getFirstName in interface com.liferay.portal.model.UserModel

setFirstName

public void setFirstName(java.lang.String firstName)
Specified by:
setFirstName in interface com.liferay.portal.model.UserModel

getMiddleName

@JSON
public java.lang.String getMiddleName()
Specified by:
getMiddleName in interface com.liferay.portal.model.UserModel

setMiddleName

public void setMiddleName(java.lang.String middleName)
Specified by:
setMiddleName in interface com.liferay.portal.model.UserModel

getLastName

@JSON
public java.lang.String getLastName()
Specified by:
getLastName in interface com.liferay.portal.model.UserModel

setLastName

public void setLastName(java.lang.String lastName)
Specified by:
setLastName in interface com.liferay.portal.model.UserModel

getJobTitle

@JSON
public java.lang.String getJobTitle()
Specified by:
getJobTitle in interface com.liferay.portal.model.UserModel

setJobTitle

public void setJobTitle(java.lang.String jobTitle)
Specified by:
setJobTitle in interface com.liferay.portal.model.UserModel

getLoginDate

@JSON
public java.util.Date getLoginDate()
Specified by:
getLoginDate in interface com.liferay.portal.model.UserModel

setLoginDate

public void setLoginDate(java.util.Date loginDate)
Specified by:
setLoginDate in interface com.liferay.portal.model.UserModel

getLoginIP

@JSON
public java.lang.String getLoginIP()
Specified by:
getLoginIP in interface com.liferay.portal.model.UserModel

setLoginIP

public void setLoginIP(java.lang.String loginIP)
Specified by:
setLoginIP in interface com.liferay.portal.model.UserModel

getLastLoginDate

@JSON
public java.util.Date getLastLoginDate()
Specified by:
getLastLoginDate in interface com.liferay.portal.model.UserModel

setLastLoginDate

public void setLastLoginDate(java.util.Date lastLoginDate)
Specified by:
setLastLoginDate in interface com.liferay.portal.model.UserModel

getLastLoginIP

@JSON
public java.lang.String getLastLoginIP()
Specified by:
getLastLoginIP in interface com.liferay.portal.model.UserModel

setLastLoginIP

public void setLastLoginIP(java.lang.String lastLoginIP)
Specified by:
setLastLoginIP in interface com.liferay.portal.model.UserModel

getLastFailedLoginDate

@JSON
public java.util.Date getLastFailedLoginDate()
Specified by:
getLastFailedLoginDate in interface com.liferay.portal.model.UserModel

setLastFailedLoginDate

public void setLastFailedLoginDate(java.util.Date lastFailedLoginDate)
Specified by:
setLastFailedLoginDate in interface com.liferay.portal.model.UserModel

getFailedLoginAttempts

@JSON
public int getFailedLoginAttempts()
Specified by:
getFailedLoginAttempts in interface com.liferay.portal.model.UserModel

setFailedLoginAttempts

public void setFailedLoginAttempts(int failedLoginAttempts)
Specified by:
setFailedLoginAttempts in interface com.liferay.portal.model.UserModel

getLockout

@JSON
public boolean getLockout()
Specified by:
getLockout in interface com.liferay.portal.model.UserModel

isLockout

public boolean isLockout()
Specified by:
isLockout in interface com.liferay.portal.model.UserModel

setLockout

public void setLockout(boolean lockout)
Specified by:
setLockout in interface com.liferay.portal.model.UserModel

getLockoutDate

@JSON
public java.util.Date getLockoutDate()
Specified by:
getLockoutDate in interface com.liferay.portal.model.UserModel

setLockoutDate

public void setLockoutDate(java.util.Date lockoutDate)
Specified by:
setLockoutDate in interface com.liferay.portal.model.UserModel

getAgreedToTermsOfUse

@JSON
public boolean getAgreedToTermsOfUse()
Specified by:
getAgreedToTermsOfUse in interface com.liferay.portal.model.UserModel

isAgreedToTermsOfUse

public boolean isAgreedToTermsOfUse()
Specified by:
isAgreedToTermsOfUse in interface com.liferay.portal.model.UserModel

setAgreedToTermsOfUse

public void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
Specified by:
setAgreedToTermsOfUse in interface com.liferay.portal.model.UserModel

getEmailAddressVerified

@JSON
public boolean getEmailAddressVerified()
Specified by:
getEmailAddressVerified in interface com.liferay.portal.model.UserModel

isEmailAddressVerified

public boolean isEmailAddressVerified()
Specified by:
isEmailAddressVerified in interface com.liferay.portal.model.UserModel

setEmailAddressVerified

public void setEmailAddressVerified(boolean emailAddressVerified)
Specified by:
setEmailAddressVerified in interface com.liferay.portal.model.UserModel

getStatus

@JSON
public int getStatus()
Specified by:
getStatus in interface com.liferay.portal.model.UserModel

setStatus

public void setStatus(int status)
Specified by:
setStatus in interface com.liferay.portal.model.UserModel

getOriginalStatus

public int getOriginalStatus()

getColumnBitmask

public long getColumnBitmask()

toEscapedModel

public com.liferay.portal.model.User toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
toEscapedModel in interface com.liferay.portal.model.UserModel
Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.User>

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portal.model.UserModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.User>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.UserModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.User>

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
clone in interface com.liferay.portal.model.UserModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.User>

compareTo

public int compareTo(com.liferay.portal.model.User user)
Specified by:
compareTo in interface com.liferay.portal.model.UserModel
Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.User>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portal.model.UserModel
Overrides:
hashCode in class java.lang.Object

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.User>

toCacheModel

public com.liferay.portal.model.CacheModel<com.liferay.portal.model.User> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
toCacheModel in interface com.liferay.portal.model.UserModel
Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.User>

toString

public java.lang.String toString()
Specified by:
toString in interface com.liferay.portal.model.UserModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.User>
Specified by:
toXmlString in interface com.liferay.portal.model.UserModel