Package com.liferay.portal.kernel.model
Interface EmailAddressModel
- All Superinterfaces:
AttachedModel
,AuditedModel
,BaseModel<EmailAddress>
,ClassedModel
,Cloneable
,Comparable<EmailAddress>
,CTModel<EmailAddress>
,ExternalReferenceCodeModel
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
- All Known Subinterfaces:
EmailAddress
- All Known Implementing Classes:
EmailAddressWrapper
@ProviderType
public interface EmailAddressModel
extends AttachedModel, BaseModel<EmailAddress>, CTModel<EmailAddress>, ExternalReferenceCodeModel, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the EmailAddress service. Represents a row in the "EmailAddress" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.EmailAddressModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.EmailAddressImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionReturns the address of this email address.Returns the fully qualified class name of this email address.long
Returns the class name ID of this email address.long
Returns the class pk of this email address.long
Returns the company ID of this email address.Returns the create date of this email address.long
Returns the ct collection ID of this email address.long
Returns the email address ID of this email address.Returns the external reference code of this email address.long
Returns the list type ID of this email address.Returns the modified date of this email address.long
Returns the mvcc version of this email address.boolean
Returns the primary of this email address.long
Returns the primary key of this email address.long
Returns the user ID of this email address.Returns the user name of this email address.Returns the user uuid of this email address.getUuid()
Returns the uuid of this email address.boolean
Returnstrue
if this email address is primary.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 pk 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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this email address.void
setEmailAddressId
(long emailAddressId) Sets the email address ID of this email address.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this email address.void
setListTypeId
(long listTypeId) Sets the list type ID of this email address.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
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
Sets the uuid of this email address.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this email address.- Specified by:
getPrimaryKey
in interfaceCTModel<EmailAddress>
- Returns:
- the primary key of this email address
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this email address.- Specified by:
setPrimaryKey
in interfaceCTModel<EmailAddress>
- Parameters:
primaryKey
- the primary key of this email address
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this email address.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this email address
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this email address.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this email address
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this email address.- Specified by:
getCtCollectionId
in interfaceCTModel<EmailAddress>
- Returns:
- the ct collection ID of this email address
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this email address.- Specified by:
setCtCollectionId
in interfaceCTModel<EmailAddress>
- Parameters:
ctCollectionId
- the ct collection ID of this email address
-
getUuid
Returns the uuid of this email address.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this email address
-
setUuid
Sets the uuid of this email address.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this email address
-
getExternalReferenceCode
Returns the external reference code of this email address.- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this email address
-
setExternalReferenceCode
Sets the external reference code of this email address.- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this email address
-
getEmailAddressId
long getEmailAddressId()Returns the email address ID of this email address.- Returns:
- the email address ID of this email address
-
setEmailAddressId
void setEmailAddressId(long emailAddressId) Sets the email address ID of this email address.- Parameters:
emailAddressId
- the email address ID of this email address
-
getCompanyId
long getCompanyId()Returns the company ID of this email address.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this email address
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this email address.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this email address
-
getUserId
long getUserId()Returns the user ID of this email address.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this email address
-
setUserId
void setUserId(long userId) Sets the user ID of this email address.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this email address
-
getUserUuid
String getUserUuid()Returns the user uuid of this email address.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this email address
-
setUserUuid
Sets the user uuid of this email address.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this email address
-
getUserName
Returns the user name of this email address.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this email address
-
setUserName
Sets the user name of this email address.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this email address
-
getCreateDate
Date getCreateDate()Returns the create date of this email address.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this email address
-
setCreateDate
Sets the create date of this email address.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this email address
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this email address.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this email address
-
setModifiedDate
Sets the modified date of this email address.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this email address
-
getClassName
String getClassName()Returns the fully qualified class name of this email address.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this email address
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this email address.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this email address
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this email address.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this email address
-
getClassPK
long getClassPK()Returns the class pk of this email address.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this email address
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this email address.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this email address
-
getAddress
Returns the address of this email address.- Returns:
- the address of this email address
-
setAddress
Sets the address of this email address.- Parameters:
address
- the address of this email address
-
getListTypeId
long getListTypeId()Returns the list type ID of this email address.- Returns:
- the list type ID of this email address
-
setListTypeId
void setListTypeId(long listTypeId) Sets the list type ID of this email address.- Parameters:
listTypeId
- the list type ID of this email address
-
getPrimary
boolean getPrimary()Returns the primary of this email address.- Returns:
- the primary of this email address
-
isPrimary
boolean isPrimary()Returnstrue
if this email address is primary.- Returns:
true
if this email address is primary;false
otherwise
-
setPrimary
void setPrimary(boolean primary) Sets whether this email address is primary.- Parameters:
primary
- the primary of this email address
-
cloneWithOriginalValues
EmailAddress cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<EmailAddress>
-
toXmlString
-