Liferay 6.2-ce-ga5

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 isArchived()
           
 boolean isDeliveryRequired()
           
 void setArchived(boolean archived)
           
 void setDeliverBy(long deliverBy)
           
 void setDeliveryRequired(long deliverBy)
           
 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()

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

setTimestamp

public void setTimestamp(long timestamp)

setUuid

public void setUuid(String uuid)

toJSONObject

public JSONObject toJSONObject()

Liferay 6.2-ce-ga5