Liferay 6.0-ee-sp2

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()
           
 JSONObject getPayload()
           
 long getTimestamp()
           
 String getType()
           
 String getUuid()
           
 int hashCode()
           
 boolean isDeliveryRequired()
           
 void setDeliverBy(long deliverBy)
           
 void setDeliveryRequired(long deliverBy)
           
 void setTimestamp(long timestamp)
           
 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()

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

isDeliveryRequired

public boolean isDeliveryRequired()

setDeliverBy

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

setDeliveryRequired

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

setTimestamp

public void setTimestamp(long timestamp)

toJSONObject

public JSONObject toJSONObject()

Liferay 6.0-ee-sp2