Class NotificationRecipientSettingWrapper

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

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

This class is a wrapper for NotificationRecipientSetting.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.notification.model.NotificationRecipientSetting

    NOTIFICATION_RECIPIENT_SETTING_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    long
    Returns the company ID of this notification recipient setting.
    Returns the create date of this notification recipient setting.
     
     
    Returns the modified date of this notification recipient setting.
    long
    Returns the mvcc version of this notification recipient setting.
    Returns the name of this notification recipient setting.
    long
    Returns the notification recipient ID of this notification recipient setting.
    long
    Returns the notification recipient setting ID of this notification recipient setting.
    long
    Returns the primary key of this notification recipient setting.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    long
    Returns the user ID of this notification recipient setting.
    Returns the user name of this notification recipient setting.
    Returns the user uuid of this notification recipient setting.
    Returns the uuid of this notification recipient setting.
    Returns the value of this notification recipient setting.
    getValue(String languageId)
    Returns the localized value of this notification recipient setting in the language.
    getValue(String languageId, boolean useDefault)
    Returns the localized value of this notification recipient setting in the language, optionally using the default language if no localization exists for the requested language.
    getValue(Locale locale)
    Returns the localized value of this notification recipient setting in the language.
    getValue(Locale locale, boolean useDefault)
    Returns the localized value of this notification recipient setting in the language, optionally using the default language if no localization exists for the requested language.
     
     
    Returns a map of the locales and localized values of this notification recipient setting.
    void
     
    void
     
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this notification recipient setting.
    void
    setCreateDate(Date createDate)
    Sets the create date of this notification recipient setting.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this notification recipient setting.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this notification recipient setting.
    void
    Sets the name of this notification recipient setting.
    void
    setNotificationRecipientId(long notificationRecipientId)
    Sets the notification recipient ID of this notification recipient setting.
    void
    setNotificationRecipientSettingId(long notificationRecipientSettingId)
    Sets the notification recipient setting ID of this notification recipient setting.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this notification recipient setting.
    void
    setUserId(long userId)
    Sets the user ID of this notification recipient setting.
    void
    setUserName(String userName)
    Sets the user name of this notification recipient setting.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this notification recipient setting.
    void
    Sets the uuid of this notification recipient setting.
    void
    Sets the value of this notification recipient setting.
    void
    setValue(String value, Locale locale)
    Sets the localized value of this notification recipient setting in the language.
    void
    setValue(String value, Locale locale, Locale defaultLocale)
    Sets the localized value of this notification recipient setting in the language, and sets the default locale.
    void
     
    void
    Sets the localized values of this notification recipient setting from the map of locales and localized values.
    void
    setValueMap(Map<Locale,String> valueMap, Locale defaultLocale)
    Sets the localized values of this notification recipient setting from the map of locales and localized values, and sets the default locale.
     
    wrap(NotificationRecipientSetting notificationRecipientSetting)
     

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

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

    Methods inherited from class java.lang.Object

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

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

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

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

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

    getWrappedModel

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

    clone
  • Constructor Details

    • NotificationRecipientSettingWrapper

      public NotificationRecipientSettingWrapper(NotificationRecipientSetting notificationRecipientSetting)
  • Method Details

    • getModelAttributes

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

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

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

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

      public long getCompanyId()
      Returns the company ID of this notification recipient setting.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface NotificationRecipientSettingModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this notification recipient setting
    • getCreateDate

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

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

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

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

      public String getName()
      Returns the name of this notification recipient setting.
      Specified by:
      getName in interface NotificationRecipientSettingModel
      Returns:
      the name of this notification recipient setting
    • getNotificationRecipientId

      public long getNotificationRecipientId()
      Returns the notification recipient ID of this notification recipient setting.
      Specified by:
      getNotificationRecipientId in interface NotificationRecipientSettingModel
      Returns:
      the notification recipient ID of this notification recipient setting
    • getNotificationRecipientSettingId

      public long getNotificationRecipientSettingId()
      Returns the notification recipient setting ID of this notification recipient setting.
      Specified by:
      getNotificationRecipientSettingId in interface NotificationRecipientSettingModel
      Returns:
      the notification recipient setting ID of this notification recipient setting
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this notification recipient setting.
      Specified by:
      getPrimaryKey in interface NotificationRecipientSettingModel
      Returns:
      the primary key of this notification recipient setting
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this notification recipient setting.
      Specified by:
      getUuid in interface NotificationRecipientSettingModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this notification recipient setting
    • getValue

      public String getValue()
      Returns the value of this notification recipient setting.
      Specified by:
      getValue in interface NotificationRecipientSettingModel
      Returns:
      the value of this notification recipient setting
    • getValue

      public String getValue(Locale locale)
      Returns the localized value of this notification recipient setting in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getValue in interface NotificationRecipientSettingModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized value of this notification recipient setting
    • getValue

      public String getValue(Locale locale, boolean useDefault)
      Returns the localized value of this notification recipient setting in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getValue in interface NotificationRecipientSettingModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized value of this notification recipient setting. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getValue

      public String getValue(String languageId)
      Returns the localized value of this notification recipient setting in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getValue in interface NotificationRecipientSettingModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized value of this notification recipient setting
    • getValue

      public String getValue(String languageId, boolean useDefault)
      Returns the localized value of this notification recipient setting in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getValue in interface NotificationRecipientSettingModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized value of this notification recipient setting
    • getValueCurrentLanguageId

      public String getValueCurrentLanguageId()
      Specified by:
      getValueCurrentLanguageId in interface NotificationRecipientSettingModel
    • getValueCurrentValue

      public String getValueCurrentValue()
      Specified by:
      getValueCurrentValue in interface NotificationRecipientSettingModel
    • getValueMap

      public Map<Locale,String> getValueMap()
      Returns a map of the locales and localized values of this notification recipient setting.
      Specified by:
      getValueMap in interface NotificationRecipientSettingModel
      Returns:
      the locales and localized values of this notification recipient setting
    • persist

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

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

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

      public void setCompanyId(long companyId)
      Sets the company ID of this notification recipient setting.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface NotificationRecipientSettingModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this notification recipient setting
    • setCreateDate

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

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

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

      public void setName(String name)
      Sets the name of this notification recipient setting.
      Specified by:
      setName in interface NotificationRecipientSettingModel
      Parameters:
      name - the name of this notification recipient setting
    • setNotificationRecipientId

      public void setNotificationRecipientId(long notificationRecipientId)
      Sets the notification recipient ID of this notification recipient setting.
      Specified by:
      setNotificationRecipientId in interface NotificationRecipientSettingModel
      Parameters:
      notificationRecipientId - the notification recipient ID of this notification recipient setting
    • setNotificationRecipientSettingId

      public void setNotificationRecipientSettingId(long notificationRecipientSettingId)
      Sets the notification recipient setting ID of this notification recipient setting.
      Specified by:
      setNotificationRecipientSettingId in interface NotificationRecipientSettingModel
      Parameters:
      notificationRecipientSettingId - the notification recipient setting ID of this notification recipient setting
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this notification recipient setting.
      Specified by:
      setPrimaryKey in interface NotificationRecipientSettingModel
      Parameters:
      primaryKey - the primary key of this notification recipient setting
    • setUserId

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

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

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

      public void setUuid(String uuid)
      Sets the uuid of this notification recipient setting.
      Specified by:
      setUuid in interface NotificationRecipientSettingModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this notification recipient setting
    • setValue

      public void setValue(String value)
      Sets the value of this notification recipient setting.
      Specified by:
      setValue in interface NotificationRecipientSettingModel
      Parameters:
      value - the value of this notification recipient setting
    • setValue

      public void setValue(String value, Locale locale)
      Sets the localized value of this notification recipient setting in the language.
      Specified by:
      setValue in interface NotificationRecipientSettingModel
      Parameters:
      value - the localized value of this notification recipient setting
      locale - the locale of the language
    • setValue

      public void setValue(String value, Locale locale, Locale defaultLocale)
      Sets the localized value of this notification recipient setting in the language, and sets the default locale.
      Specified by:
      setValue in interface NotificationRecipientSettingModel
      Parameters:
      value - the localized value of this notification recipient setting
      locale - the locale of the language
      defaultLocale - the default locale
    • setValueCurrentLanguageId

      public void setValueCurrentLanguageId(String languageId)
      Specified by:
      setValueCurrentLanguageId in interface NotificationRecipientSettingModel
    • setValueMap

      public void setValueMap(Map<Locale,String> valueMap)
      Sets the localized values of this notification recipient setting from the map of locales and localized values.
      Specified by:
      setValueMap in interface NotificationRecipientSettingModel
      Parameters:
      valueMap - the locales and localized values of this notification recipient setting
    • setValueMap

      public void setValueMap(Map<Locale,String> valueMap, Locale defaultLocale)
      Sets the localized values of this notification recipient setting from the map of locales and localized values, and sets the default locale.
      Specified by:
      setValueMap in interface NotificationRecipientSettingModel
      Parameters:
      valueMap - the locales and localized values of this notification recipient setting
      defaultLocale - the default locale
    • toXmlString

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

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

      protected NotificationRecipientSettingWrapper wrap(NotificationRecipientSetting notificationRecipientSetting)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationRecipientSetting>