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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 CommerceNotificationTemplateModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface CommerceNotificationTemplateModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getBcc()
getBcc in interface CommerceNotificationTemplateModelpublic java.lang.String getBody()
getBody in interface CommerceNotificationTemplateModelpublic java.lang.String getBody(java.util.Locale locale)
getBody in interface CommerceNotificationTemplateModellocale - the locale of the languagepublic java.lang.String getBody(java.util.Locale locale,
boolean useDefault)
getBody in interface CommerceNotificationTemplateModellocale - 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 CommerceNotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getBody(java.lang.String languageId,
boolean useDefault)
getBody in interface CommerceNotificationTemplateModellanguageId - 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 CommerceNotificationTemplateModelpublic java.lang.String getBodyCurrentValue()
getBodyCurrentValue in interface CommerceNotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getBodyMap()
getBodyMap in interface CommerceNotificationTemplateModelpublic java.lang.String getCc()
getCc in interface CommerceNotificationTemplateModelpublic long getCommerceNotificationTemplateId()
getCommerceNotificationTemplateId in interface CommerceNotificationTemplateModelpublic long getCompanyId()
getCompanyId in interface CommerceNotificationTemplateModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceNotificationTemplateModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface CommerceNotificationTemplateModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface CommerceNotificationTemplateModelpublic boolean getEnabled()
getEnabled in interface CommerceNotificationTemplateModelpublic java.lang.String getFrom()
getFrom in interface CommerceNotificationTemplateModelpublic java.lang.String getFromName()
getFromName in interface CommerceNotificationTemplateModelpublic java.lang.String getFromName(java.util.Locale locale)
getFromName in interface CommerceNotificationTemplateModellocale - the locale of the languagepublic java.lang.String getFromName(java.util.Locale locale,
boolean useDefault)
getFromName in interface CommerceNotificationTemplateModellocale - 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 CommerceNotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getFromName(java.lang.String languageId,
boolean useDefault)
getFromName in interface CommerceNotificationTemplateModellanguageId - 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 CommerceNotificationTemplateModelpublic java.lang.String getFromNameCurrentValue()
getFromNameCurrentValue in interface CommerceNotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getFromNameMap()
getFromNameMap in interface CommerceNotificationTemplateModelpublic long getGroupId()
getGroupId in interface CommerceNotificationTemplateModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceNotificationTemplateModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceNotificationTemplateModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CommerceNotificationTemplateModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceNotificationTemplateModelpublic java.lang.String getSubject()
getSubject in interface CommerceNotificationTemplateModelpublic java.lang.String getSubject(java.util.Locale locale)
getSubject in interface CommerceNotificationTemplateModellocale - the locale of the languagepublic java.lang.String getSubject(java.util.Locale locale,
boolean useDefault)
getSubject in interface CommerceNotificationTemplateModellocale - 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 CommerceNotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getSubject(java.lang.String languageId,
boolean useDefault)
getSubject in interface CommerceNotificationTemplateModellanguageId - 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 CommerceNotificationTemplateModelpublic java.lang.String getSubjectCurrentValue()
getSubjectCurrentValue in interface CommerceNotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getSubjectMap()
getSubjectMap in interface CommerceNotificationTemplateModelpublic java.lang.String getTo()
getTo in interface CommerceNotificationTemplateModelpublic java.lang.String getType()
getType in interface CommerceNotificationTemplateModelpublic long getUserId()
getUserId in interface CommerceNotificationTemplateModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceNotificationTemplateModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceNotificationTemplateModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CommerceNotificationTemplateModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isEnabled()
true if this commerce notification template is enabled.isEnabled in interface CommerceNotificationTemplateModeltrue if this commerce notification template is enabled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CommerceNotificationTemplateModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CommerceNotificationTemplateModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setBcc(java.lang.String bcc)
setBcc in interface CommerceNotificationTemplateModelbcc - the bcc of this commerce notification templatepublic void setBody(java.lang.String body)
setBody in interface CommerceNotificationTemplateModelbody - the body of this commerce notification templatepublic void setBody(java.lang.String body,
java.util.Locale locale)
setBody in interface CommerceNotificationTemplateModelbody - 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 CommerceNotificationTemplateModelbody - 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 CommerceNotificationTemplateModelpublic void setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
setBodyMap in interface CommerceNotificationTemplateModelbodyMap - 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 CommerceNotificationTemplateModelbodyMap - the locales and localized bodies of this commerce notification templatedefaultLocale - the default localepublic void setCc(java.lang.String cc)
setCc in interface CommerceNotificationTemplateModelcc - the cc of this commerce notification templatepublic void setCommerceNotificationTemplateId(long commerceNotificationTemplateId)
setCommerceNotificationTemplateId in interface CommerceNotificationTemplateModelcommerceNotificationTemplateId - the commerce notification template ID of this commerce notification templatepublic void setCompanyId(long companyId)
setCompanyId in interface CommerceNotificationTemplateModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce notification templatepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceNotificationTemplateModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce notification templatepublic void setDescription(java.lang.String description)
setDescription in interface CommerceNotificationTemplateModeldescription - the description of this commerce notification templatepublic void setEnabled(boolean enabled)
setEnabled in interface CommerceNotificationTemplateModelenabled - the enabled of this commerce notification templatepublic void setFrom(java.lang.String from)
setFrom in interface CommerceNotificationTemplateModelfrom - the from of this commerce notification templatepublic void setFromName(java.lang.String fromName)
setFromName in interface CommerceNotificationTemplateModelfromName - the from name of this commerce notification templatepublic void setFromName(java.lang.String fromName,
java.util.Locale locale)
setFromName in interface CommerceNotificationTemplateModelfromName - 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 CommerceNotificationTemplateModelfromName - 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 CommerceNotificationTemplateModelpublic void setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap)
setFromNameMap in interface CommerceNotificationTemplateModelfromNameMap - 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 CommerceNotificationTemplateModelfromNameMap - the locales and localized from names of this commerce notification templatedefaultLocale - the default localepublic void setGroupId(long groupId)
setGroupId in interface CommerceNotificationTemplateModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce notification templatepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceNotificationTemplateModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce notification templatepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceNotificationTemplateModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce notification templatepublic void setName(java.lang.String name)
setName in interface CommerceNotificationTemplateModelname - the name of this commerce notification templatepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceNotificationTemplateModelprimaryKey - the primary key of this commerce notification templatepublic void setSubject(java.lang.String subject)
setSubject in interface CommerceNotificationTemplateModelsubject - the subject of this commerce notification templatepublic void setSubject(java.lang.String subject,
java.util.Locale locale)
setSubject in interface CommerceNotificationTemplateModelsubject - 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 CommerceNotificationTemplateModelsubject - 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 CommerceNotificationTemplateModelpublic void setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
setSubjectMap in interface CommerceNotificationTemplateModelsubjectMap - 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 CommerceNotificationTemplateModelsubjectMap - the locales and localized subjects of this commerce notification templatedefaultLocale - the default localepublic void setTo(java.lang.String to)
setTo in interface CommerceNotificationTemplateModelto - the to of this commerce notification templatepublic void setType(java.lang.String type)
setType in interface CommerceNotificationTemplateModeltype - the type of this commerce notification templatepublic void setUserId(long userId)
setUserId in interface CommerceNotificationTemplateModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce notification templatepublic void setUserName(java.lang.String userName)
setUserName in interface CommerceNotificationTemplateModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce notification templatepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceNotificationTemplateModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce notification templatepublic void setUuid(java.lang.String uuid)
setUuid in interface CommerceNotificationTemplateModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce notification templatepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CommerceNotificationTemplateWrapper wrap(CommerceNotificationTemplate commerceNotificationTemplate)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceNotificationTemplate>