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.longReturns the class name ID of this email address.longReturns the class pk of this email address.longReturns the company ID of this email address.Returns the create date of this email address.longReturns the ct collection ID of this email address.longReturns the email address ID of this email address.Returns the external reference code of this email address.longReturns the list type ID of this email address.Returns the modified date of this email address.longReturns the mvcc version of this email address.booleanReturns the primary of this email address.longReturns the primary key of this email address.longReturns 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.booleanReturnstrueif this email address is primary.voidsetAddress(String address) Sets the address of this email address.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this email address.voidsetClassPK(long classPK) Sets the class pk of this email address.voidsetCompanyId(long companyId) Sets the company ID of this email address.voidsetCreateDate(Date createDate) Sets the create date of this email address.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this email address.voidsetEmailAddressId(long emailAddressId) Sets the email address ID of this email address.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this email address.voidsetListTypeId(long listTypeId) Sets the list type ID of this email address.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this email address.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this email address.voidsetPrimary(boolean primary) Sets whether this email address is primary.voidsetPrimaryKey(long primaryKey) Sets the primary key of this email address.voidsetUserId(long userId) Sets the user ID of this email address.voidsetUserName(String userName) Sets the user name of this email address.voidsetUserUuid(String userUuid) Sets the user uuid of this email address.voidSets the uuid of this email address.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<EmailAddress>- Parameters:
primaryKey- the primary key of this email address
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this email address.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this email address
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this email address.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this email address
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this email address.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin interfaceCTModel<EmailAddress>- Parameters:
ctCollectionId- the ct collection ID of this email address
-
getUuid
Returns the uuid of this email address.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this email address
-
setUuid
Sets the uuid of this email address.- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this email address
-
getExternalReferenceCode
Returns the external reference code of this email address.- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this email address
-
setExternalReferenceCode
Sets the external reference code of this email address.- Specified by:
setExternalReferenceCodein 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this email address
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this email address.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this email address
-
getUserId
long getUserId()Returns the user ID of this email address.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this email address
-
setUserId
void setUserId(long userId) Sets the user ID of this email address.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this email address
-
getUserUuid
String getUserUuid()Returns the user uuid of this email address.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this email address
-
setUserUuid
Sets the user uuid of this email address.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this email address
-
getUserName
Returns the user name of this email address.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this email address
-
setUserName
Sets the user name of this email address.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this email address
-
getCreateDate
Date getCreateDate()Returns the create date of this email address.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this email address
-
setCreateDate
Sets the create date of this email address.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this email address
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this email address.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this email address
-
setModifiedDate
Sets the modified date of this email address.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein 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:
getClassNamein 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:
getClassNameIdin 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:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this email address
-
getClassPK
long getClassPK()Returns the class pk of this email address.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this email address
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this email address.- Specified by:
setClassPKin 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()Returnstrueif this email address is primary.- Returns:
trueif this email address is primary;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<EmailAddress>
-
toXmlString
-