Liferay 7.0-ga1 portal-impl

com.liferay.portal.model.impl
Class UserModelImpl

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

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

See Also:
UserImpl, User, UserModel, Serialized Form
{$generated.description}

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_ROLES
           
static boolean FINDER_CACHE_ENABLED_USERS_TEAMS
           
static boolean FINDER_CACHE_ENABLED_USERS_USERGROUPS
           
static long GOOGLEUSERID_COLUMN_BITMASK
           
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_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 String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PORTRAITID_COLUMN_BITMASK
           
static long SCREENNAME_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static long STATUS_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static Map<String,Integer> TABLE_COLUMNS_MAP
           
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()
           
 int compareTo(com.liferay.portal.kernel.model.User user)
           
 boolean equals(Object obj)
           
 boolean getAgreedToTermsOfUse()
           
 long getColumnBitmask()
           
 String getComments()
           
 long getCompanyId()
           
 long getContactId()
           
 Date getCreateDate()
           
 boolean getDefaultUser()
           
 String getDigest()
           
 String getEmailAddress()
           
 boolean getEmailAddressVerified()
           
 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
           
 long getFacebookId()
           
 int getFailedLoginAttempts()
           
 String getFirstName()
           
 String getGoogleUserId()
           
 int getGraceLoginCount()
           
 String getGreeting()
           
 String getJobTitle()
           
 String getLanguageId()
           
 Date getLastFailedLoginDate()
           
 Date getLastLoginDate()
           
 String getLastLoginIP()
           
 String getLastName()
           
 long getLdapServerId()
           
 boolean getLockout()
           
 Date getLockoutDate()
           
 Date getLoginDate()
           
 String getLoginIP()
           
 String getMiddleName()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
           
 long getMvccVersion()
           
 String getOpenId()
           
 long getOriginalCompanyId()
           
 long getOriginalContactId()
           
 Date getOriginalCreateDate()
           
 boolean getOriginalDefaultUser()
           
 String getOriginalEmailAddress()
           
 long getOriginalFacebookId()
           
 String getOriginalGoogleUserId()
           
 Date getOriginalModifiedDate()
           
 String getOriginalOpenId()
           
 long getOriginalPortraitId()
           
 String getOriginalScreenName()
           
 int getOriginalStatus()
           
 long getOriginalUserId()
           
 String getOriginalUuid()
           
 String getPassword()
           
 boolean getPasswordEncrypted()
           
 Date getPasswordModifiedDate()
           
 boolean getPasswordReset()
           
 long getPortraitId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 String getReminderQueryAnswer()
           
 String getReminderQueryQuestion()
           
 String getScreenName()
           
 com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
           
 int getStatus()
           
 String getTimeZoneId()
           
 long getUserId()
           
 String getUserUuid()
           
 String getUuid()
           
 int hashCode()
           
 boolean hasSetModifiedDate()
           
 boolean isAgreedToTermsOfUse()
           
 boolean isDefaultUser()
           
 boolean isEmailAddressVerified()
           
 boolean isEntityCacheEnabled()
           
 boolean isFinderCacheEnabled()
           
 boolean isLockout()
           
 boolean isPasswordEncrypted()
           
 boolean isPasswordReset()
           
 void resetOriginalValues()
           
 void setAgreedToTermsOfUse(boolean agreedToTermsOfUse)
           
 void setComments(String comments)
           
 void setCompanyId(long companyId)
           
 void setContactId(long contactId)
           
 void setCreateDate(Date createDate)
           
 void setDefaultUser(boolean defaultUser)
           
 void setDigest(String digest)
           
 void setEmailAddress(String emailAddress)
           
 void setEmailAddressVerified(boolean emailAddressVerified)
           
 void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void setFacebookId(long facebookId)
           
 void setFailedLoginAttempts(int failedLoginAttempts)
           
 void setFirstName(String firstName)
           
 void setGoogleUserId(String googleUserId)
           
 void setGraceLoginCount(int graceLoginCount)
           
 void setGreeting(String greeting)
           
 void setJobTitle(String jobTitle)
           
 void setLanguageId(String languageId)
           
 void setLastFailedLoginDate(Date lastFailedLoginDate)
           
 void setLastLoginDate(Date lastLoginDate)
           
 void setLastLoginIP(String lastLoginIP)
           
 void setLastName(String lastName)
           
 void setLdapServerId(long ldapServerId)
           
 void setLockout(boolean lockout)
           
 void setLockoutDate(Date lockoutDate)
           
 void setLoginDate(Date loginDate)
           
 void setLoginIP(String loginIP)
           
 void setMiddleName(String middleName)
           
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
           
 void setMvccVersion(long mvccVersion)
           
 void setOpenId(String openId)
           
 void setPassword(String password)
           
 void setPasswordEncrypted(boolean passwordEncrypted)
           
 void setPasswordModifiedDate(Date passwordModifiedDate)
           
 void setPasswordReset(boolean passwordReset)
           
 void setPortraitId(long portraitId)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setReminderQueryAnswer(String reminderQueryAnswer)
           
 void setReminderQueryQuestion(String reminderQueryQuestion)
           
 void setScreenName(String screenName)
           
 void setStatus(int status)
           
 void setTimeZoneId(String timeZoneId)
           
 void setUserId(long userId)
           
 void setUserUuid(String userUuid)
           
 void setUuid(String uuid)
           
 com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.User> toCacheModel()
           
 com.liferay.portal.kernel.model.User toEscapedModel()
           
