Class NotificationEvent

Object
com.liferay.portal.kernel.notifications.NotificationEvent
All Implemented Interfaces:
Serializable

public class NotificationEvent extends Object implements Serializable
Author:
Edward Han
See Also:
  • Constructor Details

    • NotificationEvent

      public NotificationEvent(long timestamp, String type, JSONObject payloadJSONObject)
  • Method Details

    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • getDeliverBy

      public long getDeliverBy()
    • getDeliveryType

      public int getDeliveryType()
    • getPayload

      public JSONObject getPayload()
    • getTimestamp

      public long getTimestamp()
    • getType

      public String getType()
    • getUuid

      public String getUuid()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isArchived

      public boolean isArchived()
    • isDeliveryRequired

      public boolean isDeliveryRequired()
    • setArchived

      public void setArchived(boolean archived)
    • setDeliverBy

      public void setDeliverBy(long deliverBy) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • setDeliveryRequired

      public void setDeliveryRequired(long deliverBy) throws IllegalArgumentException
      Throws:
      IllegalArgumentException
    • setDeliveryType

      public void setDeliveryType(int deliveryType)
    • setTimestamp

      public void setTimestamp(long timestamp)
    • setUuid

      public void setUuid(String uuid)
    • toJSONObject

      public JSONObject toJSONObject()