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
modelFields 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.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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected EmailAddressWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, 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.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
EmailAddressWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<EmailAddress>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<EmailAddress>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<EmailAddress>- Specified by:
cloneWithOriginalValuesin interfaceEmailAddressModel
-
getAddress
Returns the address of this email address.- Specified by:
getAddressin interfaceEmailAddressModel- Returns:
- the address of this email address
-
getClassName
Returns the fully qualified class name of this email address.- Specified by:
getClassNamein interfaceEmailAddressModel- Specified by:
getClassNamein 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:
getClassNameIdin interfaceEmailAddressModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this email address
-
getClassPK
public long getClassPK()Returns the class pk of this email address.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceEmailAddressModel- Returns:
- the class pk of this email address
-
getCompanyId
public long getCompanyId()Returns the company ID of this email address.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceEmailAddressModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this email address
-
getCreateDate
Returns the create date of this email address.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceEmailAddressModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this email address
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this email address.- Specified by:
getCtCollectionIdin interfaceCTModel<EmailAddress>- Specified by:
getCtCollectionIdin 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:
getEmailAddressIdin interfaceEmailAddressModel- Returns:
- the email address ID of this email address
-
getExternalReferenceCode
Returns the external reference code of this email address.- Specified by:
getExternalReferenceCodein interfaceEmailAddressModel- Specified by:
getExternalReferenceCodein interfaceExternalReferenceCodeModel- Returns:
- the external reference code of this email address
-
getListType
- Specified by:
getListTypein interfaceEmailAddress- Throws:
PortalException
-
getListTypeId
public long getListTypeId()Returns the list type ID of this email address.- Specified by:
getListTypeIdin interfaceEmailAddressModel- Returns:
- the list type ID of this email address
-
getModifiedDate
Returns the modified date of this email address.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceEmailAddressModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this email address
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this email address.- Specified by:
getMvccVersionin interfaceEmailAddressModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this email address
-
getPrimary
public boolean getPrimary()Returns the primary of this email address.- Specified by:
getPrimaryin interfaceEmailAddressModel- Returns:
- the primary of this email address
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this email address.- Specified by:
getPrimaryKeyin interfaceCTModel<EmailAddress>- Specified by:
getPrimaryKeyin interfaceEmailAddressModel- Returns:
- the primary key of this email address
-
getUserId
public long getUserId()Returns the user ID of this email address.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceEmailAddressModel- Returns:
- the user ID of this email address
-
getUserName
Returns the user name of this email address.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceEmailAddressModel- Returns:
- the user name of this email address
-
getUserUuid
Returns the user uuid of this email address.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceEmailAddressModel- Returns:
- the user uuid of this email address
-
getUuid
Returns the uuid of this email address.- Specified by:
getUuidin interfaceEmailAddressModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this email address
-
isPrimary
public boolean isPrimary()Returnstrueif this email address is primary.- Specified by:
isPrimaryin interfaceEmailAddressModel- Returns:
trueif this email address is primary;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setAddress
Sets the address of this email address.- Specified by:
setAddressin interfaceEmailAddressModel- Parameters:
address- the address of this email address
-
setClassName
- Specified by:
setClassNamein interfaceEmailAddressModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this email address.- Specified by:
setClassNameIdin interfaceEmailAddressModel- Specified by:
setClassNameIdin 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:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin 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:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceEmailAddressModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this email address
-
setCreateDate
Sets the create date of this email address.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceEmailAddressModel- Specified by:
setCreateDatein 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:
setCtCollectionIdin interfaceCTModel<EmailAddress>- Specified by:
setCtCollectionIdin 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:
setEmailAddressIdin interfaceEmailAddressModel- Parameters:
emailAddressId- the email address ID of this email address
-
setExternalReferenceCode
Sets the external reference code of this email address.- Specified by:
setExternalReferenceCodein interfaceEmailAddressModel- Specified by:
setExternalReferenceCodein 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:
setListTypeIdin interfaceEmailAddressModel- Parameters:
listTypeId- the list type ID of this email address
-
setModifiedDate
Sets the modified date of this email address.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceEmailAddressModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceEmailAddressModel- Specified by:
setMvccVersionin 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:
setPrimaryin 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:
setPrimaryKeyin interfaceCTModel<EmailAddress>- Specified by:
setPrimaryKeyin 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:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceEmailAddressModel- Parameters:
userId- the user ID of this email address
-
setUserName
Sets the user name of this email address.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceEmailAddressModel- Parameters:
userName- the user name of this email address
-
setUserUuid
Sets the user uuid of this email address.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceEmailAddressModel- Parameters:
userUuid- the user uuid of this email address
-
setUuid
Sets the uuid of this email address.- Specified by:
setUuidin interfaceEmailAddressModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this email address
-
toXmlString
- Specified by:
toXmlStringin interfaceEmailAddressModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<EmailAddress>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<EmailAddress>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<EmailAddress>
-