public class NotificationMessageDeliveryServiceImpl extends Object implements NotificationMessageDeliveryService
Constructor and Description |
---|
NotificationMessageDeliveryServiceImpl(GenericDao businessObjectDao,
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(GenericDao businessObjectDao, NotificationMessegeDeliveryDao ntdDao)
businessObjectDao
- public NotificationMessageDelivery getNotificationMessageDelivery(Long id)
getNotificationMessageDelivery
in interface NotificationMessageDeliveryService
id
- public NotificationMessageDelivery getNotificationMessageDeliveryByDelivererId(String id)
NotificationMessageDeliveryService
getNotificationMessageDeliveryByDelivererId
in interface NotificationMessageDeliveryService
id
- the external deliverer system idNotificationMessageDeliveryService.getNotificationMessageDeliveryByDelivererId(java.lang.String)
public Collection<NotificationMessageDelivery> getNotificationMessageDeliveries()
NotificationMessageDeliveryService
getNotificationMessageDeliveries
in interface NotificationMessageDeliveryService
NotificationMessageDeliveryService.getNotificationMessageDeliveries()
public Collection<NotificationMessageDelivery> getNotificationMessageDeliveries(NotificationBo notification, String userRecipientId)
NotificationMessageDeliveryService
getNotificationMessageDeliveries
in interface NotificationMessageDeliveryService
notification
- 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 NotificationMessageDeliveryService
public Collection<NotificationMessageDelivery> takeMessageDeliveriesForAutoRemoval()
takeMessageDeliveriesForAutoRemoval
in interface NotificationMessageDeliveryService
public void unlockMessageDelivery(NotificationMessageDelivery messageDelivery)
unlockMessageDelivery
in interface NotificationMessageDeliveryService
messageDelivery
- the message delivery to unlockCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.