| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ken.service.impl.NotificationServiceImpl
public class NotificationServiceImpl
NotificationService implementation - this is the default out-of-the-box implementation of the service.
| Constructor Summary | |
|---|---|
| NotificationServiceImpl(GenericDao businessObjectDao,
                                               NotificationMessageContentService messageContentService,
                                               NotificationAuthorizationService notificationAuthorizationService,
                                               NotificationRecipientService notificationRecipientService,
                                               NotificationWorkflowDocumentService notificationWorkflowDocumentService,
                                               NotificationMessageDeliveryService notificationMessageDeliveryService,
                                               NotificationDao notDao)Constructs a NotificationServiceImpl class instance. | |
| Method Summary | |
|---|---|
|  void | dismissNotificationMessageDelivery(Long id,
                                                                     String user,
                                                                     String cause)This method will "dismiss"/remove a NotificationMessageDelivery with the specified cause. | 
|  void | dismissNotificationMessageDelivery(NotificationMessageDelivery nmd,
                                                                     String user,
                                                                     String cause) | 
|  NotificationBo | getNotification(Long id)This is the default implementation that uses the businessObjectDao. | 
|  Collection | getNotificationsForRecipientByType(String contentTypeName,
                                                                     String recipientId)This is the default implementation that uses the businessObjectDao and its findMatching method. | 
|  NotificationResponseBo | sendNotification(NotificationBo notification)This method allows consumers to send notification messages. | 
|  NotificationResponseBo | sendNotification(String notificationMessageAsXml)This method is responsible for parsing out the notification message which is sent in as a String of XML. | 
|  Collection<NotificationBo> | takeNotificationsForResolution()This method is responsible for atomically finding all untaken, unresolved notifications that are ready to be sent, marking them as taken and returning them to the caller for processing. | 
|  void | unlockNotification(NotificationBo notification)Unlocks specified notification | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NotificationServiceImpl(GenericDao businessObjectDao,
                               NotificationMessageContentService messageContentService,
                               NotificationAuthorizationService notificationAuthorizationService,
                               NotificationRecipientService notificationRecipientService,
                               NotificationWorkflowDocumentService notificationWorkflowDocumentService,
                               NotificationMessageDeliveryService notificationMessageDeliveryService,
                               NotificationDao notDao)
businessObjectDao - messageContentService - notificationAuthorizationService - notificationRecipientService - notificationWorkflowDocumentService - notificationMessageDeliveryService - | Method Detail | 
|---|
public NotificationBo getNotification(Long id)
getNotification in interface NotificationServiceNotificationService.getNotification(java.lang.Long)
public NotificationResponseBo sendNotification(String notificationMessageAsXml)
                                        throws IOException,
                                               XmlException
sendNotification in interface NotificationServiceIOException
XmlExceptionNotificationService.sendNotification(java.lang.String)public NotificationResponseBo sendNotification(NotificationBo notification)
NotificationService
sendNotification in interface NotificationServiceNotificationService.sendNotification(org.kuali.rice.ken.bo.NotificationBo)
public Collection getNotificationsForRecipientByType(String contentTypeName,
                                                     String recipientId)
getNotificationsForRecipientByType in interface NotificationServicecontentTypeName - the name of the content typerecipientId - the recipient id
NotificationService.getNotificationsForRecipientByType(java.lang.String, java.lang.String)
public void dismissNotificationMessageDelivery(Long id,
                                               String user,
                                               String cause)
NotificationService
dismissNotificationMessageDelivery in interface NotificationServiceid - the id of the NotificationMessageDelivery that was acted uponuser - the user or entity that performed the dismissalcause - the cause of the dismissal (e.g. an end user action or auto-removal by the system)org.kuali.rice.ken.service.NotificationService#dismissNotificationMessageDelivery(java.lang.Long, java.lang.String)
public void dismissNotificationMessageDelivery(NotificationMessageDelivery nmd,
                                               String user,
                                               String cause)
org.kuali.rice.ken.service.NotificationService#dismissNotificationMessageDelivery(org.kuali.rice.ken.bo.NotificationMessageDelivery, java.lang.String, java.lang.String)public Collection<NotificationBo> takeNotificationsForResolution()
takeNotificationsForResolution in interface NotificationServicepublic void unlockNotification(NotificationBo notification)
unlockNotification in interface NotificationServicenotification - the notification object to unlock| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||