Class NotificationTemplateAttachmentWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplateAttachment>
com.liferay.notification.model.NotificationTemplateAttachmentWrapper
All Implemented Interfaces:
NotificationTemplateAttachment, NotificationTemplateAttachmentModel, com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<NotificationTemplateAttachment>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<NotificationTemplateAttachment>

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

This class is a wrapper for NotificationTemplateAttachment.

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.NotificationTemplateAttachment

    NOTIFICATION_TEMPLATE_ATTACHMENT_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this notification template attachment.
     
    long
    Returns the mvcc version of this notification template attachment.
    long
    Returns the notification template attachment ID of this notification template attachment.
    long
    Returns the notification template ID of this notification template attachment.
    long
    Returns the object field ID of this notification template attachment.
    long
    Returns the primary key of this notification template attachment.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this notification template attachment.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this notification template attachment.
    void
    setNotificationTemplateAttachmentId(long notificationTemplateAttachmentId)
    Sets the notification template attachment ID of this notification template attachment.
    void
    setNotificationTemplateId(long notificationTemplateId)
    Sets the notification template ID of this notification template attachment.
    void
    setObjectFieldId(long objectFieldId)
    Sets the object field ID of this notification template attachment.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this notification template attachment.
     
    wrap(NotificationTemplateAttachment notificationTemplateAttachment)
     

    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
  • Constructor Details

  • Method Details

    • getModelAttributes

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

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

      public NotificationTemplateAttachment cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<NotificationTemplateAttachment>
      Specified by:
      cloneWithOriginalValues in interface NotificationTemplateAttachmentModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this notification template attachment.
      Specified by:
      getCompanyId in interface NotificationTemplateAttachmentModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this notification template attachment
    • getMvccVersion

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

      public long getNotificationTemplateAttachmentId()
      Returns the notification template attachment ID of this notification template attachment.
      Specified by:
      getNotificationTemplateAttachmentId in interface NotificationTemplateAttachmentModel
      Returns:
      the notification template attachment ID of this notification template attachment
    • getNotificationTemplateId

      public long getNotificationTemplateId()
      Returns the notification template ID of this notification template attachment.
      Specified by:
      getNotificationTemplateId in interface NotificationTemplateAttachmentModel
      Returns:
      the notification template ID of this notification template attachment
    • getObjectFieldId

      public long getObjectFieldId()
      Returns the object field ID of this notification template attachment.
      Specified by:
      getObjectFieldId in interface NotificationTemplateAttachmentModel
      Returns:
      the object field ID of this notification template attachment
    • getPrimaryKey

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

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

      public void setCompanyId(long companyId)
      Sets the company ID of this notification template attachment.
      Specified by:
      setCompanyId in interface NotificationTemplateAttachmentModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this notification template attachment
    • setMvccVersion

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

      public void setNotificationTemplateAttachmentId(long notificationTemplateAttachmentId)
      Sets the notification template attachment ID of this notification template attachment.
      Specified by:
      setNotificationTemplateAttachmentId in interface NotificationTemplateAttachmentModel
      Parameters:
      notificationTemplateAttachmentId - the notification template attachment ID of this notification template attachment
    • setNotificationTemplateId

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

      public void setObjectFieldId(long objectFieldId)
      Sets the object field ID of this notification template attachment.
      Specified by:
      setObjectFieldId in interface NotificationTemplateAttachmentModel
      Parameters:
      objectFieldId - the object field ID of this notification template attachment
    • setPrimaryKey

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

      public String toXmlString()
      Specified by:
      toXmlString in interface NotificationTemplateAttachmentModel
    • wrap

      protected NotificationTemplateAttachmentWrapper wrap(NotificationTemplateAttachment notificationTemplateAttachment)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationTemplateAttachment>