|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(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 |
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 NotificationMessageDeliveryService
id
-
public NotificationMessageDelivery getNotificationMessageDeliveryByDelivererId(String id)
NotificationMessageDeliveryService
getNotificationMessageDeliveryByDelivererId
in interface NotificationMessageDeliveryService
id
- the external deliverer system id
NotificationMessageDeliveryService.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 obtain
org.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 unlock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |