public interface NotificationMessageContentService
Modifier and Type | Method and Description |
---|---|
String |
generateNotificationMessage(NotificationBo notification)
This method is responsible for marshalling out the passed in Notification object in and XML representation.
|
String |
generateNotificationMessage(NotificationBo notification,
String userRecipientId)
This method is responsible for marshalling out the passed in Notification object in and XML representation, with
the addition of adding the specific recipient to the recipients list and removing the others.
|
String |
generateNotificationResponseMessage(NotificationResponseBo response)
Generates a Notification response message
|
NotificationBo |
parseNotificationRequestMessage(InputStream stream)
Parses a Notification request message into business objects.
|
NotificationBo |
parseNotificationRequestMessage(String notificationMessageAsXml)
Parses a Notification request message into business objects.
|
NotificationBo |
parseSerializedNotificationXml(byte[] xmlAsBytes)
This method parses out the serialized XML version of Notification BO and populates a Notification BO with it.
|
NotificationBo parseNotificationRequestMessage(InputStream stream) throws IOException, XmlException
stream
- request message streamSAXException
ParserConfigurationException
IOException
XmlException
NotificationBo parseNotificationRequestMessage(String notificationMessageAsXml) throws IOException, XmlException
notificationMessageAsXml
- IOException
XmlException
String generateNotificationResponseMessage(NotificationResponseBo response)
response
- String generateNotificationMessage(NotificationBo notification)
notification
- String generateNotificationMessage(NotificationBo notification, String userRecipientId)
notification
- userRecipientId
- NotificationBo parseSerializedNotificationXml(byte[] xmlAsBytes) throws Exception
xmlAsBytes
- Exception
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.