Class CommerceNotificationTemplateWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceNotificationTemplate>
com.liferay.commerce.notification.model.CommerceNotificationTemplateWrapper
All Implemented Interfaces:
CommerceNotificationTemplate, CommerceNotificationTemplateModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceNotificationTemplate>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<CommerceNotificationTemplate>

@Deprecated public class CommerceNotificationTemplateWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceNotificationTemplate> implements CommerceNotificationTemplate, com.liferay.portal.kernel.model.ModelWrapper<CommerceNotificationTemplate>
Deprecated.

This class is a wrapper for CommerceNotificationTemplate.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.notification.model.CommerceNotificationTemplate

    COMMERCE_NOTIFICATION_TEMPLATE_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • 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.
     
    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.
    com.liferay.exportimport.kernel.lar.StagedModelType
    Deprecated.
     
    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.
     
    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
    Deprecated.
     
    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.
    Deprecated.
     
    wrap(CommerceNotificationTemplate commerceNotificationTemplate)
    Deprecated.
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper

    getWrappedModel

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

    clone
  • Constructor Details

    • CommerceNotificationTemplateWrapper

      public CommerceNotificationTemplateWrapper(CommerceNotificationTemplate commerceNotificationTemplate)
      Deprecated.
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Deprecated.
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Deprecated.
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceNotificationTemplate>
    • cloneWithOriginalValues

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

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

      public String getBcc()
      Deprecated.
      Returns the bcc of this commerce notification template.
      Specified by:
      getBcc in interface CommerceNotificationTemplateModel
      Returns:
      the bcc of this commerce notification template
    • getBody

      public String getBody()
      Deprecated.
      Returns the body of this commerce notification template.
      Specified by:
      getBody in interface CommerceNotificationTemplateModel
      Returns:
      the body of this commerce notification template
    • getBody

      public 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.
      Specified by:
      getBody in interface CommerceNotificationTemplateModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized body of this commerce notification template
    • getBody

      public 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.
      Specified by:
      getBody in interface CommerceNotificationTemplateModel
      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

      public 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.
      Specified by:
      getBody in interface CommerceNotificationTemplateModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized body of this commerce notification template
    • getBody

      public 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.
      Specified by:
      getBody in interface CommerceNotificationTemplateModel
      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

      public String getBodyCurrentLanguageId()
      Deprecated.
      Specified by:
      getBodyCurrentLanguageId in interface CommerceNotificationTemplateModel
    • getBodyCurrentValue

      public String getBodyCurrentValue()
      Deprecated.
      Specified by:
      getBodyCurrentValue in interface CommerceNotificationTemplateModel
    • getBodyMap

      public Map<Locale,String> getBodyMap()
      Deprecated.
      Returns a map of the locales and localized bodies of this commerce notification template.
      Specified by:
      getBodyMap in interface CommerceNotificationTemplateModel
      Returns:
      the locales and localized bodies of this commerce notification template
    • getCc

      public String getCc()
      Deprecated.
      Returns the cc of this commerce notification template.
      Specified by:
      getCc in interface CommerceNotificationTemplateModel
      Returns:
      the cc of this commerce notification template
    • getCommerceNotificationTemplateId

      public long getCommerceNotificationTemplateId()
      Deprecated.
      Returns the commerce notification template ID of this commerce notification template.
      Specified by:
      getCommerceNotificationTemplateId in interface CommerceNotificationTemplateModel
      Returns:
      the commerce notification template ID of this commerce notification template
    • getCompanyId

      public 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 CommerceNotificationTemplateModel
      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
    • getCreateDate

      public 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 CommerceNotificationTemplateModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce notification template
    • getDefaultLanguageId

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

      public String getDescription()
      Deprecated.
      Returns the description of this commerce notification template.
      Specified by:
      getDescription in interface CommerceNotificationTemplateModel
      Returns:
      the description of this commerce notification template
    • getEnabled

      public boolean getEnabled()
      Deprecated.
      Returns the enabled of this commerce notification template.
      Specified by:
      getEnabled in interface CommerceNotificationTemplateModel
      Returns:
      the enabled of this commerce notification template
    • getFrom

      public String getFrom()
      Deprecated.
      Returns the from of this commerce notification template.
      Specified by:
      getFrom in interface CommerceNotificationTemplateModel
      Returns:
      the from of this commerce notification template
    • getFromName

      public String getFromName()
      Deprecated.
      Returns the from name of this commerce notification template.
      Specified by:
      getFromName in interface CommerceNotificationTemplateModel
      Returns:
      the from name of this commerce notification template
    • getFromName

      public 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.
      Specified by:
      getFromName in interface CommerceNotificationTemplateModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized from name of this commerce notification template
    • getFromName

      public 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.
      Specified by:
      getFromName in interface CommerceNotificationTemplateModel
      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

      public 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.
      Specified by:
      getFromName in interface CommerceNotificationTemplateModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized from name of this commerce notification template
    • getFromName

      public 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.
      Specified by:
      getFromName in interface CommerceNotificationTemplateModel
      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

      public String getFromNameCurrentLanguageId()
      Deprecated.
      Specified by:
      getFromNameCurrentLanguageId in interface CommerceNotificationTemplateModel
    • getFromNameCurrentValue

      public String getFromNameCurrentValue()
      Deprecated.
      Specified by:
      getFromNameCurrentValue in interface CommerceNotificationTemplateModel
    • getFromNameMap

      public Map<Locale,String> getFromNameMap()
      Deprecated.
      Returns a map of the locales and localized from names of this commerce notification template.
      Specified by:
      getFromNameMap in interface CommerceNotificationTemplateModel
      Returns:
      the locales and localized from names of this commerce notification template
    • getGroupId

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

      public 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 CommerceNotificationTemplateModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce notification template
    • getMvccVersion

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

      public String getName()
      Deprecated.
      Returns the name of this commerce notification template.
      Specified by:
      getName in interface CommerceNotificationTemplateModel
      Returns:
      the name of this commerce notification template
    • getPrimaryKey

      public long getPrimaryKey()
      Deprecated.
      Returns the primary key of this commerce notification template.
      Specified by:
      getPrimaryKey in interface CommerceNotificationTemplateModel
      Returns:
      the primary key of this commerce notification template
    • getSubject

      public String getSubject()
      Deprecated.
      Returns the subject of this commerce notification template.
      Specified by:
      getSubject in interface CommerceNotificationTemplateModel
      Returns:
      the subject of this commerce notification template
    • getSubject

      public 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.
      Specified by:
      getSubject in interface CommerceNotificationTemplateModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized subject of this commerce notification template
    • getSubject

      public 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.
      Specified by:
      getSubject in interface CommerceNotificationTemplateModel
      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

      public 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.
      Specified by:
      getSubject in interface CommerceNotificationTemplateModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized subject of this commerce notification template
    • getSubject

      public 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.
      Specified by:
      getSubject in interface CommerceNotificationTemplateModel
      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

      public String getSubjectCurrentLanguageId()
      Deprecated.
      Specified by:
      getSubjectCurrentLanguageId in interface CommerceNotificationTemplateModel
    • getSubjectCurrentValue

      public String getSubjectCurrentValue()
      Deprecated.
      Specified by:
      getSubjectCurrentValue in interface CommerceNotificationTemplateModel
    • getSubjectMap

      public Map<Locale,String> getSubjectMap()
      Deprecated.
      Returns a map of the locales and localized subjects of this commerce notification template.
      Specified by:
      getSubjectMap in interface CommerceNotificationTemplateModel
      Returns:
      the locales and localized subjects of this commerce notification template
    • getTo

      public String getTo()
      Deprecated.
      Returns the to of this commerce notification template.
      Specified by:
      getTo in interface CommerceNotificationTemplateModel
      Returns:
      the to of this commerce notification template
    • getType

      public String getType()
      Deprecated.
      Returns the type of this commerce notification template.
      Specified by:
      getType in interface CommerceNotificationTemplateModel
      Returns:
      the type of this commerce notification template
    • getUserId

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

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

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

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

      public boolean isEnabled()
      Deprecated.
      Returns true if this commerce notification template is enabled.
      Specified by:
      isEnabled in interface CommerceNotificationTemplateModel
      Returns:
      true if this commerce notification template is enabled; false otherwise
    • persist

      public void persist()
      Deprecated.
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • prepareLocalizedFieldsForImport

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

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

      public void setBcc(String bcc)
      Deprecated.
      Sets the bcc of this commerce notification template.
      Specified by:
      setBcc in interface CommerceNotificationTemplateModel
      Parameters:
      bcc - the bcc of this commerce notification template
    • setBody

      public void setBody(String body)
      Deprecated.
      Sets the body of this commerce notification template.
      Specified by:
      setBody in interface CommerceNotificationTemplateModel
      Parameters:
      body - the body of this commerce notification template
    • setBody

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

      public 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.
      Specified by:
      setBody in interface CommerceNotificationTemplateModel
      Parameters:
      body - the localized body of this commerce notification template
      locale - the locale of the language
      defaultLocale - the default locale
    • setBodyCurrentLanguageId

      public void setBodyCurrentLanguageId(String languageId)
      Deprecated.
      Specified by:
      setBodyCurrentLanguageId in interface CommerceNotificationTemplateModel
    • setBodyMap

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

      public 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.
      Specified by:
      setBodyMap in interface CommerceNotificationTemplateModel
      Parameters:
      bodyMap - the locales and localized bodies of this commerce notification template
      defaultLocale - the default locale
    • setCc

      public void setCc(String cc)
      Deprecated.
      Sets the cc of this commerce notification template.
      Specified by:
      setCc in interface CommerceNotificationTemplateModel
      Parameters:
      cc - the cc of this commerce notification template
    • setCommerceNotificationTemplateId

      public void setCommerceNotificationTemplateId(long commerceNotificationTemplateId)
      Deprecated.
      Sets the commerce notification template ID of this commerce notification template.
      Specified by:
      setCommerceNotificationTemplateId in interface CommerceNotificationTemplateModel
      Parameters:
      commerceNotificationTemplateId - the commerce notification template ID of this commerce notification template
    • setCompanyId

      public 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 CommerceNotificationTemplateModel
      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
    • setCreateDate

      public 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 CommerceNotificationTemplateModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce notification template
    • setDescription

      public void setDescription(String description)
      Deprecated.
      Sets the description of this commerce notification template.
      Specified by:
      setDescription in interface CommerceNotificationTemplateModel
      Parameters:
      description - the description of this commerce notification template
    • setEnabled

      public void setEnabled(boolean enabled)
      Deprecated.
      Sets whether this commerce notification template is enabled.
      Specified by:
      setEnabled in interface CommerceNotificationTemplateModel
      Parameters:
      enabled - the enabled of this commerce notification template
    • setFrom

      public void setFrom(String from)
      Deprecated.
      Sets the from of this commerce notification template.
      Specified by:
      setFrom in interface CommerceNotificationTemplateModel
      Parameters:
      from - the from of this commerce notification template
    • setFromName

      public void setFromName(String fromName)
      Deprecated.
      Sets the from name of this commerce notification template.
      Specified by:
      setFromName in interface CommerceNotificationTemplateModel
      Parameters:
      fromName - the from name of this commerce notification template
    • setFromName

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

      public 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.
      Specified by:
      setFromName in interface CommerceNotificationTemplateModel
      Parameters:
      fromName - the localized from name of this commerce notification template
      locale - the locale of the language
      defaultLocale - the default locale
    • setFromNameCurrentLanguageId

      public void setFromNameCurrentLanguageId(String languageId)
      Deprecated.
      Specified by:
      setFromNameCurrentLanguageId in interface CommerceNotificationTemplateModel
    • setFromNameMap

      public 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.
      Specified by:
      setFromNameMap in interface CommerceNotificationTemplateModel
      Parameters:
      fromNameMap - the locales and localized from names of this commerce notification template
    • setFromNameMap

      public 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.
      Specified by:
      setFromNameMap in interface CommerceNotificationTemplateModel
      Parameters:
      fromNameMap - the locales and localized from names of this commerce notification template
      defaultLocale - the default locale
    • setGroupId

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

      public 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 CommerceNotificationTemplateModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce notification template
    • setMvccVersion

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

      public void setName(String name)
      Deprecated.
      Sets the name of this commerce notification template.
      Specified by:
      setName in interface CommerceNotificationTemplateModel
      Parameters:
      name - the name of this commerce notification template
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Deprecated.
      Sets the primary key of this commerce notification template.
      Specified by:
      setPrimaryKey in interface CommerceNotificationTemplateModel
      Parameters:
      primaryKey - the primary key of this commerce notification template
    • setSubject

      public void setSubject(String subject)
      Deprecated.
      Sets the subject of this commerce notification template.
      Specified by:
      setSubject in interface CommerceNotificationTemplateModel
      Parameters:
      subject - the subject of this commerce notification template
    • setSubject

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

      public 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.
      Specified by:
      setSubject in interface CommerceNotificationTemplateModel
      Parameters:
      subject - the localized subject of this commerce notification template
      locale - the locale of the language
      defaultLocale - the default locale
    • setSubjectCurrentLanguageId

      public void setSubjectCurrentLanguageId(String languageId)
      Deprecated.
      Specified by:
      setSubjectCurrentLanguageId in interface CommerceNotificationTemplateModel
    • setSubjectMap

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

      public 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.
      Specified by:
      setSubjectMap in interface CommerceNotificationTemplateModel
      Parameters:
      subjectMap - the locales and localized subjects of this commerce notification template
      defaultLocale - the default locale
    • setTo

      public void setTo(String to)
      Deprecated.
      Sets the to of this commerce notification template.
      Specified by:
      setTo in interface CommerceNotificationTemplateModel
      Parameters:
      to - the to of this commerce notification template
    • setType

      public void setType(String type)
      Deprecated.
      Sets the type of this commerce notification template.
      Specified by:
      setType in interface CommerceNotificationTemplateModel
      Parameters:
      type - the type of this commerce notification template
    • setUserId

      public 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
      Specified by:
      setUserId in interface CommerceNotificationTemplateModel
      Parameters:
      userId - the user ID of this commerce notification template
    • setUserName

      public 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
      Specified by:
      setUserName in interface CommerceNotificationTemplateModel
      Parameters:
      userName - the user name of this commerce notification template
    • setUserUuid

      public 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
      Specified by:
      setUserUuid in interface CommerceNotificationTemplateModel
      Parameters:
      userUuid - the user uuid of this commerce notification template
    • setUuid

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

      public String toXmlString()
      Deprecated.
      Specified by:
      toXmlString in interface CommerceNotificationTemplateModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Deprecated.
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceNotificationTemplateWrapper wrap(CommerceNotificationTemplate commerceNotificationTemplate)
      Deprecated.
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceNotificationTemplate>