Package com.liferay.notification.model
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.notification.model.NotificationTemplate
NOTIFICATION_TEMPLATE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getBody()Returns the body of this notification template.Returns the localized body of this notification template in the language.Returns the localized body of this notification template in the language, optionally using the default language if no localization exists for the requested language.Returns the localized body of this notification template in the language.Returns the localized body of this notification template in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized bodies of this notification template.longReturns the company ID of this notification template.Returns the create date of this notification template.Returns the description of this notification template.Returns the editor type of this notification template.Returns the external reference code of this notification template.Returns the modified date of this notification template.longReturns the mvcc version of this notification template.getName()Returns the name of this notification template.Returns the localized name of this notification template in the language.Returns the localized name of this notification template in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this notification template in the language.Returns the localized name of this notification template in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this notification template.longReturns the notification template ID of this notification template.longReturns the object definition ID of this notification template.longReturns the primary key of this notification template.Returns the recipient type of this notification template.com.liferay.exportimport.kernel.lar.StagedModelTypeReturns the subject of this notification template.getSubject(String languageId) Returns the localized subject of this notification template in the language.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.getSubject(Locale locale) Returns the localized subject of this notification template in the language.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.Returns a map of the locales and localized subjects of this notification template.booleanReturns the system of this notification template.getType()Returns the type of this notification template.longReturns the user ID of this notification template.Returns the user name of this notification template.Returns the user uuid of this notification template.getUuid()Returns the uuid of this notification template.booleanisSystem()Returnstrueif this notification template is system.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidSets the body of this notification template.voidSets the localized body of this notification template in the language.voidSets the localized body of this notification template in the language, and sets the default locale.voidsetBodyCurrentLanguageId(String languageId) voidsetBodyMap(Map<Locale, String> bodyMap) Sets the localized bodies of this notification template from the map of locales and localized bodies.voidsetBodyMap(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.voidsetCompanyId(long companyId) Sets the company ID of this notification template.voidsetCreateDate(Date createDate) Sets the create date of this notification template.voidsetDescription(String description) Sets the description of this notification template.voidsetEditorType(String editorType) Sets the editor type of this notification template.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this notification template.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this notification template.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this notification template.voidSets the name of this notification template.voidSets the localized name of this notification template in the language.voidSets the localized name of this notification template in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this notification template from the map of locales and localized names.voidsetNameMap(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.voidsetNotificationTemplateId(long notificationTemplateId) Sets the notification template ID of this notification template.voidsetObjectDefinitionId(long objectDefinitionId) Sets the object definition ID of this notification template.voidsetPrimaryKey(long primaryKey) Sets the primary key of this notification template.voidsetRecipientType(String recipientType) Sets the recipient type of this notification template.voidsetSubject(String subject) Sets the subject of this notification template.voidsetSubject(String subject, Locale locale) Sets the localized subject of this notification template in the language.voidsetSubject(String subject, Locale locale, Locale defaultLocale) Sets the localized subject of this notification template in the language, and sets the default locale.voidsetSubjectCurrentLanguageId(String languageId) voidsetSubjectMap(Map<Locale, String> subjectMap) Sets the localized subjects of this notification template from the map of locales and localized subjects.voidsetSubjectMap(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.voidsetSystem(boolean system) Sets whether this notification template is system.voidSets the type of this notification template.voidsetUserId(long userId) Sets the user ID of this notification template.voidsetUserName(String userName) Sets the user name of this notification template.voidsetUserUuid(String userUuid) Sets the user uuid of this notification template.voidSets the uuid of this notification template.protected NotificationTemplateWrapperwrap(NotificationTemplate notificationTemplate) 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
NotificationTemplateWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<NotificationTemplate>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<NotificationTemplate>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<NotificationTemplate>- Specified by:
cloneWithOriginalValuesin interfaceNotificationTemplateModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getAvailableLanguageIdsin interfaceNotificationTemplateModel
-
getBody
Returns the body of this notification template.- Specified by:
getBodyin interfaceNotificationTemplateModel- Returns:
- the body of this notification template
-
getBody
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:
getBodyin interfaceNotificationTemplateModel- Parameters:
locale- the locale of the language- Returns:
- the localized body of this notification template
-
getBody
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:
getBodyin interfaceNotificationTemplateModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized body of this notification template. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getBody
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:
getBodyin interfaceNotificationTemplateModel- Parameters:
languageId- the ID of the language- Returns:
- the localized body of this notification template
-
getBody
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:
getBodyin interfaceNotificationTemplateModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized body of this notification template
-
getBodyCurrentLanguageId
- Specified by:
getBodyCurrentLanguageIdin interfaceNotificationTemplateModel
-
getBodyCurrentValue
- Specified by:
getBodyCurrentValuein interfaceNotificationTemplateModel
-
getBodyMap
Returns a map of the locales and localized bodies of this notification template.- Specified by:
getBodyMapin interfaceNotificationTemplateModel- Returns:
- the locales and localized bodies of this notification template
-
getCompanyId
public long getCompanyId()Returns the company ID of this notification template.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceNotificationTemplateModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this notification template
-
getCreateDate
Returns the create date of this notification template.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceNotificationTemplateModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this notification template
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getDefaultLanguageIdin interfaceNotificationTemplateModel
-
getDescription
Returns the description of this notification template.- Specified by:
getDescriptionin interfaceNotificationTemplateModel- Returns:
- the description of this notification template
-
getEditorType
Returns the editor type of this notification template.- Specified by:
getEditorTypein interfaceNotificationTemplateModel- Returns:
- the editor type of this notification template
-
getExternalReferenceCode
Returns the external reference code of this notification template.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceNotificationTemplateModel- Returns:
- the external reference code of this notification template
-
getModifiedDate
Returns the modified date of this notification template.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceNotificationTemplateModel- Specified by:
getModifiedDatein interfacecom.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:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
getMvccVersionin interfaceNotificationTemplateModel- Returns:
- the mvcc version of this notification template
-
getName
Returns the name of this notification template.- Specified by:
getNamein interfaceNotificationTemplateModel- Returns:
- the name of this notification template
-
getName
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:
getNamein interfaceNotificationTemplateModel- Parameters:
locale- the locale of the language- Returns:
- the localized name of this notification template
-
getName
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:
getNamein interfaceNotificationTemplateModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this notification template. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
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:
getNamein interfaceNotificationTemplateModel- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this notification template
-
getName
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:
getNamein interfaceNotificationTemplateModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this notification template
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceNotificationTemplateModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceNotificationTemplateModel
-
getNameMap
Returns a map of the locales and localized names of this notification template.- Specified by:
getNameMapin interfaceNotificationTemplateModel- Returns:
- the locales and localized names of this notification template
-
getNotificationRecipient
- Specified by:
getNotificationRecipientin interfaceNotificationTemplate
-
getNotificationTemplateId
public long getNotificationTemplateId()Returns the notification template ID of this notification template.- Specified by:
getNotificationTemplateIdin interfaceNotificationTemplateModel- Returns:
- the notification template ID of this notification template
-
getObjectDefinitionId
public long getObjectDefinitionId()Returns the object definition ID of this notification template.- Specified by:
getObjectDefinitionIdin interfaceNotificationTemplateModel- Returns:
- the object definition ID of this notification template
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this notification template.- Specified by:
getPrimaryKeyin interfaceNotificationTemplateModel- Returns:
- the primary key of this notification template
-
getRecipientType
Returns the recipient type of this notification template.- Specified by:
getRecipientTypein interfaceNotificationTemplateModel- Returns:
- the recipient type of this notification template
-
getSubject
Returns the subject of this notification template.- Specified by:
getSubjectin interfaceNotificationTemplateModel- Returns:
- the subject of this notification template
-
getSubject
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:
getSubjectin interfaceNotificationTemplateModel- Parameters:
locale- the locale of the language- Returns:
- the localized subject of this notification template
-
getSubject
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:
getSubjectin interfaceNotificationTemplateModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized subject of this notification template. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getSubject
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:
getSubjectin interfaceNotificationTemplateModel- Parameters:
languageId- the ID of the language- Returns:
- the localized subject of this notification template
-
getSubject
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:
getSubjectin interfaceNotificationTemplateModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized subject of this notification template
-
getSubjectCurrentLanguageId
- Specified by:
getSubjectCurrentLanguageIdin interfaceNotificationTemplateModel
-
getSubjectCurrentValue
- Specified by:
getSubjectCurrentValuein interfaceNotificationTemplateModel
-
getSubjectMap
Returns a map of the locales and localized subjects of this notification template.- Specified by:
getSubjectMapin interfaceNotificationTemplateModel- Returns:
- the locales and localized subjects of this notification template
-
getSystem
public boolean getSystem()Returns the system of this notification template.- Specified by:
getSystemin interfaceNotificationTemplateModel- Returns:
- the system of this notification template
-
getType
Returns the type of this notification template.- Specified by:
getTypein interfaceNotificationTemplateModel- Returns:
- the type of this notification template
-
getUserId
public long getUserId()Returns the user ID of this notification template.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceNotificationTemplateModel- Returns:
- the user ID of this notification template
-
getUserName
Returns the user name of this notification template.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceNotificationTemplateModel- Returns:
- the user name of this notification template
-
getUserUuid
Returns the user uuid of this notification template.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceNotificationTemplateModel- Returns:
- the user uuid of this notification template
-
getUuid
Returns the uuid of this notification template.- Specified by:
getUuidin interfaceNotificationTemplateModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this notification template
-
isSystem
public boolean isSystem()Returnstrueif this notification template is system.- Specified by:
isSystemin interfaceNotificationTemplateModel- Returns:
trueif this notification template is system;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceNotificationTemplateModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceNotificationTemplateModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setBody
Sets the body of this notification template.- Specified by:
setBodyin interfaceNotificationTemplateModel- Parameters:
body- the body of this notification template
-
setBody
Sets the localized body of this notification template in the language.- Specified by:
setBodyin interfaceNotificationTemplateModel- Parameters:
body- the localized body of this notification templatelocale- the locale of the language
-
setBody
Sets the localized body of this notification template in the language, and sets the default locale.- Specified by:
setBodyin interfaceNotificationTemplateModel- Parameters:
body- the localized body of this notification templatelocale- the locale of the languagedefaultLocale- the default locale
-
setBodyCurrentLanguageId
- Specified by:
setBodyCurrentLanguageIdin interfaceNotificationTemplateModel
-
setBodyMap
Sets the localized bodies of this notification template from the map of locales and localized bodies.- Specified by:
setBodyMapin interfaceNotificationTemplateModel- Parameters:
bodyMap- the locales and localized bodies of this notification template
-
setBodyMap
Sets the localized bodies of this notification template from the map of locales and localized bodies, and sets the default locale.- Specified by:
setBodyMapin interfaceNotificationTemplateModel- Parameters:
bodyMap- the locales and localized bodies of this notification templatedefaultLocale- the default locale
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this notification template.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceNotificationTemplateModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this notification template
-
setCreateDate
Sets the create date of this notification template.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceNotificationTemplateModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this notification template
-
setDescription
Sets the description of this notification template.- Specified by:
setDescriptionin interfaceNotificationTemplateModel- Parameters:
description- the description of this notification template
-
setEditorType
Sets the editor type of this notification template.- Specified by:
setEditorTypein interfaceNotificationTemplateModel- Parameters:
editorType- the editor type of this notification template
-
setExternalReferenceCode
Sets the external reference code of this notification template.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein interfaceNotificationTemplateModel- Parameters:
externalReferenceCode- the external reference code of this notification template
-
setModifiedDate
Sets the modified date of this notification template.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceNotificationTemplateModel- Specified by:
setModifiedDatein interfacecom.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:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
setMvccVersionin interfaceNotificationTemplateModel- Parameters:
mvccVersion- the mvcc version of this notification template
-
setName
Sets the name of this notification template.- Specified by:
setNamein interfaceNotificationTemplateModel- Parameters:
name- the name of this notification template
-
setName
Sets the localized name of this notification template in the language.- Specified by:
setNamein interfaceNotificationTemplateModel- Parameters:
name- the localized name of this notification templatelocale- the locale of the language
-
setName
Sets the localized name of this notification template in the language, and sets the default locale.- Specified by:
setNamein interfaceNotificationTemplateModel- Parameters:
name- the localized name of this notification templatelocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceNotificationTemplateModel
-
setNameMap
Sets the localized names of this notification template from the map of locales and localized names.- Specified by:
setNameMapin interfaceNotificationTemplateModel- Parameters:
nameMap- the locales and localized names of this notification template
-
setNameMap
Sets the localized names of this notification template from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMapin interfaceNotificationTemplateModel- Parameters:
nameMap- the locales and localized names of this notification templatedefaultLocale- the default locale
-
setNotificationTemplateId
public void setNotificationTemplateId(long notificationTemplateId) Sets the notification template ID of this notification template.- Specified by:
setNotificationTemplateIdin interfaceNotificationTemplateModel- 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:
setObjectDefinitionIdin interfaceNotificationTemplateModel- 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:
setPrimaryKeyin interfaceNotificationTemplateModel- Parameters:
primaryKey- the primary key of this notification template
-
setRecipientType
Sets the recipient type of this notification template.- Specified by:
setRecipientTypein interfaceNotificationTemplateModel- Parameters:
recipientType- the recipient type of this notification template
-
setSubject
Sets the subject of this notification template.- Specified by:
setSubjectin interfaceNotificationTemplateModel- Parameters:
subject- the subject of this notification template
-
setSubject
Sets the localized subject of this notification template in the language.- Specified by:
setSubjectin interfaceNotificationTemplateModel- Parameters:
subject- the localized subject of this notification templatelocale- the locale of the language
-
setSubject
Sets the localized subject of this notification template in the language, and sets the default locale.- Specified by:
setSubjectin interfaceNotificationTemplateModel- Parameters:
subject- the localized subject of this notification templatelocale- the locale of the languagedefaultLocale- the default locale
-
setSubjectCurrentLanguageId
- Specified by:
setSubjectCurrentLanguageIdin interfaceNotificationTemplateModel
-
setSubjectMap
Sets the localized subjects of this notification template from the map of locales and localized subjects.- Specified by:
setSubjectMapin interfaceNotificationTemplateModel- Parameters:
subjectMap- the locales and localized subjects of this notification template
-
setSubjectMap
Sets the localized subjects of this notification template from the map of locales and localized subjects, and sets the default locale.- Specified by:
setSubjectMapin interfaceNotificationTemplateModel- Parameters:
subjectMap- the locales and localized subjects of this notification templatedefaultLocale- the default locale
-
setSystem
public void setSystem(boolean system) Sets whether this notification template is system.- Specified by:
setSystemin interfaceNotificationTemplateModel- Parameters:
system- the system of this notification template
-
setType
Sets the type of this notification template.- Specified by:
setTypein interfaceNotificationTemplateModel- Parameters:
type- the type of this notification template
-
setUserId
public void setUserId(long userId) Sets the user ID of this notification template.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceNotificationTemplateModel- Parameters:
userId- the user ID of this notification template
-
setUserName
Sets the user name of this notification template.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceNotificationTemplateModel- Parameters:
userName- the user name of this notification template
-
setUserUuid
Sets the user uuid of this notification template.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceNotificationTemplateModel- Parameters:
userUuid- the user uuid of this notification template
-
setUuid
Sets the uuid of this notification template.- Specified by:
setUuidin interfaceNotificationTemplateModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this notification template
-
toXmlString
- Specified by:
toXmlStringin interfaceNotificationTemplateModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplate>
-