Class Notification
java.lang.Object
com.polarion.platform.persistence.notifications.Notification
- Author:
- dobisekm
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the id refering to object to which this nofification relates to.int
Returns this notification's priority.
-
Field Details
-
P_DEFAULT
public static final int P_DEFAULT- See Also:
-
P_HIGHEST
public static final int P_HIGHEST- See Also:
-
-
Constructor Details
-
Notification
-
-
Method Details
-
getId
Returns the id refering to object to which this nofification relates to. For IDataObjects, it will be typically SubterraUri.toString() The Id+priority is used to choose the best announcement for particular event (which could trigger creation of multiple notifications).- Returns:
- the id of this notification
-
getPriority
public int getPriority()Returns this notification's priority. The notification with highest priority is chosen for every id.- Returns:
- this notification's priority.
-
getAnnouncement
-