| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ken.service.impl.NotificationMessageDeliveryServiceImpl
public class NotificationMessageDeliveryServiceImpl
NotificationService implementation - this is the default out-of-the-box implementation of the service that uses the businessObjectDao to get at the data via our OOTB DBMS.
| Constructor Summary | |
|---|---|
| NotificationMessageDeliveryServiceImpl(GenericDao businessObjectDao,
                                                                             NotificationMessegeDeliveryDao ntdDao)Constructs a NotificationServiceImpl class instance. | |
| 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 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 | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NotificationMessageDeliveryServiceImpl(GenericDao businessObjectDao,
                                              NotificationMessegeDeliveryDao ntdDao)
businessObjectDao - | Method Detail | 
|---|
public NotificationMessageDelivery getNotificationMessageDelivery(Long id)
getNotificationMessageDelivery in interface NotificationMessageDeliveryServiceid - 
public NotificationMessageDelivery getNotificationMessageDeliveryByDelivererId(String id)
NotificationMessageDeliveryService
getNotificationMessageDeliveryByDelivererId in interface NotificationMessageDeliveryServiceid - the external deliverer system id
NotificationMessageDeliveryService.getNotificationMessageDeliveryByDelivererId(java.lang.String)public Collection<NotificationMessageDelivery> getNotificationMessageDeliveries()
NotificationMessageDeliveryService
getNotificationMessageDeliveries in interface NotificationMessageDeliveryServiceNotificationMessageDeliveryService.getNotificationMessageDeliveries()
public Collection<NotificationMessageDelivery> getNotificationMessageDeliveries(Notification notification,
                                                                                String userRecipientId)
NotificationMessageDeliveryService
getNotificationMessageDeliveries in interface NotificationMessageDeliveryServicenotification - the notification which generated the message deliveriesuserRecipientId - the id of the user whose message deliveries to obtain
org.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 unlock| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||