Class NotificationTemplateWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplate>
com.liferay.notification.model.NotificationTemplateWrapper
All Implemented Interfaces:
NotificationTemplate, NotificationTemplateModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<NotificationTemplate>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<NotificationTemplate>, 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<NotificationTemplate>

public class NotificationTemplateWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplate> implements com.liferay.portal.kernel.model.ModelWrapper<NotificationTemplate>, NotificationTemplate

This class is a wrapper for NotificationTemplate.

See Also:
Generated:
  • Constructor Details

    • NotificationTemplateWrapper

      public NotificationTemplateWrapper(NotificationTemplate notificationTemplate)
  • Method Details

    • getModelAttributes

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

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

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

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

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

      public String getBody(Locale locale)
      Returns the localized body of this notification template in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getBody in interface NotificationTemplateModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized body of this notification template
    • getBody

      public String getBody(Locale locale, boolean useDefault)
      Returns the localized body of this notification template in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getBody in interface NotificationTemplateModel
      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 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)
      Returns the localized body of this notification template in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getBody in interface NotificationTemplateModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized body of this notification template
    • getBody

      public String getBody(String languageId, boolean useDefault)
      Returns the localized body of this notification template in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getBody in interface NotificationTemplateModel
      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 notification template
    • getBodyCurrentLanguageId

      public String getBodyCurrentLanguageId()
      Specified by:
      getBodyCurrentLanguageId in interface NotificationTemplateModel
    • getBodyCurrentValue

      public String getBodyCurrentValue()
      Specified by:
      getBodyCurrentValue in interface NotificationTemplateModel
    • getBodyMap

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

      public long getCompanyId()
      Returns the company ID of this notification template.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface NotificationTemplateModel
      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 notification template
    • getCreateDate

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

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

      public String getDescription()
      Returns the description of this notification template.
      Specified by:
      getDescription in interface NotificationTemplateModel
      Returns:
      the description of this notification template
    • getEditorType

      public String getEditorType()
      Returns the editor type of this notification template.
      Specified by:
      getEditorType in interface NotificationTemplateModel
      Returns:
      the editor type of this notification template
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this notification template.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface NotificationTemplateModel
      Returns:
      the external reference code of this notification template
    • getModifiedDate

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

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

      public String getName()
      Returns the name of this notification template.
      Specified by:
      getName in interface NotificationTemplateModel
      Returns:
      the name of this notification template
    • getName

      public String getName(Locale locale)
      Returns the localized name of this notification template in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface NotificationTemplateModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized name of this notification template
    • getName

      public String getName(Locale locale, boolean useDefault)
      Returns the localized name of this notification template in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface NotificationTemplateModel
      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 name of this notification template. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getName

      public String getName(String languageId)
      Returns the localized name of this notification template in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface NotificationTemplateModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized name of this notification template
    • getName

      public String getName(String languageId, boolean useDefault)
      Returns the localized name of this notification template in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface NotificationTemplateModel
      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 name of this notification template
    • getNameCurrentLanguageId

      public String getNameCurrentLanguageId()
      Specified by:
      getNameCurrentLanguageId in interface NotificationTemplateModel
    • getNameCurrentValue

      public String getNameCurrentValue()
      Specified by:
      getNameCurrentValue in interface NotificationTemplateModel
    • getNameMap

      public Map<Locale,String> getNameMap()
      Returns a map of the locales and localized names of this notification template.
      Specified by:
      getNameMap in interface NotificationTemplateModel
      Returns:
      the locales and localized names of this notification template
    • getNotificationRecipient

      public NotificationRecipient getNotificationRecipient()
      Specified by:
      getNotificationRecipient in interface NotificationTemplate
    • getNotificationTemplateId

      public long getNotificationTemplateId()
      Returns the notification template ID of this notification template.
      Specified by:
      getNotificationTemplateId in interface NotificationTemplateModel
      Returns:
      the notification template ID of this notification template
    • getObjectDefinitionId

      public long getObjectDefinitionId()
      Returns the object definition ID of this notification template.
      Specified by:
      getObjectDefinitionId in interface NotificationTemplateModel
      Returns:
      the object definition ID of this notification template
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this notification template.
      Specified by:
      getPrimaryKey in interface NotificationTemplateModel
      Returns:
      the primary key of this notification template
    • getRecipientType

      public String getRecipientType()
      Returns the recipient type of this notification template.
      Specified by:
      getRecipientType in interface NotificationTemplateModel
      Returns:
      the recipient type of this notification template
    • getSubject

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

      public String getSubject(Locale locale)
      Returns the localized subject of this notification template in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getSubject in interface NotificationTemplateModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized subject of this notification template
    • getSubject

      public String getSubject(Locale locale, boolean useDefault)
      Returns the localized subject of this notification template in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getSubject in interface NotificationTemplateModel
      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 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)
      Returns the localized subject of this notification template in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getSubject in interface NotificationTemplateModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized subject of this notification template
    • getSubject

      public String getSubject(String languageId, boolean useDefault)
      Returns the localized subject of this notification template in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getSubject in interface NotificationTemplateModel
      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 notification template
    • getSubjectCurrentLanguageId

      public String getSubjectCurrentLanguageId()
      Specified by:
      getSubjectCurrentLanguageId in interface NotificationTemplateModel
    • getSubjectCurrentValue

      public String getSubjectCurrentValue()
      Specified by:
      getSubjectCurrentValue in interface NotificationTemplateModel
    • getSubjectMap

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

      public boolean getSystem()
      Returns the system of this notification template.
      Specified by:
      getSystem in interface NotificationTemplateModel
      Returns:
      the system of this notification template
    • getType

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

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

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

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

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

      public boolean isSystem()
      Returns true if this notification template is system.
      Specified by:
      isSystem in interface NotificationTemplateModel
      Returns:
      true if this notification template is system; false otherwise
    • persist

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

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

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

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

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

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

      public void setBodyCurrentLanguageId(String languageId)
      Specified by:
      setBodyCurrentLanguageId in interface NotificationTemplateModel
    • setBodyMap

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

      public void setBodyMap(Map<Locale,String> bodyMap, Locale defaultLocale)
      Sets the localized bodies of this notification template from the map of locales and localized bodies, and sets the default locale.
      Specified by:
      setBodyMap in interface NotificationTemplateModel
      Parameters:
      bodyMap - the locales and localized bodies of this notification template
      defaultLocale - the default locale
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this notification template.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface NotificationTemplateModel
      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 notification template
    • setCreateDate

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

      public void setDescription(String description)
      Sets the description of this notification template.
      Specified by:
      setDescription in interface NotificationTemplateModel
      Parameters:
      description - the description of this notification template
    • setEditorType

      public void setEditorType(String editorType)
      Sets the editor type of this notification template.
      Specified by:
      setEditorType in interface NotificationTemplateModel
      Parameters:
      editorType - the editor type of this notification template
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this notification template.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface NotificationTemplateModel
      Parameters:
      externalReferenceCode - the external reference code of this notification template
    • setModifiedDate

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

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

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

      public void setName(String name, Locale locale)
      Sets the localized name of this notification template in the language.
      Specified by:
      setName in interface NotificationTemplateModel
      Parameters:
      name - the localized name of this notification template
      locale - the locale of the language
    • setName

      public void setName(String name, Locale locale, Locale defaultLocale)
      Sets the localized name of this notification template in the language, and sets the default locale.
      Specified by:
      setName in interface NotificationTemplateModel
      Parameters:
      name - the localized name of this notification template
      locale - the locale of the language
      defaultLocale - the default locale
    • setNameCurrentLanguageId

      public void setNameCurrentLanguageId(String languageId)
      Specified by:
      setNameCurrentLanguageId in interface NotificationTemplateModel
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap)
      Sets the localized names of this notification template from the map of locales and localized names.
      Specified by:
      setNameMap in interface NotificationTemplateModel
      Parameters:
      nameMap - the locales and localized names of this notification template
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
      Sets the localized names of this notification template from the map of locales and localized names, and sets the default locale.
      Specified by:
      setNameMap in interface NotificationTemplateModel
      Parameters:
      nameMap - the locales and localized names of this notification template
      defaultLocale - the default locale
    • setNotificationTemplateId

      public void setNotificationTemplateId(long notificationTemplateId)
      Sets the notification template ID of this notification template.
      Specified by:
      setNotificationTemplateId in interface NotificationTemplateModel
      Parameters:
      notificationTemplateId - the notification template ID of this notification template
    • setObjectDefinitionId

      public void setObjectDefinitionId(long objectDefinitionId)
      Sets the object definition ID of this notification template.
      Specified by:
      setObjectDefinitionId in interface NotificationTemplateModel
      Parameters:
      objectDefinitionId - the object definition ID of this notification template
    • setPrimaryKey

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

      public void setRecipientType(String recipientType)
      Sets the recipient type of this notification template.
      Specified by:
      setRecipientType in interface NotificationTemplateModel
      Parameters:
      recipientType - the recipient type of this notification template
    • setSubject

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

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

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

      public void setSubjectCurrentLanguageId(String languageId)
      Specified by:
      setSubjectCurrentLanguageId in interface NotificationTemplateModel
    • setSubjectMap

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

      public void setSubjectMap(Map<Locale,String> subjectMap, Locale defaultLocale)
      Sets the localized subjects of this notification template from the map of locales and localized subjects, and sets the default locale.
      Specified by:
      setSubjectMap in interface NotificationTemplateModel
      Parameters:
      subjectMap - the locales and localized subjects of this notification template
      defaultLocale - the default locale
    • setSystem

      public void setSystem(boolean system)
      Sets whether this notification template is system.
      Specified by:
      setSystem in interface NotificationTemplateModel
      Parameters:
      system - the system of this notification template
    • setType

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

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

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface NotificationTemplateModel
    • getStagedModelType

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

      protected NotificationTemplateWrapper wrap(NotificationTemplate notificationTemplate)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplate>