|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<EmailAddress>
com.liferay.portal.model.impl.EmailAddressModelImpl
@JSON(strict=true) @ProviderType public class EmailAddressModelImpl
The base model implementation for the EmailAddress service. Represents a row in the "EmailAddress" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface EmailAddressModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in EmailAddressImpl.
EmailAddressImpl,
EmailAddress,
EmailAddressModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static long |
CREATEDATE_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PRIMARY_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
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 | |
|---|---|
EmailAddressModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(EmailAddress emailAddress)
|
boolean |
equals(Object obj)
|
String |
getAddress()
Returns the address of this email address. |
String |
getClassName()
Returns the fully qualified class name of this email address. |
long |
getClassNameId()
Returns the class name ID of this email address. |
long |
getClassPK()
Returns the class p k of this email address. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this email address. |
Date |
getCreateDate()
Returns the create date of this email address. |
long |
getEmailAddressId()
Returns the email address ID of this email address. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this email address. |
long |
getMvccVersion()
Returns the mvcc version of this email address. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
boolean |
getOriginalPrimary()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
boolean |
getPrimary()
Returns the primary of this email address. |
long |
getPrimaryKey()
Returns the primary key of this email address. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
long |
getTypeId()
Returns the type ID of this email address. |
long |
getUserId()
Returns the user ID of this email address. |
String |
getUserName()
Returns the user name of this email address. |
String |
getUserUuid()
Returns the user uuid of this email address. |
String |
getUuid()
Returns the uuid of this email address. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isPrimary()
Returns true if this email address is primary. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAddress(String address)
Sets the address of this email address. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this email address. |
void |
setClassPK(long classPK)
Sets the class p k of this email address. |
void |
setCompanyId(long companyId)
Sets the company ID of this email address. |
void |
setCreateDate(Date createDate)
Sets the create date of this email address. |
void |
setEmailAddressId(long emailAddressId)
Sets the email address ID of this email address. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this email address. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this email address. |
void |
setPrimary(boolean primary)
Sets whether this email address is primary. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this email address. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTypeId(long typeId)
Sets the type ID of this email address. |
void |
setUserId(long userId)
Sets the user ID of this email address. |
void |
setUserName(String userName)
Sets the user name of this email address. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this email address. |
void |
setUuid(String uuid)
Sets the uuid of this email address. |
CacheModel<EmailAddress> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
EmailAddress |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static EmailAddress |
toModel(EmailAddressSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<EmailAddress> |
toModels(EmailAddressSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
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, 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.model.EmailAddressModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long PRIMARY_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public EmailAddressModelImpl()
| Method Detail |
|---|
public static EmailAddress toModel(EmailAddressSoap soapModel)
soapModel - the soap model instance to convert
public static List<EmailAddress> toModels(EmailAddressSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
EmailAddressModel
getPrimaryKey in interface EmailAddressModelpublic void setPrimaryKey(long primaryKey)
EmailAddressModel
setPrimaryKey in interface EmailAddressModelprimaryKey - the primary key of this email addresspublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<EmailAddress>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface EmailAddressModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<EmailAddress>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface EmailAddressModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<EmailAddress>getModelAttributes in class BaseModelImpl<EmailAddress>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<EmailAddress>setModelAttributes in class BaseModelImpl<EmailAddress>@JSON public long getMvccVersion()
EmailAddressModel
getMvccVersion in interface EmailAddressModelgetMvccVersion in interface MVCCModelpublic void setMvccVersion(long mvccVersion)
EmailAddressModel
setMvccVersion in interface EmailAddressModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this email address@JSON public String getUuid()
EmailAddressModel
getUuid in interface EmailAddressModelgetUuid in interface StagedModelpublic void setUuid(String uuid)
EmailAddressModel
setUuid in interface EmailAddressModelsetUuid in interface StagedModeluuid - the uuid of this email addresspublic String getOriginalUuid()
@JSON public long getEmailAddressId()
EmailAddressModel
getEmailAddressId in interface EmailAddressModelpublic void setEmailAddressId(long emailAddressId)
EmailAddressModel
setEmailAddressId in interface EmailAddressModelemailAddressId - the email address ID of this email address@JSON public long getCompanyId()
EmailAddressModel
getCompanyId in interface AuditedModelgetCompanyId in interface EmailAddressModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic void setCompanyId(long companyId)
EmailAddressModel
setCompanyId in interface AuditedModelsetCompanyId in interface EmailAddressModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this email addresspublic long getOriginalCompanyId()
@JSON public long getUserId()
EmailAddressModel
getUserId in interface AuditedModelgetUserId in interface EmailAddressModelpublic void setUserId(long userId)
EmailAddressModel
setUserId in interface AuditedModelsetUserId in interface EmailAddressModeluserId - the user ID of this email addresspublic String getUserUuid()
EmailAddressModel
getUserUuid in interface AuditedModelgetUserUuid in interface EmailAddressModelpublic void setUserUuid(String userUuid)
EmailAddressModel
setUserUuid in interface AuditedModelsetUserUuid in interface EmailAddressModeluserUuid - the user uuid of this email addresspublic long getOriginalUserId()
@JSON public String getUserName()
EmailAddressModel
getUserName in interface AuditedModelgetUserName in interface EmailAddressModelpublic void setUserName(String userName)
EmailAddressModel
setUserName in interface AuditedModelsetUserName in interface EmailAddressModeluserName - the user name of this email address@JSON public Date getCreateDate()
EmailAddressModel
getCreateDate in interface AuditedModelgetCreateDate in interface EmailAddressModelgetCreateDate in interface StagedModelpublic void setCreateDate(Date createDate)
EmailAddressModel
setCreateDate in interface AuditedModelsetCreateDate in interface EmailAddressModelsetCreateDate in interface StagedModelcreateDate - the create date of this email address@JSON public Date getModifiedDate()
EmailAddressModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface EmailAddressModelgetModifiedDate in interface StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
EmailAddressModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface EmailAddressModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this email addresspublic String getClassName()
EmailAddressModel
getClassName in interface EmailAddressModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface EmailAddressModel@JSON public long getClassNameId()
EmailAddressModel
getClassNameId in interface EmailAddressModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
EmailAddressModel
setClassNameId in interface EmailAddressModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this email addresspublic long getOriginalClassNameId()
@JSON public long getClassPK()
EmailAddressModel
getClassPK in interface AttachedModelgetClassPK in interface EmailAddressModelpublic void setClassPK(long classPK)
EmailAddressModel
setClassPK in interface AttachedModelsetClassPK in interface EmailAddressModelclassPK - the class p k of this email addresspublic long getOriginalClassPK()
@JSON public String getAddress()
EmailAddressModel
getAddress in interface EmailAddressModelpublic void setAddress(String address)
EmailAddressModel
setAddress in interface EmailAddressModeladdress - the address of this email address@JSON public long getTypeId()
EmailAddressModel
getTypeId in interface EmailAddressModelpublic void setTypeId(long typeId)
EmailAddressModel
setTypeId in interface EmailAddressModeltypeId - the type ID of this email address@JSON public boolean getPrimary()
EmailAddressModel
getPrimary in interface EmailAddressModelpublic boolean isPrimary()
EmailAddressModeltrue if this email address is primary.
isPrimary in interface EmailAddressModeltrue if this email address is primary; false otherwisepublic void setPrimary(boolean primary)
EmailAddressModel
setPrimary in interface EmailAddressModelprimary - the primary of this email addresspublic boolean getOriginalPrimary()
public StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<EmailAddress>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface EmailAddressModelgetExpandoBridge in class BaseModelImpl<EmailAddress>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<EmailAddress>setExpandoBridgeAttributes in interface EmailAddressModelsetExpandoBridgeAttributes in class BaseModelImpl<EmailAddress>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public EmailAddress toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<EmailAddress>toEscapedModel in interface EmailAddressModeltoEscapedModel in class BaseModelImpl<EmailAddress>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<EmailAddress>clone in interface EmailAddressModelclone in interface StagedModelclone in class BaseModelImpl<EmailAddress>public int compareTo(EmailAddress emailAddress)
compareTo in interface EmailAddressModelcompareTo in interface Comparable<EmailAddress>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface EmailAddressModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<EmailAddress>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<EmailAddress>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<EmailAddress>resetOriginalValues in class BaseModelImpl<EmailAddress>public CacheModel<EmailAddress> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<EmailAddress>toCacheModel in interface EmailAddressModeltoCacheModel in class BaseModelImpl<EmailAddress>public String toString()
toString in interface EmailAddressModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<EmailAddress>toXmlString in interface EmailAddressModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||