Package com.liferay.portal.kernel.model
Class EmailAddressWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<EmailAddress>
com.liferay.portal.kernel.model.EmailAddressWrapper
- All Implemented Interfaces:
AttachedModel
,AuditedModel
,BaseModel<EmailAddress>
,CTModel<EmailAddress>
,ClassedModel
,EmailAddress
,EmailAddressModel
,ExternalReferenceCodeModel
,ModelWrapper<EmailAddress>
,MVCCModel
,PersistedModel
,ShardedModel
,StagedAuditedModel
,StagedModel
,TypedModel
,Serializable
,Cloneable
,Comparable<EmailAddress>
public class EmailAddressWrapper
extends BaseModelWrapper<EmailAddress>
implements EmailAddress, ModelWrapper<EmailAddress>
This class is a wrapper for EmailAddress
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.EmailAddress
EMAIL_ADDRESS_ID_ACCESSOR
-
Constructor Summary
Constructors -
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
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
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
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.protected EmailAddressWrapper
wrap
(EmailAddress emailAddress) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
EmailAddressWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<EmailAddress>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<EmailAddress>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<EmailAddress>
- Specified by:
cloneWithOriginalValues
in interfaceEmailAddressModel
-
getAddress
Returns the address of this email address.- Specified by:
getAddress
in interfaceEmailAddressModel
- Returns:
- the address of this email address
-
getClassName
Returns the fully qualified class name of this email address.- Specified by:
getClassName
in interfaceEmailAddressModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this email address
-
getClassNameId
public long getClassNameId()Returns the class name ID of this email address.- Specified by:
getClassNameId
in interfaceEmailAddressModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this email address
-
getClassPK
public long getClassPK()Returns the class pk of this email address.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceEmailAddressModel
- Returns:
- the class pk of this email address
-
getCompanyId
public long getCompanyId()Returns the company ID of this email address.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceEmailAddressModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this email address
-
getCreateDate
Returns the create date of this email address.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceEmailAddressModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this email address
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this email address.- Specified by:
getCtCollectionId
in interfaceCTModel<EmailAddress>
- Specified by:
getCtCollectionId
in interfaceEmailAddressModel
- Returns:
- the ct collection ID of this email address
-
getEmailAddressId
public long getEmailAddressId()Returns the email address ID of this email address.- Specified by:
getEmailAddressId
in interfaceEmailAddressModel
- Returns:
- the email address ID of this email address
-
getExternalReferenceCode
Returns the external reference code of this email address.- Specified by:
getExternalReferenceCode
in interfaceEmailAddressModel
- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this email address
-
getListType
- Specified by:
getListType
in interfaceEmailAddress
- Throws:
PortalException
-
getListTypeId
public long getListTypeId()Returns the list type ID of this email address.- Specified by:
getListTypeId
in interfaceEmailAddressModel
- Returns:
- the list type ID of this email address
-
getModifiedDate
Returns the modified date of this email address.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceEmailAddressModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this email address
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this email address.- Specified by:
getMvccVersion
in interfaceEmailAddressModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this email address
-
getPrimary
public boolean getPrimary()Returns the primary of this email address.- Specified by:
getPrimary
in interfaceEmailAddressModel
- Returns:
- the primary of this email address
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this email address.- Specified by:
getPrimaryKey
in interfaceCTModel<EmailAddress>
- Specified by:
getPrimaryKey
in interfaceEmailAddressModel
- Returns:
- the primary key of this email address
-
getUserId
public long getUserId()Returns the user ID of this email address.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceEmailAddressModel
- Returns:
- the user ID of this email address
-
getUserName
Returns the user name of this email address.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceEmailAddressModel
- Returns:
- the user name of this email address
-
getUserUuid
Returns the user uuid of this email address.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceEmailAddressModel
- Returns:
- the user uuid of this email address
-
getUuid
Returns the uuid of this email address.- Specified by:
getUuid
in interfaceEmailAddressModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this email address
-
isPrimary
public boolean isPrimary()Returnstrue
if this email address is primary.- Specified by:
isPrimary
in interfaceEmailAddressModel
- Returns:
true
if this email address is primary;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setAddress
Sets the address of this email address.- Specified by:
setAddress
in interfaceEmailAddressModel
- Parameters:
address
- the address of this email address
-
setClassName
- Specified by:
setClassName
in interfaceEmailAddressModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this email address.- Specified by:
setClassNameId
in interfaceEmailAddressModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this email address
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this email address.- Specified by:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceEmailAddressModel
- Parameters:
classPK
- the class pk of this email address
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this email address.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceEmailAddressModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this email address
-
setCreateDate
Sets the create date of this email address.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceEmailAddressModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this email address
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this email address.- Specified by:
setCtCollectionId
in interfaceCTModel<EmailAddress>
- Specified by:
setCtCollectionId
in interfaceEmailAddressModel
- Parameters:
ctCollectionId
- the ct collection ID of this email address
-
setEmailAddressId
public void setEmailAddressId(long emailAddressId) Sets the email address ID of this email address.- Specified by:
setEmailAddressId
in interfaceEmailAddressModel
- Parameters:
emailAddressId
- the email address ID of this email address
-
setExternalReferenceCode
Sets the external reference code of this email address.- Specified by:
setExternalReferenceCode
in interfaceEmailAddressModel
- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this email address
-
setListTypeId
public void setListTypeId(long listTypeId) Sets the list type ID of this email address.- Specified by:
setListTypeId
in interfaceEmailAddressModel
- Parameters:
listTypeId
- the list type ID of this email address
-
setModifiedDate
Sets the modified date of this email address.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceEmailAddressModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this email address
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this email address.- Specified by:
setMvccVersion
in interfaceEmailAddressModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this email address
-
setPrimary
public void setPrimary(boolean primary) Sets whether this email address is primary.- Specified by:
setPrimary
in interfaceEmailAddressModel
- Parameters:
primary
- the primary of this email address
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this email address.- Specified by:
setPrimaryKey
in interfaceCTModel<EmailAddress>
- Specified by:
setPrimaryKey
in interfaceEmailAddressModel
- Parameters:
primaryKey
- the primary key of this email address
-
setUserId
public void setUserId(long userId) Sets the user ID of this email address.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceEmailAddressModel
- Parameters:
userId
- the user ID of this email address
-
setUserName
Sets the user name of this email address.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceEmailAddressModel
- Parameters:
userName
- the user name of this email address
-
setUserUuid
Sets the user uuid of this email address.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceEmailAddressModel
- Parameters:
userUuid
- the user uuid of this email address
-
setUuid
Sets the uuid of this email address.- Specified by:
setUuid
in interfaceEmailAddressModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this email address
-
toXmlString
- Specified by:
toXmlString
in interfaceEmailAddressModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<EmailAddress>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<EmailAddress>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<EmailAddress>
-