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
.
NotificationTemplate
,
Serialized FormNOTIFICATION_TEMPLATE_ID_ACCESSOR
Constructor and Description |
---|
NotificationTemplateWrapper(NotificationTemplate notificationTemplate) |
Modifier and Type | Method and Description |
---|---|
NotificationTemplate |
cloneWithOriginalValues() |
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getBody()
Returns the body of this notification template.
|
java.lang.String |
getBody(java.util.Locale locale)
Returns the localized body of this notification template in the language.
|
java.lang.String |
getBody(java.util.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.
|
java.lang.String |
getBody(java.lang.String languageId)
Returns the localized body of this notification template in the language.
|
java.lang.String |
getBody(java.lang.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.
|
java.lang.String |
getBodyCurrentLanguageId() |
java.lang.String |
getBodyCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getBodyMap()
Returns a map of the locales and localized bodies of this notification template.
|
long |
getCompanyId()
Returns the company ID of this notification template.
|
java.util.Date |
getCreateDate()
Returns the create date of this notification template.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this notification template.
|
java.lang.String |
getEditorType()
Returns the editor type of this notification template.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this notification template.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this notification template.
|
long |
getMvccVersion()
Returns the mvcc version of this notification template.
|
java.lang.String |
getName()
Returns the name of this notification template.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this notification template in the language.
|
java.lang.String |
getName(java.util.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.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this notification template in the language.
|
java.lang.String |
getName(java.lang.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.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this notification template.
|
NotificationRecipient |
getNotificationRecipient() |
long |
getNotificationTemplateId()
Returns the notification template ID of this notification template.
|
long |
getObjectDefinitionId()
Returns the object definition ID of this notification template.
|
long |
getPrimaryKey()
Returns the primary key of this notification template.
|
java.lang.String |
getRecipientType()
Returns the recipient type of this notification template.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getSubject()
Returns the subject of this notification template.
|
java.lang.String |
getSubject(java.util.Locale locale)
Returns the localized subject of this notification template in the language.
|
java.lang.String |
getSubject(java.util.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.
|
java.lang.String |
getSubject(java.lang.String languageId)
Returns the localized subject of this notification template in the language.
|
java.lang.String |
getSubject(java.lang.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.
|
java.lang.String |
getSubjectCurrentLanguageId() |
java.lang.String |
getSubjectCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getSubjectMap()
Returns a map of the locales and localized subjects of this notification template.
|
boolean |
getSystem()
Returns the system of this notification template.
|
java.lang.String |
getType()
Returns the type of this notification template.
|
long |
getUserId()
Returns the user ID of this notification template.
|
java.lang.String |
getUserName()
Returns the user name of this notification template.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this notification template.
|
java.lang.String |
getUuid()
Returns the uuid of this notification template.
|
boolean |
isSystem()
Returns
true if this notification template is system. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setBody(java.lang.String body)
Sets the body of this notification template.
|
void |
setBody(java.lang.String body,
java.util.Locale locale)
Sets the localized body of this notification template in the language.
|
void |
setBody(java.lang.String body,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized body of this notification template in the language, and sets the default locale.
|
void |
setBodyCurrentLanguageId(java.lang.String languageId) |
void |
setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
Sets the localized bodies of this notification template from the map of locales and localized bodies.
|
void |
setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap,
java.util.Locale defaultLocale)
Sets the localized bodies of this notification template from the map of locales and localized bodies, and sets the default locale.
|
void |
setCompanyId(long companyId)
Sets the company ID of this notification template.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this notification template.
|
void |
setDescription(java.lang.String description)
Sets the description of this notification template.
|
void |
setEditorType(java.lang.String editorType)
Sets the editor type of this notification template.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this notification template.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this notification template.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this notification template.
|
void |
setName(java.lang.String name)
Sets the name of this notification template.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this notification template in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this notification template in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this notification template from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this notification template from the map of locales and localized names, and sets the default locale.
|
void |
setNotificationTemplateId(long notificationTemplateId)
Sets the notification template ID of this notification template.
|
void |
setObjectDefinitionId(long objectDefinitionId)
Sets the object definition ID of this notification template.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this notification template.
|
void |
setRecipientType(java.lang.String recipientType)
Sets the recipient type of this notification template.
|
void |
setSubject(java.lang.String subject)
Sets the subject of this notification template.
|
void |
setSubject(java.lang.String subject,
java.util.Locale locale)
Sets the localized subject of this notification template in the language.
|
void |
setSubject(java.lang.String subject,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized subject of this notification template in the language, and sets the default locale.
|
void |
setSubjectCurrentLanguageId(java.lang.String languageId) |
void |
setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
Sets the localized subjects of this notification template from the map of locales and localized subjects.
|
void |
setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap,
java.util.Locale defaultLocale)
Sets the localized subjects of this notification template from the map of locales and localized subjects, and sets the default locale.
|
void |
setSystem(boolean system)
Sets whether this notification template is system.
|
void |
setType(java.lang.String type)
Sets the type of this notification template.
|
void |
setUserId(long userId)
Sets the user ID of this notification template.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this notification template.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this notification template.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this notification template.
|
java.lang.String |
toXmlString() |
protected NotificationTemplateWrapper |
wrap(NotificationTemplate notificationTemplate) |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public NotificationTemplateWrapper(NotificationTemplate notificationTemplate)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplate>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplate>
public NotificationTemplate cloneWithOriginalValues()
cloneWithOriginalValues
in interface NotificationTemplateModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplate>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface NotificationTemplateModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getBody()
getBody
in interface NotificationTemplateModel
public java.lang.String getBody(java.util.Locale locale)
getBody
in interface NotificationTemplateModel
locale
- the locale of the languagepublic java.lang.String getBody(java.util.Locale locale, boolean useDefault)
getBody
in interface NotificationTemplateModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getBody(java.lang.String languageId)
getBody
in interface NotificationTemplateModel
languageId
- the ID of the languagepublic java.lang.String getBody(java.lang.String languageId, boolean useDefault)
getBody
in interface NotificationTemplateModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getBodyCurrentLanguageId()
getBodyCurrentLanguageId
in interface NotificationTemplateModel
public java.lang.String getBodyCurrentValue()
getBodyCurrentValue
in interface NotificationTemplateModel
public java.util.Map<java.util.Locale,java.lang.String> getBodyMap()
getBodyMap
in interface NotificationTemplateModel
public long getCompanyId()
getCompanyId
in interface NotificationTemplateModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface NotificationTemplateModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface NotificationTemplateModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDescription()
getDescription
in interface NotificationTemplateModel
public java.lang.String getEditorType()
getEditorType
in interface NotificationTemplateModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface NotificationTemplateModel
getExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface NotificationTemplateModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface NotificationTemplateModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface NotificationTemplateModel
public java.lang.String getName(java.util.Locale locale)
getName
in interface NotificationTemplateModel
locale
- the locale of the languagepublic java.lang.String getName(java.util.Locale locale, boolean useDefault)
getName
in interface NotificationTemplateModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getName(java.lang.String languageId)
getName
in interface NotificationTemplateModel
languageId
- the ID of the languagepublic java.lang.String getName(java.lang.String languageId, boolean useDefault)
getName
in interface NotificationTemplateModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface NotificationTemplateModel
public java.lang.String getNameCurrentValue()
getNameCurrentValue
in interface NotificationTemplateModel
public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap
in interface NotificationTemplateModel
public NotificationRecipient getNotificationRecipient()
getNotificationRecipient
in interface NotificationTemplate
public long getNotificationTemplateId()
getNotificationTemplateId
in interface NotificationTemplateModel
public long getObjectDefinitionId()
getObjectDefinitionId
in interface NotificationTemplateModel
public long getPrimaryKey()
getPrimaryKey
in interface NotificationTemplateModel
public java.lang.String getRecipientType()
getRecipientType
in interface NotificationTemplateModel
public java.lang.String getSubject()
getSubject
in interface NotificationTemplateModel
public java.lang.String getSubject(java.util.Locale locale)
getSubject
in interface NotificationTemplateModel
locale
- the locale of the languagepublic java.lang.String getSubject(java.util.Locale locale, boolean useDefault)
getSubject
in interface NotificationTemplateModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getSubject(java.lang.String languageId)
getSubject
in interface NotificationTemplateModel
languageId
- the ID of the languagepublic java.lang.String getSubject(java.lang.String languageId, boolean useDefault)
getSubject
in interface NotificationTemplateModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getSubjectCurrentLanguageId()
getSubjectCurrentLanguageId
in interface NotificationTemplateModel
public java.lang.String getSubjectCurrentValue()
getSubjectCurrentValue
in interface NotificationTemplateModel
public java.util.Map<java.util.Locale,java.lang.String> getSubjectMap()
getSubjectMap
in interface NotificationTemplateModel
public boolean getSystem()
getSystem
in interface NotificationTemplateModel
public java.lang.String getType()
getType
in interface NotificationTemplateModel
public long getUserId()
getUserId
in interface NotificationTemplateModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface NotificationTemplateModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface NotificationTemplateModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface NotificationTemplateModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isSystem()
true
if this notification template is system.isSystem
in interface NotificationTemplateModel
true
if this notification template is system; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface NotificationTemplateModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface NotificationTemplateModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setBody(java.lang.String body)
setBody
in interface NotificationTemplateModel
body
- the body of this notification templatepublic void setBody(java.lang.String body, java.util.Locale locale)
setBody
in interface NotificationTemplateModel
body
- the localized body of this notification templatelocale
- the locale of the languagepublic void setBody(java.lang.String body, java.util.Locale locale, java.util.Locale defaultLocale)
setBody
in interface NotificationTemplateModel
body
- the localized body of this notification templatelocale
- the locale of the languagedefaultLocale
- the default localepublic void setBodyCurrentLanguageId(java.lang.String languageId)
setBodyCurrentLanguageId
in interface NotificationTemplateModel
public void setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
setBodyMap
in interface NotificationTemplateModel
bodyMap
- the locales and localized bodies of this notification templatepublic void setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap, java.util.Locale defaultLocale)
setBodyMap
in interface NotificationTemplateModel
bodyMap
- the locales and localized bodies of this notification templatedefaultLocale
- the default localepublic void setCompanyId(long companyId)
setCompanyId
in interface NotificationTemplateModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this notification templatepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface NotificationTemplateModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this notification templatepublic void setDescription(java.lang.String description)
setDescription
in interface NotificationTemplateModel
description
- the description of this notification templatepublic void setEditorType(java.lang.String editorType)
setEditorType
in interface NotificationTemplateModel
editorType
- the editor type of this notification templatepublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface NotificationTemplateModel
setExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
externalReferenceCode
- the external reference code of this notification templatepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface NotificationTemplateModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this notification templatepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface NotificationTemplateModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this notification templatepublic void setName(java.lang.String name)
setName
in interface NotificationTemplateModel
name
- the name of this notification templatepublic void setName(java.lang.String name, java.util.Locale locale)
setName
in interface NotificationTemplateModel
name
- the localized name of this notification templatelocale
- the locale of the languagepublic void setName(java.lang.String name, java.util.Locale locale, java.util.Locale defaultLocale)
setName
in interface NotificationTemplateModel
name
- the localized name of this notification templatelocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId
in interface NotificationTemplateModel
public void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap
in interface NotificationTemplateModel
nameMap
- the locales and localized names of this notification templatepublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Locale defaultLocale)
setNameMap
in interface NotificationTemplateModel
nameMap
- the locales and localized names of this notification templatedefaultLocale
- the default localepublic void setNotificationTemplateId(long notificationTemplateId)
setNotificationTemplateId
in interface NotificationTemplateModel
notificationTemplateId
- the notification template ID of this notification templatepublic void setObjectDefinitionId(long objectDefinitionId)
setObjectDefinitionId
in interface NotificationTemplateModel
objectDefinitionId
- the object definition ID of this notification templatepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface NotificationTemplateModel
primaryKey
- the primary key of this notification templatepublic void setRecipientType(java.lang.String recipientType)
setRecipientType
in interface NotificationTemplateModel
recipientType
- the recipient type of this notification templatepublic void setSubject(java.lang.String subject)
setSubject
in interface NotificationTemplateModel
subject
- the subject of this notification templatepublic void setSubject(java.lang.String subject, java.util.Locale locale)
setSubject
in interface NotificationTemplateModel
subject
- the localized subject of this notification templatelocale
- the locale of the languagepublic void setSubject(java.lang.String subject, java.util.Locale locale, java.util.Locale defaultLocale)
setSubject
in interface NotificationTemplateModel
subject
- the localized subject of this notification templatelocale
- the locale of the languagedefaultLocale
- the default localepublic void setSubjectCurrentLanguageId(java.lang.String languageId)
setSubjectCurrentLanguageId
in interface NotificationTemplateModel
public void setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
setSubjectMap
in interface NotificationTemplateModel
subjectMap
- the locales and localized subjects of this notification templatepublic void setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap, java.util.Locale defaultLocale)
setSubjectMap
in interface NotificationTemplateModel
subjectMap
- the locales and localized subjects of this notification templatedefaultLocale
- the default localepublic void setSystem(boolean system)
setSystem
in interface NotificationTemplateModel
system
- the system of this notification templatepublic void setType(java.lang.String type)
setType
in interface NotificationTemplateModel
type
- the type of this notification templatepublic void setUserId(long userId)
setUserId
in interface NotificationTemplateModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this notification templatepublic void setUserName(java.lang.String userName)
setUserName
in interface NotificationTemplateModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this notification templatepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface NotificationTemplateModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this notification templatepublic void setUuid(java.lang.String uuid)
setUuid
in interface NotificationTemplateModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this notification templatepublic java.lang.String toXmlString()
toXmlString
in interface NotificationTemplateModel
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected NotificationTemplateWrapper wrap(NotificationTemplate notificationTemplate)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplate>