public class NotificationMessageDeliveryServiceImpl extends Object implements NotificationMessageDeliveryService
| Constructor and Description | 
|---|
| NotificationMessageDeliveryServiceImpl(DataObjectService dataObjectService,
                                                                            NotificationMessegeDeliveryDao ntdDao)Constructs a NotificationServiceImpl class instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<NotificationMessageDelivery> | getNotificationMessageDeliveries()This method will return all NotificationMessageDelivery objects in the system 
 actual record. | 
| Collection<NotificationMessageDelivery> | getNotificationMessageDeliveries(NotificationBo notification,
                                                                String userRecipientId)This method will return all NotificationMessageDelievery objects generated for the given Notification for the given user | 
| NotificationMessageDelivery | getNotificationMessageDelivery(Long id)This is the default implementation that uses the businessObjectDao. | 
| 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 messagedeliveries, marking them as taken
 and returning them to the caller for processing. | 
| void | unlockMessageDelivery(NotificationMessageDelivery messageDelivery)Unlocks the specified messageDelivery object | 
public NotificationMessageDeliveryServiceImpl(DataObjectService dataObjectService, NotificationMessegeDeliveryDao ntdDao)
dataObjectService - ntdDao - public NotificationMessageDelivery getNotificationMessageDelivery(Long id)
getNotificationMessageDelivery in interface NotificationMessageDeliveryServiceid - public NotificationMessageDelivery getNotificationMessageDeliveryByDelivererId(String id)
NotificationMessageDeliveryServicegetNotificationMessageDeliveryByDelivererId in interface NotificationMessageDeliveryServiceid - the external deliverer system idNotificationMessageDeliveryService.getNotificationMessageDeliveryByDelivererId(java.lang.String)public Collection<NotificationMessageDelivery> getNotificationMessageDeliveries()
NotificationMessageDeliveryServicegetNotificationMessageDeliveries in interface NotificationMessageDeliveryServiceNotificationMessageDeliveryService.getNotificationMessageDeliveries()public Collection<NotificationMessageDelivery> getNotificationMessageDeliveries(NotificationBo notification, String userRecipientId)
NotificationMessageDeliveryServicegetNotificationMessageDeliveries in interface NotificationMessageDeliveryServicenotification - the notification which generated the message deliveriesuserRecipientId - the id of the user whose message deliveries to obtainorg.kuali.rice.ken.service.NotificationMessageDeliveryService#getNotificationMessageDeliveries(java.lang.Long, java.lang.String)public Collection<NotificationMessageDelivery> takeMessageDeliveriesForDispatch()
takeMessageDeliveriesForDispatch in interface NotificationMessageDeliveryServicepublic Collection<NotificationMessageDelivery> takeMessageDeliveriesForAutoRemoval()
takeMessageDeliveriesForAutoRemoval in interface NotificationMessageDeliveryServicepublic void unlockMessageDelivery(NotificationMessageDelivery messageDelivery)
unlockMessageDelivery in interface NotificationMessageDeliveryServicemessageDelivery - the message delivery to unlockCopyright © 2005–2016 The Kuali Foundation. All rights reserved.