Interface CommerceNotificationTemplateModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceNotificationTemplate>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
CommerceNotificationTemplate
All Known Implementing Classes:
CommerceNotificationTemplateWrapper

@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
Deprecated.
The base model interface for the CommerceNotificationTemplate service. Represents a row in the "CommerceNotificationTemplate" database table, with each column mapped to a property of this class.

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.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
     
    Deprecated.
     
    Deprecated.
    Returns the bcc of this commerce notification template.
    Deprecated.
    Returns the body of this commerce notification template.
    getBody(String languageId)
    Deprecated.
    Returns the localized body of this commerce notification template in the language.
    getBody(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.
    getBody(Locale locale)
    Deprecated.
    Returns the localized body of this commerce notification template in the language.
    getBody(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.
    Deprecated.
     
    Deprecated.
     
    Deprecated.
    Returns a map of the locales and localized bodies of this commerce notification template.
    Deprecated.
    Returns the cc of this commerce notification template.
    long
    Deprecated.
    Returns the commerce notification template ID of this commerce notification template.
    long
    Deprecated.
    Returns the company ID of this commerce notification template.
    Deprecated.
    Returns the create date of this commerce notification template.
    Deprecated.
     
    Deprecated.
    Returns the description of this commerce notification template.
    boolean
    Deprecated.
    Returns the enabled of this commerce notification template.
    Deprecated.
    Returns the from of this commerce notification template.
    Deprecated.
    Returns the from name of this commerce notification template.
    getFromName(String languageId)
    Deprecated.
    Returns the localized from name of this commerce notification template in the language.
    getFromName(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.
    Deprecated.
    Returns the localized from name of this commerce notification template in the language.
    getFromName(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.
    Deprecated.
     
    Deprecated.
     
    Deprecated.
    Returns a map of the locales and localized from names of this commerce notification template.
    long
    Deprecated.
    Returns the group ID of this commerce notification template.
    Deprecated.
    Returns the modified date of this commerce notification template.
    long
    Deprecated.
    Returns the mvcc version of this commerce notification template.
    Deprecated.
    Returns the name of this commerce notification template.
    long
    Deprecated.
    Returns the primary key of this commerce notification template.
    Deprecated.
    Returns the subject of this commerce notification template.
    getSubject(String languageId)
    Deprecated.
    Returns the localized subject of this commerce notification template in the language.
    getSubject(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.
    Deprecated.
    Returns the localized subject of this commerce notification template in the language.
    getSubject(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.
    Deprecated.
     
    Deprecated.
     
    Deprecated.
    Returns a map of the locales and localized subjects of this commerce notification template.
    Deprecated.
    Returns the to of this commerce notification template.
    Deprecated.
    Returns the type of this commerce notification template.
    long
    Deprecated.
    Returns the user ID of this commerce notification template.
    Deprecated.
    Returns the user name of this commerce notification template.
    Deprecated.
    Returns the user uuid of this commerce notification template.
    Deprecated.
    Returns the uuid of this commerce notification template.
    boolean
    Deprecated.
    Returns true if this commerce notification template is enabled.
    void
    Deprecated.
     
    void
    Deprecated.
     
    void
    Deprecated.
    Sets the bcc of this commerce notification template.
    void
    Deprecated.
    Sets the body of this commerce notification template.
    void
    setBody(String body, Locale locale)
    Deprecated.
    Sets the localized body of this commerce notification template in the language.
    void
    setBody(String body, Locale locale, Locale defaultLocale)
    Deprecated.
    Sets the localized body of this commerce notification template in the language, and sets the default locale.
    void
    Deprecated.
     
    void
    Deprecated.
    Sets the localized bodies of this commerce notification template from the map of locales and localized bodies.
    void
    setBodyMap(Map<Locale,String> bodyMap, 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
    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(Date createDate)
    Deprecated.
    Sets the create date of this commerce notification template.
    void
    setDescription(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
    Deprecated.
    Sets the from of this commerce notification template.
    void
    setFromName(String fromName)
    Deprecated.
    Sets the from name of this commerce notification template.
    void
    setFromName(String fromName, Locale locale)
    Deprecated.
    Sets the localized from name of this commerce notification template in the language.
    void
    setFromName(String fromName, Locale locale, Locale defaultLocale)
    Deprecated.
    Sets the localized from name of this commerce notification template in the language, and sets the default locale.
    void
    Deprecated.
     
    void
    Deprecated.
    Sets the localized from names of this commerce notification template from the map of locales and localized from names.
    void
    setFromNameMap(Map<Locale,String> fromNameMap, 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(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
    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(String subject)
    Deprecated.
    Sets the subject of this commerce notification template.
    void
    setSubject(String subject, Locale locale)
    Deprecated.
    Sets the localized subject of this commerce notification template in the language.
    void
    setSubject(String subject, Locale locale, Locale defaultLocale)
    Deprecated.
    Sets the localized subject of this commerce notification template in the language, and sets the default locale.
    void
    Deprecated.
     
    void
    Deprecated.
    Sets the localized subjects of this commerce notification template from the map of locales and localized subjects.
    void
    setSubjectMap(Map<Locale,String> subjectMap, 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
    Deprecated.
    Sets the to of this commerce notification template.
    void
    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(String userName)
    Deprecated.
    Sets the user name of this commerce notification template.
    void
    setUserUuid(String userUuid)
    Deprecated.
    Sets the user uuid of this commerce notification template.
    void
    Deprecated.
    Sets the uuid of this commerce notification template.
    default String
    Deprecated.
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Deprecated.
      Returns the primary key of this commerce notification template.
      Returns:
      the primary key of this commerce notification template
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Deprecated.
      Sets the primary key of this commerce notification template.
      Parameters:
      primaryKey - the primary key of this commerce notification template
    • getMvccVersion

      long getMvccVersion()
      Deprecated.
      Returns the mvcc version of this commerce notification template.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce notification template
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Deprecated.
      Sets the mvcc version of this commerce notification template.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce notification template
    • getUuid

      @AutoEscape String getUuid()
      Deprecated.
      Returns the uuid of this commerce notification template.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce notification template
    • setUuid

      void setUuid(String uuid)
      Deprecated.
      Sets the uuid of this commerce notification template.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce notification template
    • getCommerceNotificationTemplateId

      long getCommerceNotificationTemplateId()
      Deprecated.
      Returns the commerce notification template ID of this commerce notification template.
      Returns:
      the commerce notification template ID of this commerce notification template
    • setCommerceNotificationTemplateId

      void setCommerceNotificationTemplateId(long commerceNotificationTemplateId)
      Deprecated.
      Sets the commerce notification template ID of this commerce notification template.
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID of this commerce notification template
    • getGroupId

      long getGroupId()
      Deprecated.
      Returns the group ID of this commerce notification template.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce notification template
    • setGroupId

      void setGroupId(long groupId)
      Deprecated.
      Sets the group ID of this commerce notification template.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce notification template
    • getCompanyId

      long getCompanyId()
      Deprecated.
      Returns the company ID of this commerce notification template.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce notification template
    • setCompanyId

      void setCompanyId(long companyId)
      Deprecated.
      Sets the company ID of this commerce notification template.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce notification template
    • getUserId

      long getUserId()
      Deprecated.
      Returns the user ID of this commerce notification template.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this commerce notification template
    • setUserId

      void setUserId(long userId)
      Deprecated.
      Sets the user ID of this commerce notification template.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce notification template
    • getUserUuid

      String getUserUuid()
      Deprecated.
      Returns the user uuid of this commerce notification template.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this commerce notification template
    • setUserUuid

      void setUserUuid(String userUuid)
      Deprecated.
      Sets the user uuid of this commerce notification template.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this commerce notification template
    • getUserName

      @AutoEscape String getUserName()
      Deprecated.
      Returns the user name of this commerce notification template.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this commerce notification template
    • setUserName

      void setUserName(String userName)
      Deprecated.
      Sets the user name of this commerce notification template.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this commerce notification template
    • getCreateDate

      Date getCreateDate()
      Deprecated.
      Returns the create date of this commerce notification template.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce notification template
    • setCreateDate

      void setCreateDate(Date createDate)
      Deprecated.
      Sets the create date of this commerce notification template.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce notification template
    • getModifiedDate

      Date getModifiedDate()
      Deprecated.
      Returns the modified date of this commerce notification template.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce notification template
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Deprecated.
      Sets the modified date of this commerce notification template.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce notification template
    • getName

      @AutoEscape String getName()
      Deprecated.
      Returns the name of this commerce notification template.
      Returns:
      the name of this commerce notification template
    • setName

      void setName(String name)
      Deprecated.
      Sets the name of this commerce notification template.
      Parameters:
      name - the name of this commerce notification template
    • getDescription

      @AutoEscape String getDescription()
      Deprecated.
      Returns the description of this commerce notification template.
      Returns:
      the description of this commerce notification template
    • setDescription

      void setDescription(String description)
      Deprecated.
      Sets the description of this commerce notification template.
      Parameters:
      description - the description of this commerce notification template
    • getFrom

      @AutoEscape String getFrom()
      Deprecated.
      Returns the from of this commerce notification template.
      Returns:
      the from of this commerce notification template
    • setFrom

      void setFrom(String from)
      Deprecated.
      Sets the from of this commerce notification template.
      Parameters:
      from - the from of this commerce notification template
    • getFromName

      String getFromName()
      Deprecated.
      Returns the from name of this commerce notification template.
      Returns:
      the from name of this commerce notification template
    • getFromName

      @AutoEscape String getFromName(Locale locale)
      Deprecated.
      Returns the localized from name of this commerce notification template in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      locale - the locale of the language
      Returns:
      the localized from name of this commerce notification template
    • getFromName

      @AutoEscape String getFromName(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.
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized from name of this commerce notification template. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getFromName

      @AutoEscape String getFromName(String languageId)
      Deprecated.
      Returns the localized from name of this commerce notification template in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized from name of this commerce notification template
    • getFromName

      @AutoEscape String getFromName(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.
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized from name of this commerce notification template
    • getFromNameCurrentLanguageId

      @AutoEscape String getFromNameCurrentLanguageId()
      Deprecated.
    • getFromNameCurrentValue

      @AutoEscape String getFromNameCurrentValue()
      Deprecated.
    • getFromNameMap

      Map<Locale,String> getFromNameMap()
      Deprecated.
      Returns a map of the locales and localized from names of this commerce notification template.
      Returns:
      the locales and localized from names of this commerce notification template
    • setFromName

      void setFromName(String fromName)
      Deprecated.
      Sets the from name of this commerce notification template.
      Parameters:
      fromName - the from name of this commerce notification template
    • setFromName

      void setFromName(String fromName, Locale locale)
      Deprecated.
      Sets the localized from name of this commerce notification template in the language.
      Parameters:
      fromName - the localized from name of this commerce notification template
      locale - the locale of the language
    • setFromName

      void setFromName(String fromName, Locale locale, Locale defaultLocale)
      Deprecated.
      Sets the localized from name of this commerce notification template in the language, and sets the default locale.
      Parameters:
      fromName - the localized from name of this commerce notification template
      locale - the locale of the language
      defaultLocale - the default locale
    • setFromNameCurrentLanguageId

      void setFromNameCurrentLanguageId(String languageId)
      Deprecated.
    • setFromNameMap

      void setFromNameMap(Map<Locale,String> fromNameMap)
      Deprecated.
      Sets the localized from names of this commerce notification template from the map of locales and localized from names.
      Parameters:
      fromNameMap - the locales and localized from names of this commerce notification template
    • setFromNameMap

      void setFromNameMap(Map<Locale,String> fromNameMap, 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.
      Parameters:
      fromNameMap - the locales and localized from names of this commerce notification template
      defaultLocale - the default locale
    • getTo

      @AutoEscape String getTo()
      Deprecated.
      Returns the to of this commerce notification template.
      Returns:
      the to of this commerce notification template
    • setTo

      void setTo(String to)
      Deprecated.
      Sets the to of this commerce notification template.
      Parameters:
      to - the to of this commerce notification template
    • getCc

      @AutoEscape String getCc()
      Deprecated.
      Returns the cc of this commerce notification template.
      Returns:
      the cc of this commerce notification template
    • setCc

      void setCc(String cc)
      Deprecated.
      Sets the cc of this commerce notification template.
      Parameters:
      cc - the cc of this commerce notification template
    • getBcc

      @AutoEscape String getBcc()
      Deprecated.
      Returns the bcc of this commerce notification template.
      Returns:
      the bcc of this commerce notification template
    • setBcc

      void setBcc(String bcc)
      Deprecated.
      Sets the bcc of this commerce notification template.
      Parameters:
      bcc - the bcc of this commerce notification template
    • getType

      @AutoEscape String getType()
      Deprecated.
      Returns the type of this commerce notification template.
      Returns:
      the type of this commerce notification template
    • setType

      void setType(String type)
      Deprecated.
      Sets the type of this commerce notification template.
      Parameters:
      type - the type of this commerce notification template
    • getEnabled

      boolean getEnabled()
      Deprecated.
      Returns the enabled of this commerce notification template.
      Returns:
      the enabled of this commerce notification template
    • isEnabled

      boolean isEnabled()
      Deprecated.
      Returns true if this commerce notification template is enabled.
      Returns:
      true if this commerce notification template is enabled; false otherwise
    • setEnabled

      void setEnabled(boolean enabled)
      Deprecated.
      Sets whether this commerce notification template is enabled.
      Parameters:
      enabled - the enabled of this commerce notification template
    • getSubject

      String getSubject()
      Deprecated.
      Returns the subject of this commerce notification template.
      Returns:
      the subject of this commerce notification template
    • getSubject

      @AutoEscape String getSubject(Locale locale)
      Deprecated.
      Returns the localized subject of this commerce notification template in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      locale - the locale of the language
      Returns:
      the localized subject of this commerce notification template
    • getSubject

      @AutoEscape String getSubject(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.
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized subject of this commerce notification template. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getSubject

      @AutoEscape String getSubject(String languageId)
      Deprecated.
      Returns the localized subject of this commerce notification template in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized subject of this commerce notification template
    • getSubject

      @AutoEscape String getSubject(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.
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized subject of this commerce notification template
    • getSubjectCurrentLanguageId

      @AutoEscape String getSubjectCurrentLanguageId()
      Deprecated.
    • getSubjectCurrentValue

      @AutoEscape String getSubjectCurrentValue()
      Deprecated.
    • getSubjectMap

      Map<Locale,String> getSubjectMap()
      Deprecated.
      Returns a map of the locales and localized subjects of this commerce notification template.
      Returns:
      the locales and localized subjects of this commerce notification template
    • setSubject

      void setSubject(String subject)
      Deprecated.
      Sets the subject of this commerce notification template.
      Parameters:
      subject - the subject of this commerce notification template
    • setSubject

      void setSubject(String subject, Locale locale)
      Deprecated.
      Sets the localized subject of this commerce notification template in the language.
      Parameters:
      subject - the localized subject of this commerce notification template
      locale - the locale of the language
    • setSubject

      void setSubject(String subject, Locale locale, Locale defaultLocale)
      Deprecated.
      Sets the localized subject of this commerce notification template in the language, and sets the default locale.
      Parameters:
      subject - the localized subject of this commerce notification template
      locale - the locale of the language
      defaultLocale - the default locale
    • setSubjectCurrentLanguageId

      void setSubjectCurrentLanguageId(String languageId)
      Deprecated.
    • setSubjectMap

      void setSubjectMap(Map<Locale,String> subjectMap)
      Deprecated.
      Sets the localized subjects of this commerce notification template from the map of locales and localized subjects.
      Parameters:
      subjectMap - the locales and localized subjects of this commerce notification template
    • setSubjectMap

      void setSubjectMap(Map<Locale,String> subjectMap, 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.
      Parameters:
      subjectMap - the locales and localized subjects of this commerce notification template
      defaultLocale - the default locale
    • getBody

      String getBody()
      Deprecated.
      Returns the body of this commerce notification template.
      Returns:
      the body of this commerce notification template
    • getBody

      @AutoEscape String getBody(Locale locale)
      Deprecated.
      Returns the localized body of this commerce notification template in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      locale - the locale of the language
      Returns:
      the localized body of this commerce notification template
    • getBody

      @AutoEscape String getBody(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.
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized body of this commerce notification template. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getBody

      @AutoEscape String getBody(String languageId)
      Deprecated.
      Returns the localized body of this commerce notification template in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized body of this commerce notification template
    • getBody

      @AutoEscape String getBody(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.
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized body of this commerce notification template
    • getBodyCurrentLanguageId

      @AutoEscape String getBodyCurrentLanguageId()
      Deprecated.
    • getBodyCurrentValue

      @AutoEscape String getBodyCurrentValue()
      Deprecated.
    • getBodyMap

      Map<Locale,String> getBodyMap()
      Deprecated.
      Returns a map of the locales and localized bodies of this commerce notification template.
      Returns:
      the locales and localized bodies of this commerce notification template
    • setBody

      void setBody(String body)
      Deprecated.
      Sets the body of this commerce notification template.
      Parameters:
      body - the body of this commerce notification template
    • setBody

      void setBody(String body, Locale locale)
      Deprecated.
      Sets the localized body of this commerce notification template in the language.
      Parameters:
      body - the localized body of this commerce notification template
      locale - the locale of the language
    • setBody

      void setBody(String body, Locale locale, Locale defaultLocale)
      Deprecated.
      Sets the localized body of this commerce notification template in the language, and sets the default locale.
      Parameters:
      body - the localized body of this commerce notification template
      locale - the locale of the language
      defaultLocale - the default locale
    • setBodyCurrentLanguageId

      void setBodyCurrentLanguageId(String languageId)
      Deprecated.
    • setBodyMap

      void setBodyMap(Map<Locale,String> bodyMap)
      Deprecated.
      Sets the localized bodies of this commerce notification template from the map of locales and localized bodies.
      Parameters:
      bodyMap - the locales and localized bodies of this commerce notification template
    • setBodyMap

      void setBodyMap(Map<Locale,String> bodyMap, 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.
      Parameters:
      bodyMap - the locales and localized bodies of this commerce notification template
      defaultLocale - the default locale
    • getAvailableLanguageIds

      String[] getAvailableLanguageIds()
      Deprecated.
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
    • getDefaultLanguageId

      String getDefaultLanguageId()
      Deprecated.
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Deprecated.
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Deprecated.
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • cloneWithOriginalValues

      CommerceNotificationTemplate cloneWithOriginalValues()
      Deprecated.
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>
    • toXmlString

      default String toXmlString()
      Deprecated.