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 |
getBcc()
Returns the bcc of this notification template.
|
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.
|
java.lang.String |
getCc()
Returns the cc 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 |
getFrom()
Returns the from of this notification template.
|
java.lang.String |
getFromName()
Returns the from name of this notification template.
|
java.lang.String |
getFromName(java.util.Locale locale)
Returns the localized from name of this notification template in the language.
|
java.lang.String |
getFromName(java.util.Locale locale,
boolean useDefault)
Returns the localized from name of this notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getFromName(java.lang.String languageId)
Returns the localized from name of this notification template in the language.
|
java.lang.String |
getFromName(java.lang.String languageId,
boolean useDefault)
Returns the localized from name of this notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getFromNameCurrentLanguageId() |
java.lang.String |
getFromNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getFromNameMap()
Returns a map of the locales and localized from names 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.
|
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.
|
java.lang.String |
getTo()
Returns the to of this notification template.
|
java.lang.String |
getTo(java.util.Locale locale)
Returns the localized to of this notification template in the language.
|
java.lang.String |
getTo(java.util.Locale locale,
boolean useDefault)
Returns the localized to of this notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getTo(java.lang.String languageId)
Returns the localized to of this notification template in the language.
|
java.lang.String |
getTo(java.lang.String languageId,
boolean useDefault)
Returns the localized to of this notification template in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getToCurrentLanguageId() |
java.lang.String |
getToCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getToMap()
Returns a map of the locales and localized tos 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.
|
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setBcc(java.lang.String bcc)
Sets the bcc of this notification template.
|
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 |
setCc(java.lang.String cc)
Sets the cc of this notification template.
|
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 |
setFrom(java.lang.String from)
Sets the from of this notification template.
|
void |
setFromName(java.lang.String fromName)
Sets the from name of this notification template.
|
void |
setFromName(java.lang.String fromName,
java.util.Locale locale)
Sets the localized from name of this notification template in the language.
|
void |
setFromName(java.lang.String fromName,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized from name of this notification template in the language, and sets the default locale.
|
void |
setFromNameCurrentLanguageId(java.lang.String languageId) |
void |
setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap)
Sets the localized from names of this notification template from the map of locales and localized from names.
|
void |
setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap,
java.util.Locale defaultLocale)
Sets the localized from names of this notification template from the map of locales and localized from names, and sets the default locale.
|
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 |
setTo(java.lang.String to)
Sets the to of this notification template.
|
void |
setTo(java.lang.String to,
java.util.Locale locale)
Sets the localized to of this notification template in the language.
|
void |
setTo(java.lang.String to,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized to of this notification template in the language, and sets the default locale.
|
void |
setToCurrentLanguageId(java.lang.String languageId) |
void |
setToMap(java.util.Map<java.util.Locale,java.lang.String> toMap)
Sets the localized tos of this notification template from the map of locales and localized tos.
|
void |
setToMap(java.util.Map<java.util.Locale,java.lang.String> toMap,
java.util.Locale defaultLocale)
Sets the localized tos of this notification template from the map of locales and localized tos, and sets the default locale.
|
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.
|
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic 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 NotificationTemplateModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplate>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface NotificationTemplateModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getBcc()
getBcc in interface NotificationTemplateModelpublic java.lang.String getBody()
getBody in interface NotificationTemplateModelpublic java.lang.String getBody(java.util.Locale locale)
getBody in interface NotificationTemplateModellocale - the locale of the languagepublic java.lang.String getBody(java.util.Locale locale,
boolean useDefault)
getBody in interface NotificationTemplateModellocale - 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 NotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getBody(java.lang.String languageId,
boolean useDefault)
getBody in interface NotificationTemplateModellanguageId - 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 NotificationTemplateModelpublic java.lang.String getBodyCurrentValue()
getBodyCurrentValue in interface NotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getBodyMap()
getBodyMap in interface NotificationTemplateModelpublic java.lang.String getCc()
getCc in interface NotificationTemplateModelpublic long getCompanyId()
getCompanyId in interface NotificationTemplateModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface NotificationTemplateModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface NotificationTemplateModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface NotificationTemplateModelpublic java.lang.String getFrom()
getFrom in interface NotificationTemplateModelpublic java.lang.String getFromName()
getFromName in interface NotificationTemplateModelpublic java.lang.String getFromName(java.util.Locale locale)
getFromName in interface NotificationTemplateModellocale - the locale of the languagepublic java.lang.String getFromName(java.util.Locale locale,
boolean useDefault)
getFromName in interface NotificationTemplateModellocale - 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 getFromName(java.lang.String languageId)
getFromName in interface NotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getFromName(java.lang.String languageId,
boolean useDefault)
getFromName in interface NotificationTemplateModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getFromNameCurrentLanguageId()
getFromNameCurrentLanguageId in interface NotificationTemplateModelpublic java.lang.String getFromNameCurrentValue()
getFromNameCurrentValue in interface NotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getFromNameMap()
getFromNameMap in interface NotificationTemplateModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface NotificationTemplateModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface NotificationTemplateModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface NotificationTemplateModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface NotificationTemplateModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface NotificationTemplateModellocale - 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 NotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface NotificationTemplateModellanguageId - 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 NotificationTemplateModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface NotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface NotificationTemplateModelpublic long getNotificationTemplateId()
getNotificationTemplateId in interface NotificationTemplateModelpublic long getObjectDefinitionId()
getObjectDefinitionId in interface NotificationTemplateModelpublic long getPrimaryKey()
getPrimaryKey in interface NotificationTemplateModelpublic java.lang.String getRecipientType()
getRecipientType in interface NotificationTemplateModelpublic java.lang.String getSubject()
getSubject in interface NotificationTemplateModelpublic java.lang.String getSubject(java.util.Locale locale)
getSubject in interface NotificationTemplateModellocale - the locale of the languagepublic java.lang.String getSubject(java.util.Locale locale,
boolean useDefault)
getSubject in interface NotificationTemplateModellocale - 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 NotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getSubject(java.lang.String languageId,
boolean useDefault)
getSubject in interface NotificationTemplateModellanguageId - 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 NotificationTemplateModelpublic java.lang.String getSubjectCurrentValue()
getSubjectCurrentValue in interface NotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getSubjectMap()
getSubjectMap in interface NotificationTemplateModelpublic java.lang.String getTo()
getTo in interface NotificationTemplateModelpublic java.lang.String getTo(java.util.Locale locale)
getTo in interface NotificationTemplateModellocale - the locale of the languagepublic java.lang.String getTo(java.util.Locale locale,
boolean useDefault)
getTo in interface NotificationTemplateModellocale - 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 getTo(java.lang.String languageId)
getTo in interface NotificationTemplateModellanguageId - the ID of the languagepublic java.lang.String getTo(java.lang.String languageId,
boolean useDefault)
getTo in interface NotificationTemplateModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getToCurrentLanguageId()
getToCurrentLanguageId in interface NotificationTemplateModelpublic java.lang.String getToCurrentValue()
getToCurrentValue in interface NotificationTemplateModelpublic java.util.Map<java.util.Locale,java.lang.String> getToMap()
getToMap in interface NotificationTemplateModelpublic java.lang.String getType()
getType in interface NotificationTemplateModelpublic long getUserId()
getUserId in interface NotificationTemplateModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface NotificationTemplateModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface NotificationTemplateModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface NotificationTemplateModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface NotificationTemplateModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface NotificationTemplateModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setBcc(java.lang.String bcc)
setBcc in interface NotificationTemplateModelbcc - the bcc of this notification templatepublic void setBody(java.lang.String body)
setBody in interface NotificationTemplateModelbody - the body of this notification templatepublic void setBody(java.lang.String body,
java.util.Locale locale)
setBody in interface NotificationTemplateModelbody - 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 NotificationTemplateModelbody - the localized body of this notification templatelocale - the locale of the languagedefaultLocale - the default localepublic void setBodyCurrentLanguageId(java.lang.String languageId)
setBodyCurrentLanguageId in interface NotificationTemplateModelpublic void setBodyMap(java.util.Map<java.util.Locale,java.lang.String> bodyMap)
setBodyMap in interface NotificationTemplateModelbodyMap - 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 NotificationTemplateModelbodyMap - the locales and localized bodies of this notification templatedefaultLocale - the default localepublic void setCc(java.lang.String cc)
setCc in interface NotificationTemplateModelcc - the cc of this notification templatepublic void setCompanyId(long companyId)
setCompanyId in interface NotificationTemplateModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this notification templatepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface NotificationTemplateModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this notification templatepublic void setDescription(java.lang.String description)
setDescription in interface NotificationTemplateModeldescription - the description of this notification templatepublic void setFrom(java.lang.String from)
setFrom in interface NotificationTemplateModelfrom - the from of this notification templatepublic void setFromName(java.lang.String fromName)
setFromName in interface NotificationTemplateModelfromName - the from name of this notification templatepublic void setFromName(java.lang.String fromName,
java.util.Locale locale)
setFromName in interface NotificationTemplateModelfromName - the localized from name of this notification templatelocale - the locale of the languagepublic void setFromName(java.lang.String fromName,
java.util.Locale locale,
java.util.Locale defaultLocale)
setFromName in interface NotificationTemplateModelfromName - the localized from name of this notification templatelocale - the locale of the languagedefaultLocale - the default localepublic void setFromNameCurrentLanguageId(java.lang.String languageId)
setFromNameCurrentLanguageId in interface NotificationTemplateModelpublic void setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap)
setFromNameMap in interface NotificationTemplateModelfromNameMap - the locales and localized from names of this notification templatepublic void setFromNameMap(java.util.Map<java.util.Locale,java.lang.String> fromNameMap,
java.util.Locale defaultLocale)
setFromNameMap in interface NotificationTemplateModelfromNameMap - the locales and localized from names of this notification templatedefaultLocale - the default localepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface NotificationTemplateModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this notification templatepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface NotificationTemplateModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this notification templatepublic void setName(java.lang.String name)
setName in interface NotificationTemplateModelname - the name of this notification templatepublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface NotificationTemplateModelname - 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 NotificationTemplateModelname - the localized name of this notification templatelocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface NotificationTemplateModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface NotificationTemplateModelnameMap - 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 NotificationTemplateModelnameMap - the locales and localized names of this notification templatedefaultLocale - the default localepublic void setNotificationTemplateId(long notificationTemplateId)
setNotificationTemplateId in interface NotificationTemplateModelnotificationTemplateId - the notification template ID of this notification templatepublic void setObjectDefinitionId(long objectDefinitionId)
setObjectDefinitionId in interface NotificationTemplateModelobjectDefinitionId - the object definition ID of this notification templatepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface NotificationTemplateModelprimaryKey - the primary key of this notification templatepublic void setRecipientType(java.lang.String recipientType)
setRecipientType in interface NotificationTemplateModelrecipientType - the recipient type of this notification templatepublic void setSubject(java.lang.String subject)
setSubject in interface NotificationTemplateModelsubject - the subject of this notification templatepublic void setSubject(java.lang.String subject,
java.util.Locale locale)
setSubject in interface NotificationTemplateModelsubject - 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 NotificationTemplateModelsubject - the localized subject of this notification templatelocale - the locale of the languagedefaultLocale - the default localepublic void setSubjectCurrentLanguageId(java.lang.String languageId)
setSubjectCurrentLanguageId in interface NotificationTemplateModelpublic void setSubjectMap(java.util.Map<java.util.Locale,java.lang.String> subjectMap)
setSubjectMap in interface NotificationTemplateModelsubjectMap - 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 NotificationTemplateModelsubjectMap - the locales and localized subjects of this notification templatedefaultLocale - the default localepublic void setTo(java.lang.String to)
setTo in interface NotificationTemplateModelto - the to of this notification templatepublic void setTo(java.lang.String to,
java.util.Locale locale)
setTo in interface NotificationTemplateModelto - the localized to of this notification templatelocale - the locale of the languagepublic void setTo(java.lang.String to,
java.util.Locale locale,
java.util.Locale defaultLocale)
setTo in interface NotificationTemplateModelto - the localized to of this notification templatelocale - the locale of the languagedefaultLocale - the default localepublic void setToCurrentLanguageId(java.lang.String languageId)
setToCurrentLanguageId in interface NotificationTemplateModelpublic void setToMap(java.util.Map<java.util.Locale,java.lang.String> toMap)
setToMap in interface NotificationTemplateModeltoMap - the locales and localized tos of this notification templatepublic void setToMap(java.util.Map<java.util.Locale,java.lang.String> toMap,
java.util.Locale defaultLocale)
setToMap in interface NotificationTemplateModeltoMap - the locales and localized tos of this notification templatedefaultLocale - the default localepublic void setType(java.lang.String type)
setType in interface NotificationTemplateModeltype - the type of this notification templatepublic void setUserId(long userId)
setUserId in interface NotificationTemplateModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this notification templatepublic void setUserName(java.lang.String userName)
setUserName in interface NotificationTemplateModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this notification templatepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface NotificationTemplateModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this notification templatepublic void setUuid(java.lang.String uuid)
setUuid in interface NotificationTemplateModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this notification templatepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected NotificationTemplateWrapper wrap(NotificationTemplate notificationTemplate)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplate>