Class NotificationQueueEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationQueueEntry>
com.liferay.notification.model.NotificationQueueEntryWrapper
All Implemented Interfaces:
NotificationQueueEntry, NotificationQueueEntryModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<NotificationQueueEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<NotificationQueueEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<NotificationQueueEntry>

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

This class is a wrapper for NotificationQueueEntry.

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

    NOTIFICATION_QUEUE_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the body of this notification queue entry.
    Returns the fully qualified class name of this notification queue entry.
    long
    Returns the class name ID of this notification queue entry.
    long
    Returns the class pk of this notification queue entry.
    long
    Returns the company ID of this notification queue entry.
    Returns the create date of this notification queue entry.
     
    Returns the modified date of this notification queue entry.
    long
    Returns the mvcc version of this notification queue entry.
    long
    Returns the notification queue entry ID of this notification queue entry.
     
    long
    Returns the notification template ID of this notification queue entry.
    long
    Returns the primary key of this notification queue entry.
    double
    Returns the priority of this notification queue entry.
    Returns the sent date of this notification queue entry.
    int
    Returns the status of this notification queue entry.
    Returns the subject of this notification queue entry.
    Returns the type of this notification queue entry.
    long
    Returns the user ID of this notification queue entry.
    Returns the user name of this notification queue entry.
    Returns the user uuid of this notification queue entry.
    void
     
    void
    Sets the body of this notification queue entry.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this notification queue entry.
    void
    setClassPK(long classPK)
    Sets the class pk of this notification queue entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this notification queue entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this notification queue entry.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this notification queue entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this notification queue entry.
    void
    setNotificationQueueEntryId(long notificationQueueEntryId)
    Sets the notification queue entry ID of this notification queue entry.
    void
    setNotificationTemplateId(long notificationTemplateId)
    Sets the notification template ID of this notification queue entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this notification queue entry.
    void
    setPriority(double priority)
    Sets the priority of this notification queue entry.
    void
    setSentDate(Date sentDate)
    Sets the sent date of this notification queue entry.
    void
    setStatus(int status)
    Sets the status of this notification queue entry.
    void
    setSubject(String subject)
    Sets the subject of this notification queue entry.
    void
    Sets the type of this notification queue entry.
    void
    setUserId(long userId)
    Sets the user ID of this notification queue entry.
    void
    setUserName(String userName)
    Sets the user name of this notification queue entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this notification queue entry.
     
    wrap(NotificationQueueEntry notificationQueueEntry)
     

    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

    • NotificationQueueEntryWrapper

      public NotificationQueueEntryWrapper(NotificationQueueEntry notificationQueueEntry)
  • Method Details

    • getModelAttributes

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

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

      public NotificationQueueEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<NotificationQueueEntry>
      Specified by:
      cloneWithOriginalValues in interface NotificationQueueEntryModel
    • getBody

      public String getBody()
      Returns the body of this notification queue entry.
      Specified by:
      getBody in interface NotificationQueueEntryModel
      Returns:
      the body of this notification queue entry
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this notification queue entry.
      Specified by:
      getClassName in interface NotificationQueueEntryModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this notification queue entry
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this notification queue entry.
      Specified by:
      getClassNameId in interface NotificationQueueEntryModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this notification queue entry
    • getClassPK

      public long getClassPK()
      Returns the class pk of this notification queue entry.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface NotificationQueueEntryModel
      Returns:
      the class pk of this notification queue entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this notification queue entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface NotificationQueueEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this notification queue entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this notification queue entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface NotificationQueueEntryModel
      Returns:
      the create date of this notification queue entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this notification queue entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface NotificationQueueEntryModel
      Returns:
      the modified date of this notification queue entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this notification queue entry.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface NotificationQueueEntryModel
      Returns:
      the mvcc version of this notification queue entry
    • getNotificationQueueEntryId

      public long getNotificationQueueEntryId()
      Returns the notification queue entry ID of this notification queue entry.
      Specified by:
      getNotificationQueueEntryId in interface NotificationQueueEntryModel
      Returns:
      the notification queue entry ID of this notification queue entry
    • getNotificationRecipient

      public NotificationRecipient getNotificationRecipient()
      Specified by:
      getNotificationRecipient in interface NotificationQueueEntry
    • getNotificationTemplateId

      public long getNotificationTemplateId()
      Returns the notification template ID of this notification queue entry.
      Specified by:
      getNotificationTemplateId in interface NotificationQueueEntryModel
      Returns:
      the notification template ID of this notification queue entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this notification queue entry.
      Specified by:
      getPrimaryKey in interface NotificationQueueEntryModel
      Returns:
      the primary key of this notification queue entry
    • getPriority

      public double getPriority()
      Returns the priority of this notification queue entry.
      Specified by:
      getPriority in interface NotificationQueueEntryModel
      Returns:
      the priority of this notification queue entry
    • getSentDate

      public Date getSentDate()
      Returns the sent date of this notification queue entry.
      Specified by:
      getSentDate in interface NotificationQueueEntryModel
      Returns:
      the sent date of this notification queue entry
    • getStatus

      public int getStatus()
      Returns the status of this notification queue entry.
      Specified by:
      getStatus in interface NotificationQueueEntryModel
      Returns:
      the status of this notification queue entry
    • getSubject

      public String getSubject()
      Returns the subject of this notification queue entry.
      Specified by:
      getSubject in interface NotificationQueueEntryModel
      Returns:
      the subject of this notification queue entry
    • getType

      public String getType()
      Returns the type of this notification queue entry.
      Specified by:
      getType in interface NotificationQueueEntryModel
      Returns:
      the type of this notification queue entry
    • getUserId

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

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

      public String getUserUuid()
      Returns the user uuid of this notification queue entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface NotificationQueueEntryModel
      Returns:
      the user uuid of this notification queue entry
    • persist

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

      public void setBody(String body)
      Sets the body of this notification queue entry.
      Specified by:
      setBody in interface NotificationQueueEntryModel
      Parameters:
      body - the body of this notification queue entry
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface NotificationQueueEntryModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this notification queue entry.
      Specified by:
      setClassNameId in interface NotificationQueueEntryModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this notification queue entry
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this notification queue entry.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface NotificationQueueEntryModel
      Parameters:
      classPK - the class pk of this notification queue entry
    • setCompanyId

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

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

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

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this notification queue entry.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface NotificationQueueEntryModel
      Parameters:
      mvccVersion - the mvcc version of this notification queue entry
    • setNotificationQueueEntryId

      public void setNotificationQueueEntryId(long notificationQueueEntryId)
      Sets the notification queue entry ID of this notification queue entry.
      Specified by:
      setNotificationQueueEntryId in interface NotificationQueueEntryModel
      Parameters:
      notificationQueueEntryId - the notification queue entry ID of this notification queue entry
    • setNotificationTemplateId

      public void setNotificationTemplateId(long notificationTemplateId)
      Sets the notification template ID of this notification queue entry.
      Specified by:
      setNotificationTemplateId in interface NotificationQueueEntryModel
      Parameters:
      notificationTemplateId - the notification template ID of this notification queue entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this notification queue entry.
      Specified by:
      setPrimaryKey in interface NotificationQueueEntryModel
      Parameters:
      primaryKey - the primary key of this notification queue entry
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this notification queue entry.
      Specified by:
      setPriority in interface NotificationQueueEntryModel
      Parameters:
      priority - the priority of this notification queue entry
    • setSentDate

      public void setSentDate(Date sentDate)
      Sets the sent date of this notification queue entry.
      Specified by:
      setSentDate in interface NotificationQueueEntryModel
      Parameters:
      sentDate - the sent date of this notification queue entry
    • setStatus

      public void setStatus(int status)
      Sets the status of this notification queue entry.
      Specified by:
      setStatus in interface NotificationQueueEntryModel
      Parameters:
      status - the status of this notification queue entry
    • setSubject

      public void setSubject(String subject)
      Sets the subject of this notification queue entry.
      Specified by:
      setSubject in interface NotificationQueueEntryModel
      Parameters:
      subject - the subject of this notification queue entry
    • setType

      public void setType(String type)
      Sets the type of this notification queue entry.
      Specified by:
      setType in interface NotificationQueueEntryModel
      Parameters:
      type - the type of this notification queue entry
    • setUserId

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

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

      public void setUserUuid(String userUuid)
      Sets the user uuid of this notification queue entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface NotificationQueueEntryModel
      Parameters:
      userUuid - the user uuid of this notification queue entry
    • toXmlString

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

      protected NotificationQueueEntryWrapper wrap(NotificationQueueEntry notificationQueueEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<NotificationQueueEntry>