public class NotificationMessageContentServiceImpl extends Object implements NotificationMessageContentService
NotificationMessageContentService| Constructor and Description | 
|---|
| NotificationMessageContentServiceImpl(GenericDao boDao,
                                                                          NotificationContentTypeService notificationContentTypeService)Constructor which takes a GenericDao
 Constructs a NotificationMessageContentServiceImpl.java. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | generateNotificationMessage(NotificationBo notification)This method will marshall out the Notification object as a String of XML, using XStream. | 
| String | generateNotificationMessage(NotificationBo notification,
                                                      String userRecipientId)This method will marshall out the Notification object as a String of XML, using XStream and replaces the
 full recipient list with just a single recipient. | 
| String | generateNotificationResponseMessage(NotificationResponseBo response)This method will marshall out the NotificationResponse object as a String of XML, using XStream. | 
| NotificationBo | parseNotificationRequestMessage(InputStream stream)This method implements by taking in an InputStream and then coverting that to a byte[]. | 
| NotificationBo | parseNotificationRequestMessage(String notificationMessageAsXml)This method implements by taking in a String and then converting that to a byte[]; | 
| NotificationBo | parseSerializedNotificationXml(byte[] xmlAsBytes)Uses XPath to parse out the serialized Notification xml into a Notification instance. | 
public NotificationMessageContentServiceImpl(GenericDao boDao, NotificationContentTypeService notificationContentTypeService)
boDao - public NotificationBo parseNotificationRequestMessage(String notificationMessageAsXml) throws IOException, XmlException
parseNotificationRequestMessage in interface NotificationMessageContentServiceIOExceptionXmlExceptionNotificationMessageContentService.parseNotificationRequestMessage(java.lang.String)public NotificationBo parseNotificationRequestMessage(InputStream stream) throws IOException, XmlException
parseNotificationRequestMessage in interface NotificationMessageContentServicestream - request message streamIOExceptionXmlExceptionNotificationMessageContentService.parseNotificationRequestMessage(java.io.InputStream)public String generateNotificationResponseMessage(NotificationResponseBo response)
generateNotificationResponseMessage in interface NotificationMessageContentServiceNotificationMessageContentService.generateNotificationResponseMessage(org.kuali.rice.ken.bo.NotificationResponseBo)public String generateNotificationMessage(NotificationBo notification, String userRecipientId)
generateNotificationMessage in interface NotificationMessageContentServiceNotificationMessageContentService.generateNotificationMessage(org.kuali.rice.ken.bo.NotificationBo, java.lang.String)public String generateNotificationMessage(NotificationBo notification)
generateNotificationMessage in interface NotificationMessageContentServiceNotificationMessageContentService.generateNotificationMessage(org.kuali.rice.ken.bo.NotificationBo)public NotificationBo parseSerializedNotificationXml(byte[] xmlAsBytes) throws Exception
parseSerializedNotificationXml in interface NotificationMessageContentServiceExceptionorg.kuali.rice.ken.service.NotificationMessageContentService#parseNotificationXml(byte[])Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.