|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationMessageDeliveryService
The NotificationMessageDeliveryService class is responsible various functions regarding the NotificationMessageDelivery records that exist within the system.
Method Summary | |
---|---|
Collection<NotificationMessageDelivery> |
getNotificationMessageDeliveries()
This method will return all NotificationMessageDelivery objects in the system actual record. |
Collection<NotificationMessageDelivery> |
getNotificationMessageDeliveries(Notification notification,
String userRecipientId)
This method will return all NotificationMessageDelievery objects generated for the given Notification for the given user |
NotificationMessageDelivery |
getNotificationMessageDelivery(Long id)
This method will retrieve a NotificationMessageDelivery object from the system, given the id of the actual record. |
NotificationMessageDelivery |
getNotificationMessageDeliveryByDelivererId(String id)
This method will retrieve a NotificationMessageDelivery object from the system, given the external deliverer system id registered with the NotificationMessageDelivery. |
Collection<NotificationMessageDelivery> |
takeMessageDeliveriesForAutoRemoval()
This method is responsible for atomically finding all untaken message deliveries that are ready to be autoremoved, marking them as taken and returning them to the caller for processing. |
Collection<NotificationMessageDelivery> |
takeMessageDeliveriesForDispatch()
This method is responsible for atomically finding all untaken, undelivered message deliveries, marking them as taken and returning them to the caller for processing. |
void |
unlockMessageDelivery(NotificationMessageDelivery messageDelivery)
Unlocks the specified messageDelivery object |
Method Detail |
---|
NotificationMessageDelivery getNotificationMessageDelivery(Long id)
id
-
NotificationMessageDelivery getNotificationMessageDeliveryByDelivererId(String id)
id
- the external deliverer system id
Collection<NotificationMessageDelivery> getNotificationMessageDeliveries()
Collection<NotificationMessageDelivery> getNotificationMessageDeliveries(Notification notification, String userRecipientId)
notification
- the notification which generated the message deliveriesuserRecipientId
- the id of the user whose message deliveries to obtain
Collection<NotificationMessageDelivery> takeMessageDeliveriesForDispatch()
Collection<NotificationMessageDelivery> takeMessageDeliveriesForAutoRemoval()
void unlockMessageDelivery(NotificationMessageDelivery messageDelivery)
messageDelivery
- the message delivery to unlock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |