@Deprecated @ProviderType public interface CommerceNotificationTemplateModel extends com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
This interface and its corresponding implementation com.liferay.commerce.notification.model.impl.CommerceNotificationTemplateModelImpl 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.commerce.notification.model.impl.CommerceNotificationTemplateImpl.
CommerceNotificationTemplate| Modifier and Type | Method and Description |
|---|---|
CommerceNotificationTemplate |
cloneWithOriginalValues()
Deprecated.
|
java.lang.String[] |
getAvailableLanguageIds()
Deprecated.
|
java.lang.String |
getBcc()
Deprecated.
Returns the bcc of this commerce notification template.
|
java.lang.String |
getBody()
Deprecated.
Returns the body of this commerce notification template.
|
java.lang.String |
getBody(java.util.Locale locale)
Deprecated.
Returns the localized body of this commerce notification template in the language.
|
java.lang.String |
getBody(java.util.Locale locale,
boolean useDefault)
Deprecated.
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)
Deprecated.
Returns the localized body of this commerce notification template in the language.
|
java.lang.String |
getBody(java.lang.String languageId,
boolean useDefault)
Deprecated.
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()
Deprecated.
|
java.lang.String |
getBodyCurrentValue()
Deprecated.
|
java.util.Map<java.util.Locale,java.lang.String> |
getBodyMap()
Deprecated.
Returns a map of the locales and localized bodies of this commerce notification template.
|
java.lang.String |
getCc()
Deprecated.
Returns the cc of this commerce notification template.
|
long |
getCommerceNotificationTemplateId()
Deprecated.
Returns the commerce notification template ID of this commerce notification template.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this commerce notification template.
|
java.util.Date |
getCreateDate()
Deprecated.
Returns the create date of this commerce notification template.
|
java.lang.String |
getDefaultLanguageId()
Deprecated.
|
java.lang.String |
getDescription()
Deprecated.
Returns the description of this commerce notification template.
|
boolean |
getEnabled()
Deprecated.
Returns the enabled of this commerce notification template.
|
java.lang.String |
getFrom()
Deprecated.
Returns the from of this commerce notification template.
|
java.lang.String |
getFromName()
Deprecated.
Returns the from name of this commerce notification template.
|
java.lang.String |
getFromName(java.util.Locale locale)
Deprecated.
Returns the localized from name of this commerce notification template in the language.
|
java.lang.String |
getFromName(java.util.Locale locale,
boolean useDefault)
Deprecated.
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)
Deprecated.
Returns the localized from name of this commerce notification template in the language.
|
java.lang.String |
getFromName(java.lang.String languageId,
boolean useDefault)
Deprecated.
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()
Deprecated.
|
java.lang.String |
getFromNameCurrentValue()
Deprecated.
|
java.util.Map<java.util.Locale,java.lang.String> |
getFromNameMap()
Deprecated.
Returns a map of the locales and localized from names of this commerce notification template.
|
long |
getGroupId()
Deprecated.
Returns the group ID of this commerce notification template.
|
java.util.Date |
getModifiedDate()
Deprecated.
Returns the modified date of this commerce notification template.
|
long |
getMvccVersion()
Deprecated.
Returns the mvcc version of this commerce notification template.
|
java.lang.String |
getName()
Deprecated.
Returns the name of this commerce notification template.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this commerce notification template.
|
java.lang.String |
getSubject()
Deprecated.
Returns the subject of this commerce notification template.
|
java.lang.String |
getSubject(java.util.Locale locale)
Deprecated.
Returns the localized subject of this commerce notification template in the language.
|
java.lang.String |
getSubject(java.util.Locale locale,
boolean useDefault)
Deprecated.
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)
Deprecated.
Returns the localized subject of this commerce notification template in the language.
|
java.lang.String |
getSubject(java.lang.String languageId,
boolean useDefault)
Deprecated.
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()
Deprecated.
|
java.lang.String |
getSubjectCurrentValue()
Deprecated.
|
java.util.Map<java.util.Locale,java.lang.String> |
getSubjectMap()
Deprecated.
Returns a map of the locales and localized subjects of this commerce notification template.
|
java.lang.String |
getTo()
Deprecated.
Returns the to of this commerce notification template.
|
java.lang.String |
getType()
Deprecated.
Returns the type of this commerce notification template.
|
long |
getUserId()
Deprecated.
Returns the user ID of this commerce notification template.
|
java.lang.String |
getUserName()
Deprecated.
Returns the user name of this commerce notification template.
|
java.lang.String |
getUserUuid()
Deprecated.
Returns the user uuid of this commerce notification template.
|
java.lang.String |
getUuid()
Deprecated.
Returns the uuid of this commerce notification template.
|
boolean |
isEnabled()
Deprecated.
Returns
true if this commerce notification template is enabled. |
void |
prepareLocalizedFieldsForImport()
Deprecated.
|
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
Deprecated.
|
void |
setBcc(java.lang.String bcc)
Deprecated.
Sets the bcc of this commerce notification template.
|
void |
setBody(java.lang.String body)
Deprecated.
Sets the body of this commerce notification template.
|
void |
setBody(java.lang.String body,
java.util.Locale locale)
Deprecated.
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)
Deprecated.
Sets the localized body of this commerce notification template in the language, and sets the default locale.
|
void |
setBodyCurrentLanguageId(java.lang.String languageId)
Deprecated.
|
void |
setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
Deprecated.
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)
Deprecated.
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)
Deprecated.
Sets the cc of this commerce notification template.
|
void |
setCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Deprecated.
Sets the commerce notification template ID of this commerce notification template.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this commerce notification template.
|
void |
setCreateDate(java.util.Date createDate)
Deprecated.
Sets the create date of this commerce notification template.
|
void |
setDescription(java.lang.String description)
Deprecated.
Sets the description of this commerce notification template.
|
void |
setEnabled(boolean enabled)
Deprecated.
Sets whether this commerce notification template is enabled.
|
void |
setFrom(java.lang.String from)
Deprecated.
Sets the from of this commerce notification template.
|
void |
setFromName(java.lang.String fromName)
Deprecated.
Sets the from name of this commerce notification template.
|
void |
setFromName(java.lang.String fromName,
java.util.Locale locale)
Deprecated.
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)
Deprecated.
Sets the localized from name of this commerce notification template in the language, and sets the default locale.
|
void |
setFromNameCurrentLanguageId(java.lang.String languageId)
Deprecated.
|
void |
setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap)
Deprecated.
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)
Deprecated.
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)
Deprecated.
Sets the group ID of this commerce notification template.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Deprecated.
Sets the modified date of this commerce notification template.
|
void |
setMvccVersion(long mvccVersion)
Deprecated.
Sets the mvcc version of this commerce notification template.
|
void |
setName(java.lang.String name)
Deprecated.
Sets the name of this commerce notification template.
|
void |
setPrimaryKey(long primaryKey)
Deprecated.
Sets the primary key of this commerce notification template.
|
void |
setSubject(java.lang.String subject)
Deprecated.
Sets the subject of this commerce notification template.
|
void |
setSubject(java.lang.String subject,
java.util.Locale locale)
Deprecated.
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)
Deprecated.
Sets the localized subject of this commerce notification template in the language, and sets the default locale.
|
void |
setSubjectCurrentLanguageId(java.lang.String languageId)
Deprecated.
|
void |
setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
Deprecated.
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)
Deprecated.
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)
Deprecated.
Sets the to of this commerce notification template.
|
void |
setType(java.lang.String type)
Deprecated.
Sets the type of this commerce notification template.
|
void |
setUserId(long userId)
Deprecated.
Sets the user ID of this commerce notification template.
|
void |
setUserName(java.lang.String userName)
Deprecated.
Sets the user name of this commerce notification template.
|
void |
setUserUuid(java.lang.String userUuid)
Deprecated.
Sets the user uuid of this commerce notification template.
|
void |
setUuid(java.lang.String uuid)
Deprecated.
Sets the uuid of this commerce notification template.
|
default java.lang.String |
toXmlString()
Deprecated.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this commerce notification templatelong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce notification template@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce notification templatelong getCommerceNotificationTemplateId()
void setCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId - the commerce notification template ID of this commerce notification templatelong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce notification templatelong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId 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 templatelong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce notification templatejava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce notification template@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce notification templatejava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce notification templatejava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce notification template@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this commerce notification template@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this commerce notification template@AutoEscape java.lang.String getFrom()
void setFrom(java.lang.String from)
from - the from of this commerce notification templatejava.lang.String getFromName()
@AutoEscape java.lang.String getFromName(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getFromName(java.util.Locale locale,
boolean useDefault)
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.@AutoEscape java.lang.String getFromName(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getFromName(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getFromNameCurrentLanguageId()
@AutoEscape java.lang.String getFromNameCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getFromNameMap()
void setFromName(java.lang.String fromName)
fromName - the from name of this commerce notification templatevoid setFromName(java.lang.String fromName,
java.util.Locale locale)
fromName - the localized from name of this commerce notification templatelocale - the locale of the languagevoid setFromName(java.lang.String fromName,
java.util.Locale locale,
java.util.Locale defaultLocale)
fromName - the localized from name of this commerce notification templatelocale - the locale of the languagedefaultLocale - the default localevoid setFromNameCurrentLanguageId(java.lang.String languageId)
void setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap)
fromNameMap - the locales and localized from names of this commerce notification templatevoid setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap,
java.util.Locale defaultLocale)
fromNameMap - the locales and localized from names of this commerce notification templatedefaultLocale - the default locale@AutoEscape java.lang.String getTo()
void setTo(java.lang.String to)
to - the to of this commerce notification template@AutoEscape java.lang.String getCc()
void setCc(java.lang.String cc)
cc - the cc of this commerce notification template@AutoEscape java.lang.String getBcc()
void setBcc(java.lang.String bcc)
bcc - the bcc of this commerce notification template@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type - the type of this commerce notification templateboolean getEnabled()
boolean isEnabled()
true if this commerce notification template is enabled.true if this commerce notification template is enabled; false otherwisevoid setEnabled(boolean enabled)
enabled - the enabled of this commerce notification templatejava.lang.String getSubject()
@AutoEscape java.lang.String getSubject(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getSubject(java.util.Locale locale,
boolean useDefault)
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.@AutoEscape java.lang.String getSubject(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getSubject(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getSubjectCurrentLanguageId()
@AutoEscape java.lang.String getSubjectCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getSubjectMap()
void setSubject(java.lang.String subject)
subject - the subject of this commerce notification templatevoid setSubject(java.lang.String subject,
java.util.Locale locale)
subject - the localized subject of this commerce notification templatelocale - the locale of the languagevoid setSubject(java.lang.String subject,
java.util.Locale locale,
java.util.Locale defaultLocale)
subject - the localized subject of this commerce notification templatelocale - the locale of the languagedefaultLocale - the default localevoid setSubjectCurrentLanguageId(java.lang.String languageId)
void setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
subjectMap - the locales and localized subjects of this commerce notification templatevoid setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap,
java.util.Locale defaultLocale)
subjectMap - the locales and localized subjects of this commerce notification templatedefaultLocale - the default localejava.lang.String getBody()
@AutoEscape java.lang.String getBody(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getBody(java.util.Locale locale,
boolean useDefault)
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.@AutoEscape java.lang.String getBody(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getBody(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getBodyCurrentLanguageId()
@AutoEscape java.lang.String getBodyCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getBodyMap()
void setBody(java.lang.String body)
body - the body of this commerce notification templatevoid setBody(java.lang.String body,
java.util.Locale locale)
body - the localized body of this commerce notification templatelocale - the locale of the languagevoid setBody(java.lang.String body,
java.util.Locale locale,
java.util.Locale defaultLocale)
body - the localized body of this commerce notification templatelocale - the locale of the languagedefaultLocale - the default localevoid setBodyCurrentLanguageId(java.lang.String languageId)
void setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
bodyMap - the locales and localized bodies of this commerce notification templatevoid setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap,
java.util.Locale defaultLocale)
bodyMap - the locales and localized bodies of this commerce notification templatedefaultLocale - the default localejava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelvoid prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionCommerceNotificationTemplate cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>default java.lang.String toXmlString()