static com.liferay.portal.kernel.model.User toModel(com.liferay.portal.kernel.model.UserSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<com.liferay.portal.kernel.model.User> toModels(com.liferay.portal.kernel.model.UserSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
           
 
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.model.UserModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_COLUMNS_MAP

public static final Map<String,Integer> TABLE_COLUMNS_MAP

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

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
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 final long COMPANYID_COLUMN_BITMASK
See Also:
Constant Field Values

CONTACTID_COLUMN_BITMASK

public static final long CONTACTID_COLUMN_BITMASK
See Also:
Constant Field Values

CREATEDATE_COLUMN_BITMASK

public static final long CREATEDATE_COLUMN_BITMASK
See Also:
Constant Field Values

DEFAULTUSER_COLUMN_BITMASK

public static final long DEFAULTUSER_COLUMN_BITMASK
See Also:
Constant Field Values

EMAILADDRESS_COLUMN_BITMASK

public static final long EMAILADDRESS_COLUMN_BITMASK
See Also:
Constant Field Values

FACEBOOKID_COLUMN_BITMASK

public static final long FACEBOOKID_COLUMN_BITMASK
See Also:
Constant Field Values

GOOGLEUSERID_COLUMN_BITMASK

public static final long GOOGLEUSERID_COLUMN_BITMASK
See Also:
Constant Field Values

MODIFIEDDATE_COLUMN_BITMASK

public static final long MODIFIEDDATE_COLUMN_BITMASK
See Also:
Constant Field Values

OPENID_COLUMN_BITMASK

public static final long OPENID_COLUMN_BITMASK
See Also:
Constant Field Values

PORTRAITID_COLUMN_BITMASK

public static final long PORTRAITID_COLUMN_BITMASK
See Also:
Constant Field Values

SCREENNAME_COLUMN_BITMASK

public static final long SCREENNAME_COLUMN_BITMASK
See Also:
Constant Field Values

STATUS_COLUMN_BITMASK

public static final long STATUS_COLUMN_BITMASK
See Also:
Constant Field Values

USERID_COLUMN_BITMASK

public static final long USERID_COLUMN_BITMASK
See Also:
Constant Field Values

UUID_COLUMN_BITMASK

public static final long UUID_COLUMN_BITMASK
See Also:
Constant Field Values

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_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 com.liferay.portal.kernel.model.User toModel(com.liferay.portal.kernel.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 List<com.liferay.portal.kernel.model.User> toModels(com.liferay.portal.kernel.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.kernel.model.UserModel

setPrimaryKey

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

getPrimaryKeyObj

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

setPrimaryKeyObj

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

getModelClass

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

getModelClassName

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

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.User>
Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.User>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.User>
Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.User>

getMvccVersion

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

setMvccVersion

public void setMvccVersion(long mvccVersion)
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.UserModel

getUuid

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

setUuid

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

getOriginalUuid

public String getOriginalUuid()

getUserId

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

setUserId

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

getUserUuid

public String getUserUuid()
Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.UserModel

setUserUuid

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

getOriginalUserId

public long getOriginalUserId()

getCompanyId

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

setCompanyId

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

getOriginalCompanyId

public long getOriginalCompanyId()

getCreateDate

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

setCreateDate

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

getOriginalCreateDate

public Date getOriginalCreateDate()

getModifiedDate

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

hasSetModifiedDate

public boolean hasSetModifiedDate()

setModifiedDate

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

getOriginalModifiedDate

public Date getOriginalModifiedDate()

getDefaultUser

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

isDefaultUser

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

setDefaultUser

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

getOriginalDefaultUser

public boolean getOriginalDefaultUser()

getContactId

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

setContactId

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

getOriginalContactId

public long getOriginalContactId()

getPassword

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

setPassword

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

getPasswordEncrypted

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

isPasswordEncrypted

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

setPasswordEncrypted

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

getPasswordReset

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

isPasswordReset

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

setPasswordReset

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

getPasswordModifiedDate

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

setPasswordModifiedDate

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

getDigest

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

setDigest

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

getReminderQueryQuestion

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

setReminderQueryQuestion

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

getReminderQueryAnswer

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

setReminderQueryAnswer

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

getGraceLoginCount

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

setGraceLoginCount

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

getScreenName

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

setScreenName

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

getOriginalScreenName

public String getOriginalScreenName()

getEmailAddress

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

setEmailAddress

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

getOriginalEmailAddress

public String getOriginalEmailAddress()

getFacebookId

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

setFacebookId

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

getOriginalFacebookId

public long getOriginalFacebookId()

getGoogleUserId

@JSON
public String getGoogleUserId()
Specified by:
getGoogleUserId in interface com.liferay.portal.kernel.model.UserModel

setGoogleUserId

public void setGoogleUserId(String googleUserId)
Specified by:
setGoogleUserId in interface com.liferay.portal.kernel.model.UserModel

getOriginalGoogleUserId

public String getOriginalGoogleUserId()

getLdapServerId

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

setLdapServerId

public void setLdapServerId(long ldapServerId)
Specified by:
setLdapServerId in interface com.liferay.portal.kernel.model.UserModel

getOpenId

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

setOpenId

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

getOriginalOpenId

public String getOriginalOpenId()

getPortraitId

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

setPortraitId

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

getOriginalPortraitId

public long getOriginalPortraitId()

getLanguageId

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

setLanguageId

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

getTimeZoneId

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

setTimeZoneId

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

getGreeting

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

setGreeting

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

getComments

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

setComments

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

getFirstName

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

setFirstName

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

getMiddleName

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

setMiddleName

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

getLastName

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

setLastName

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

getJobTitle

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

setJobTitle

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

getLoginDate

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

setLoginDate

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

getLoginIP

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

setLoginIP

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

getLastLoginDate

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

setLastLoginDate

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

getLastLoginIP

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

setLastLoginIP

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

getLastFailedLoginDate

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

setLastFailedLoginDate

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

getFailedLoginAttempts

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

setFailedLoginAttempts

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

getLockout

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

isLockout

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

setLockout

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

getLockoutDate

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

setLockoutDate

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

getAgreedToTermsOfUse

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

isAgreedToTermsOfUse

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

setAgreedToTermsOfUse

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

getEmailAddressVerified

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

isEmailAddressVerified

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

setEmailAddressVerified

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

getStatus

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

setStatus

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

getOriginalStatus

public int getOriginalStatus()

getStagedModelType

public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

setExpandoBridgeAttributes

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

toEscapedModel

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

clone

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

compareTo

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

equals

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

hashCode

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

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.User>

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.User>

resetOriginalValues

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

toCacheModel

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

toString

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

toXmlString

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

Liferay 7.0-ga1 portal-impl