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 TypeMethodDescriptionboolean
long
int
long
getType()
getUuid()
int
hashCode()
boolean
boolean
void
setArchived
(boolean archived) void
setDeliverBy
(long deliverBy) void
setDeliveryRequired
(long deliverBy) void
setDeliveryType
(int deliveryType) void
setTimestamp
(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
-