com.liferay.portal.kernel.notifications
Class NotificationEvent
java.lang.Object
com.liferay.portal.kernel.notifications.NotificationEvent
- All Implemented Interfaces:
- Serializable
public class NotificationEvent
- extends Object
- implements Serializable
- See Also:
- Serialized Form
NotificationEvent
public NotificationEvent(long timestamp,
String type,
JSONObject payloadJSONObject)
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()