Class NotificationEvent
Object
com.liferay.portal.kernel.notifications.NotificationEvent
- All Implemented Interfaces:
Serializable
- Author:
- Edward Han
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationEvent(long timestamp, String type, JSONObject payloadJSONObject) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongintlonggetType()getUuid()inthashCode()booleanbooleanvoidsetArchived(boolean archived) voidsetDeliverBy(long deliverBy) voidsetDeliveryRequired(long deliverBy) voidsetDeliveryType(int deliveryType) voidsetTimestamp(long timestamp) void
-
Constructor Details
-
NotificationEvent
-
-
Method Details
-
equals
-
getDeliverBy
public long getDeliverBy() -
getDeliveryType
public int getDeliveryType() -
getPayload
-
getTimestamp
public long getTimestamp() -
getType
-
getUuid
-
hashCode
public int hashCode() -
isArchived
public boolean isArchived() -
isDeliveryRequired
public boolean isDeliveryRequired() -
setArchived
public void setArchived(boolean archived) -
setDeliverBy
- Throws:
IllegalArgumentException
-
setDeliveryRequired
- Throws:
IllegalArgumentException
-
setDeliveryType
public void setDeliveryType(int deliveryType) -
setTimestamp
public void setTimestamp(long timestamp) -
setUuid
-
toJSONObject
-