|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<EmailAddress> com.liferay.portal.model.impl.EmailAddressModelImpl
@JSON(strict=true) 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 FormField Summary | |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_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 String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
USERID_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 |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
boolean |
getOriginalPrimary()
|
long |
getOriginalUserId()
|
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. |
int |
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. |
int |
hashCode()
|
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 |
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(int 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. |
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()
|
EmailAddress |
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.EmailAddressModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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 long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long PRIMARY_COLUMN_BITMASK
public static long USERID_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 EmailAddressModel
public void setPrimaryKey(long primaryKey)
EmailAddressModel
setPrimaryKey
in interface EmailAddressModel
primaryKey
- the primary key of this email addresspublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<EmailAddress>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface EmailAddressModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<EmailAddress>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface EmailAddressModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 getEmailAddressId()
EmailAddressModel
getEmailAddressId
in interface EmailAddressModel
public void setEmailAddressId(long emailAddressId)
EmailAddressModel
setEmailAddressId
in interface EmailAddressModel
emailAddressId
- the email address ID of this email address@JSON public long getCompanyId()
EmailAddressModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface EmailAddressModel
public void setCompanyId(long companyId)
EmailAddressModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface EmailAddressModel
companyId
- the company ID of this email addresspublic long getOriginalCompanyId()
@JSON public long getUserId()
EmailAddressModel
getUserId
in interface AuditedModel
getUserId
in interface EmailAddressModel
public void setUserId(long userId)
EmailAddressModel
setUserId
in interface AuditedModel
setUserId
in interface EmailAddressModel
userId
- the user ID of this email addresspublic String getUserUuid() throws SystemException
EmailAddressModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface EmailAddressModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
EmailAddressModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface EmailAddressModel
userUuid
- the user uuid of this email addresspublic long getOriginalUserId()
@JSON public String getUserName()
EmailAddressModel
getUserName
in interface AuditedModel
getUserName
in interface EmailAddressModel
public void setUserName(String userName)
EmailAddressModel
setUserName
in interface AuditedModel
setUserName
in interface EmailAddressModel
userName
- the user name of this email address@JSON public Date getCreateDate()
EmailAddressModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface EmailAddressModel
public void setCreateDate(Date createDate)
EmailAddressModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface EmailAddressModel
createDate
- the create date of this email address@JSON public Date getModifiedDate()
EmailAddressModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface EmailAddressModel
public void setModifiedDate(Date modifiedDate)
EmailAddressModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface EmailAddressModel
modifiedDate
- the modified date of this email addresspublic String getClassName()
EmailAddressModel
getClassName
in interface AttachedModel
getClassName
in interface EmailAddressModel
public void setClassName(String className)
setClassName
in interface EmailAddressModel
@JSON public long getClassNameId()
EmailAddressModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface EmailAddressModel
public void setClassNameId(long classNameId)
EmailAddressModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface EmailAddressModel
classNameId
- the class name ID of this email addresspublic long getOriginalClassNameId()
@JSON public long getClassPK()
EmailAddressModel
getClassPK
in interface AttachedModel
getClassPK
in interface EmailAddressModel
public void setClassPK(long classPK)
EmailAddressModel
setClassPK
in interface AttachedModel
setClassPK
in interface EmailAddressModel
classPK
- the class p k of this email addresspublic long getOriginalClassPK()
@JSON public String getAddress()
EmailAddressModel
getAddress
in interface EmailAddressModel
public void setAddress(String address)
EmailAddressModel
setAddress
in interface EmailAddressModel
address
- the address of this email address@JSON public int getTypeId()
EmailAddressModel
getTypeId
in interface EmailAddressModel
public void setTypeId(int typeId)
EmailAddressModel
setTypeId
in interface EmailAddressModel
typeId
- the type ID of this email address@JSON public boolean getPrimary()
EmailAddressModel
getPrimary
in interface EmailAddressModel
public boolean isPrimary()
EmailAddressModel
true
if this email address is primary.
isPrimary
in interface EmailAddressModel
true
if this email address is primary; false
otherwisepublic void setPrimary(boolean primary)
EmailAddressModel
setPrimary
in interface EmailAddressModel
primary
- the primary of this email addresspublic boolean getOriginalPrimary()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<EmailAddress>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface EmailAddressModel
getExpandoBridge
in class BaseModelImpl<EmailAddress>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<EmailAddress>
setExpandoBridgeAttributes
in interface EmailAddressModel
setExpandoBridgeAttributes
in class BaseModelImpl<EmailAddress>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public EmailAddress toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<EmailAddress>
toEscapedModel
in interface EmailAddressModel
toEscapedModel
in class BaseModelImpl<EmailAddress>
AutoEscapeBeanHandler
public EmailAddress toUnescapedModel()
toUnescapedModel
in interface BaseModel<EmailAddress>
toUnescapedModel
in interface EmailAddressModel
toUnescapedModel
in class BaseModelImpl<EmailAddress>
public Object clone()
BaseModel
clone
in interface BaseModel<EmailAddress>
clone
in interface EmailAddressModel
clone
in class BaseModelImpl<EmailAddress>
public int compareTo(EmailAddress emailAddress)
compareTo
in interface EmailAddressModel
compareTo
in interface Comparable<EmailAddress>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface EmailAddressModel
hashCode
in class Object
public 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 EmailAddressModel
toCacheModel
in class BaseModelImpl<EmailAddress>
public String toString()
toString
in interface EmailAddressModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<EmailAddress>
toXmlString
in interface EmailAddressModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |