Liferay 7.0-ce-b4

com.liferay.portal.kernel.notifications
Class NotificationEvent

java.lang.Object
  extended by com.liferay.portal.kernel.notifications.NotificationEvent
All Implemented Interfaces:
Serializable

public class NotificationEvent
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
NotificationEvent(long timestamp, String type, JSONObject payloadJSONObject)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getDeliverBy()
           
 int getDeliveryType()
           
 JSONObject getPayload()
           
 long getTimestamp()
           
 String getType()
           
 String getUuid()
           
 int hashCode()
           
 boolean isArchived()
           
 boolean isDeliveryRequired()
           
 void setArchived(boolean archived)
           
 void setDeliverBy(long deliverBy)
           
 void setDeliveryRequired(long deliverBy)
           
 void setDeliveryType(int deliveryType)
           
 void setTimestamp(long timestamp)
           
 void setUuid(String uuid)
           
 JSONObject toJSONObject()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationEvent

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

equals

public boolean equals(Object obj)
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()

Liferay 7.0-ce-b4