public class CommerceNotificationTemplateWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceNotificationTemplate> implements CommerceNotificationTemplate, com.liferay.portal.kernel.model.ModelWrapper<CommerceNotificationTemplate>
This class is a wrapper for CommerceNotificationTemplate
.
CommerceNotificationTemplate
,
Serialized FormCOMMERCE_NOTIFICATION_TEMPLATE_ID_ACCESSOR
Constructor and Description |
---|
CommerceNotificationTemplateWrapper(CommerceNotificationTemplate commerceNotificationTemplate) |
Modifier and Type | Method and Description |
---|---|
CommerceNotificationTemplate |
cloneWithOriginalValues() |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getBcc()
Returns the bcc of this commerce notification template.
|
java.lang.String |
getBody()
Returns the body of this commerce notification template.
|
java.lang.String |
getBody(java.util.Locale locale)
Returns the localized body of this commerce notification template in the language.
|
java.lang.String |
getBody(java.util.Locale locale,
boolean useDefault)
Returns the localized body of this commerce notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getBody(java.lang.String languageId)
Returns the localized body of this commerce notification template in the language.
|
java.lang.String |
getBody(java.lang.String languageId,
boolean useDefault)
Returns the localized body of this commerce notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getBodyCurrentLanguageId() |
java.lang.String |
getBodyCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getBodyMap()
Returns a map of the locales and localized bodies of this commerce notification template.
|
java.lang.String |
getCc()
Returns the cc of this commerce notification template.
|
long |
getCommerceNotificationTemplateId()
Returns the commerce notification template ID of this commerce notification template.
|
long |
getCompanyId()
Returns the company ID of this commerce notification template.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce notification template.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this commerce notification template.
|
boolean |
getEnabled()
Returns the enabled of this commerce notification template.
|
java.lang.String |
getFrom()
Returns the from of this commerce notification template.
|
java.lang.String |
getFromName()
Returns the from name of this commerce notification template.
|
java.lang.String |
getFromName(java.util.Locale locale)
Returns the localized from name of this commerce notification template in the language.
|
java.lang.String |
getFromName(java.util.Locale locale,
boolean useDefault)
Returns the localized from name of this commerce notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getFromName(java.lang.String languageId)
Returns the localized from name of this commerce notification template in the language.
|
java.lang.String |
getFromName(java.lang.String languageId,
boolean useDefault)
Returns the localized from name of this commerce notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getFromNameCurrentLanguageId() |
java.lang.String |
getFromNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getFromNameMap()
Returns a map of the locales and localized from names of this commerce notification template.
|
long |
getGroupId()
Returns the group ID of this commerce notification template.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce notification template.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce notification template.
|
java.lang.String |
getName()
Returns the name of this commerce notification template.
|
long |
getPrimaryKey()
Returns the primary key of this commerce notification template.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getSubject()
Returns the subject of this commerce notification template.
|
java.lang.String |
getSubject(java.util.Locale locale)
Returns the localized subject of this commerce notification template in the language.
|
java.lang.String |
getSubject(java.util.Locale locale,
boolean useDefault)
Returns the localized subject of this commerce notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getSubject(java.lang.String languageId)
Returns the localized subject of this commerce notification template in the language.
|
java.lang.String |
getSubject(java.lang.String languageId,
boolean useDefault)
Returns the localized subject of this commerce notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getSubjectCurrentLanguageId() |
java.lang.String |
getSubjectCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getSubjectMap()
Returns a map of the locales and localized subjects of this commerce notification template.
|
java.lang.String |
getTo()
Returns the to of this commerce notification template.
|
java.lang.String |
getType()
Returns the type of this commerce notification template.
|
long |
getUserId()
Returns the user ID of this commerce notification template.
|
java.lang.String |
getUserName()
Returns the user name of this commerce notification template.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce notification template.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce notification template.
|
boolean |
isEnabled()
Returns
true if this commerce notification template is enabled. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setBcc(java.lang.String bcc)
Sets the bcc of this commerce notification template.
|
void |
setBody(java.lang.String body)
Sets the body of this commerce notification template.
|
void |
setBody(java.lang.String body,
java.util.Locale locale)
Sets the localized body of this commerce notification template in the language.
|
void |
setBody(java.lang.String body,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized body of this commerce notification template in the language, and sets the default locale.
|
void |
setBodyCurrentLanguageId(java.lang.String languageId) |
void |
setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
Sets the localized bodies of this commerce notification template from the map of locales and localized bodies.
|
void |
setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap,
java.util.Locale defaultLocale)
Sets the localized bodies of this commerce notification template from the map of locales and localized bodies, and sets the default locale.
|
void |
setCc(java.lang.String cc)
Sets the cc of this commerce notification template.
|
void |
setCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Sets the commerce notification template ID of this commerce notification template.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce notification template.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce notification template.
|
void |
setDescription(java.lang.String description)
Sets the description of this commerce notification template.
|
void |
setEnabled(boolean enabled)
Sets whether this commerce notification template is enabled.
|
void |
setFrom(java.lang.String from)
Sets the from of this commerce notification template.
|
void |
setFromName(java.lang.String fromName)
Sets the from name of this commerce notification template.
|
void |
setFromName(java.lang.String fromName,
java.util.Locale locale)
Sets the localized from name of this commerce notification template in the language.
|
void |
setFromName(java.lang.String fromName,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized from name of this commerce notification template in the language, and sets the default locale.
|
void |
setFromNameCurrentLanguageId(java.lang.String languageId) |
void |
setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap)
Sets the localized from names of this commerce notification template from the map of locales and localized from names.
|
void |
setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap,
java.util.Locale defaultLocale)
Sets the localized from names of this commerce notification template from the map of locales and localized from names, and sets the default locale.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce notification template.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce notification template.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce notification template.
|
void |
setName(java.lang.String name)
Sets the name of this commerce notification template.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce notification template.
|
void |
setSubject(java.lang.String subject)
Sets the subject of this commerce notification template.
|
void |
setSubject(java.lang.String subject,
java.util.Locale locale)
Sets the localized subject of this commerce notification template in the language.
|
void |
setSubject(java.lang.String subject,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized subject of this commerce notification template in the language, and sets the default locale.
|
void |
setSubjectCurrentLanguageId(java.lang.String languageId) |
void |
setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
Sets the localized subjects of this commerce notification template from the map of locales and localized subjects.
|
void |
setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap,
java.util.Locale defaultLocale)
Sets the localized subjects of this commerce notification template from the map of locales and localized subjects, and sets the default locale.
|
void |
setTo(java.lang.String to)
Sets the to of this commerce notification template.
|
void |
setType(java.lang.String type)
Sets the type of this commerce notification template.
|
void |
setUserId(long userId)
Sets the user ID of this commerce notification template.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce notification template.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce notification template.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce notification template.
|
protected CommerceNotificationTemplateWrapper |
wrap(CommerceNotificationTemplate commerceNotificationTemplate) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CommerceNotificationTemplateWrapper(CommerceNotificationTemplate commerceNotificationTemplate)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>
public CommerceNotificationTemplate cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceNotificationTemplateModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface CommerceNotificationTemplateModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getBcc()
getBcc
in interface CommerceNotificationTemplateModel
public java.lang.String getBody()
getBody
in interface CommerceNotificationTemplateModel
public java.lang.String getBody(java.util.Locale locale)
getBody
in interface CommerceNotificationTemplateModel
locale
- the locale of the languagepublic java.lang.String getBody(java.util.Locale locale, boolean useDefault)
getBody
in interface CommerceNotificationTemplateModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getBody(java.lang.String languageId)
getBody
in interface CommerceNotificationTemplateModel
languageId
- the ID of the languagepublic java.lang.String getBody(java.lang.String languageId, boolean useDefault)
getBody
in interface CommerceNotificationTemplateModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getBodyCurrentLanguageId()
getBodyCurrentLanguageId
in interface CommerceNotificationTemplateModel
public java.lang.String getBodyCurrentValue()
getBodyCurrentValue
in interface CommerceNotificationTemplateModel
public java.util.Map<java.util.Locale,java.lang.String> getBodyMap()
getBodyMap
in interface CommerceNotificationTemplateModel
public java.lang.String getCc()
getCc
in interface CommerceNotificationTemplateModel
public long getCommerceNotificationTemplateId()
getCommerceNotificationTemplateId
in interface CommerceNotificationTemplateModel
public long getCompanyId()
getCompanyId
in interface CommerceNotificationTemplateModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceNotificationTemplateModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface CommerceNotificationTemplateModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDescription()
getDescription
in interface CommerceNotificationTemplateModel
public boolean getEnabled()
getEnabled
in interface CommerceNotificationTemplateModel
public java.lang.String getFrom()
getFrom
in interface CommerceNotificationTemplateModel
public java.lang.String getFromName()
getFromName
in interface CommerceNotificationTemplateModel
public java.lang.String getFromName(java.util.Locale locale)
getFromName
in interface CommerceNotificationTemplateModel
locale
- the locale of the languagepublic java.lang.String getFromName(java.util.Locale locale, boolean useDefault)
getFromName
in interface CommerceNotificationTemplateModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getFromName(java.lang.String languageId)
getFromName
in interface CommerceNotificationTemplateModel
languageId
- the ID of the languagepublic java.lang.String getFromName(java.lang.String languageId, boolean useDefault)
getFromName
in interface CommerceNotificationTemplateModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getFromNameCurrentLanguageId()
getFromNameCurrentLanguageId
in interface CommerceNotificationTemplateModel
public java.lang.String getFromNameCurrentValue()
getFromNameCurrentValue
in interface CommerceNotificationTemplateModel
public java.util.Map<java.util.Locale,java.lang.String> getFromNameMap()
getFromNameMap
in interface CommerceNotificationTemplateModel
public long getGroupId()
getGroupId
in interface CommerceNotificationTemplateModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceNotificationTemplateModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceNotificationTemplateModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface CommerceNotificationTemplateModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceNotificationTemplateModel
public java.lang.String getSubject()
getSubject
in interface CommerceNotificationTemplateModel
public java.lang.String getSubject(java.util.Locale locale)
getSubject
in interface CommerceNotificationTemplateModel
locale
- the locale of the languagepublic java.lang.String getSubject(java.util.Locale locale, boolean useDefault)
getSubject
in interface CommerceNotificationTemplateModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getSubject(java.lang.String languageId)
getSubject
in interface CommerceNotificationTemplateModel
languageId
- the ID of the languagepublic java.lang.String getSubject(java.lang.String languageId, boolean useDefault)
getSubject
in interface CommerceNotificationTemplateModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getSubjectCurrentLanguageId()
getSubjectCurrentLanguageId
in interface CommerceNotificationTemplateModel
public java.lang.String getSubjectCurrentValue()
getSubjectCurrentValue
in interface CommerceNotificationTemplateModel
public java.util.Map<java.util.Locale,java.lang.String> getSubjectMap()
getSubjectMap
in interface CommerceNotificationTemplateModel
public java.lang.String getTo()
getTo
in interface CommerceNotificationTemplateModel
public java.lang.String getType()
getType
in interface CommerceNotificationTemplateModel
public long getUserId()
getUserId
in interface CommerceNotificationTemplateModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceNotificationTemplateModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceNotificationTemplateModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CommerceNotificationTemplateModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isEnabled()
true
if this commerce notification template is enabled.isEnabled
in interface CommerceNotificationTemplateModel
true
if this commerce notification template is enabled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface CommerceNotificationTemplateModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface CommerceNotificationTemplateModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setBcc(java.lang.String bcc)
setBcc
in interface CommerceNotificationTemplateModel
bcc
- the bcc of this commerce notification templatepublic void setBody(java.lang.String body)
setBody
in interface CommerceNotificationTemplateModel
body
- the body of this commerce notification templatepublic void setBody(java.lang.String body, java.util.Locale locale)
setBody
in interface CommerceNotificationTemplateModel
body
- the localized body of this commerce notification templatelocale
- the locale of the languagepublic void setBody(java.lang.String body, java.util.Locale locale, java.util.Locale defaultLocale)
setBody
in interface CommerceNotificationTemplateModel
body
- the localized body of this commerce notification templatelocale
- the locale of the languagedefaultLocale
- the default localepublic void setBodyCurrentLanguageId(java.lang.String languageId)
setBodyCurrentLanguageId
in interface CommerceNotificationTemplateModel
public void setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
setBodyMap
in interface CommerceNotificationTemplateModel
bodyMap
- the locales and localized bodies of this commerce notification templatepublic void setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap, java.util.Locale defaultLocale)
setBodyMap
in interface CommerceNotificationTemplateModel
bodyMap
- the locales and localized bodies of this commerce notification templatedefaultLocale
- the default localepublic void setCc(java.lang.String cc)
setCc
in interface CommerceNotificationTemplateModel
cc
- the cc of this commerce notification templatepublic void setCommerceNotificationTemplateId(long commerceNotificationTemplateId)
setCommerceNotificationTemplateId
in interface CommerceNotificationTemplateModel
commerceNotificationTemplateId
- the commerce notification template ID of this commerce notification templatepublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceNotificationTemplateModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this commerce notification templatepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceNotificationTemplateModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce notification templatepublic void setDescription(java.lang.String description)
setDescription
in interface CommerceNotificationTemplateModel
description
- the description of this commerce notification templatepublic void setEnabled(boolean enabled)
setEnabled
in interface CommerceNotificationTemplateModel
enabled
- the enabled of this commerce notification templatepublic void setFrom(java.lang.String from)
setFrom
in interface CommerceNotificationTemplateModel
from
- the from of this commerce notification templatepublic void setFromName(java.lang.String fromName)
setFromName
in interface CommerceNotificationTemplateModel
fromName
- the from name of this commerce notification templatepublic void setFromName(java.lang.String fromName, java.util.Locale locale)
setFromName
in interface CommerceNotificationTemplateModel
fromName
- the localized from name of this commerce notification templatelocale
- the locale of the languagepublic void setFromName(java.lang.String fromName, java.util.Locale locale, java.util.Locale defaultLocale)
setFromName
in interface CommerceNotificationTemplateModel
fromName
- the localized from name of this commerce notification templatelocale
- the locale of the languagedefaultLocale
- the default localepublic void setFromNameCurrentLanguageId(java.lang.String languageId)
setFromNameCurrentLanguageId
in interface CommerceNotificationTemplateModel
public void setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap)
setFromNameMap
in interface CommerceNotificationTemplateModel
fromNameMap
- the locales and localized from names of this commerce notification templatepublic void setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap, java.util.Locale defaultLocale)
setFromNameMap
in interface CommerceNotificationTemplateModel
fromNameMap
- the locales and localized from names of this commerce notification templatedefaultLocale
- the default localepublic void setGroupId(long groupId)
setGroupId
in interface CommerceNotificationTemplateModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce notification templatepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceNotificationTemplateModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this commerce notification templatepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceNotificationTemplateModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce notification templatepublic void setName(java.lang.String name)
setName
in interface CommerceNotificationTemplateModel
name
- the name of this commerce notification templatepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceNotificationTemplateModel
primaryKey
- the primary key of this commerce notification templatepublic void setSubject(java.lang.String subject)
setSubject
in interface CommerceNotificationTemplateModel
subject
- the subject of this commerce notification templatepublic void setSubject(java.lang.String subject, java.util.Locale locale)
setSubject
in interface CommerceNotificationTemplateModel
subject
- the localized subject of this commerce notification templatelocale
- the locale of the languagepublic void setSubject(java.lang.String subject, java.util.Locale locale, java.util.Locale defaultLocale)
setSubject
in interface CommerceNotificationTemplateModel
subject
- the localized subject of this commerce notification templatelocale
- the locale of the languagedefaultLocale
- the default localepublic void setSubjectCurrentLanguageId(java.lang.String languageId)
setSubjectCurrentLanguageId
in interface CommerceNotificationTemplateModel
public void setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
setSubjectMap
in interface CommerceNotificationTemplateModel
subjectMap
- the locales and localized subjects of this commerce notification templatepublic void setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap, java.util.Locale defaultLocale)
setSubjectMap
in interface CommerceNotificationTemplateModel
subjectMap
- the locales and localized subjects of this commerce notification templatedefaultLocale
- the default localepublic void setTo(java.lang.String to)
setTo
in interface CommerceNotificationTemplateModel
to
- the to of this commerce notification templatepublic void setType(java.lang.String type)
setType
in interface CommerceNotificationTemplateModel
type
- the type of this commerce notification templatepublic void setUserId(long userId)
setUserId
in interface CommerceNotificationTemplateModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce notification templatepublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceNotificationTemplateModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce notification templatepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceNotificationTemplateModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce notification templatepublic void setUuid(java.lang.String uuid)
setUuid
in interface CommerceNotificationTemplateModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce notification templatepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommerceNotificationTemplateWrapper wrap(CommerceNotificationTemplate commerceNotificationTemplate)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceNotificationTemplate>