|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NotificationMessageContentService
Notification Message Content service - handles parsing the notification XML message and also marshalling out BOs for the response.
Method Summary | |
---|---|
String |
generateNotificationMessage(Notification notification)
This method is responsible for marshalling out the passed in Notification object in and XML representation. |
String |
generateNotificationMessage(Notification 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(NotificationResponse response)
Generates a Notification response message |
Notification |
parseNotificationRequestMessage(InputStream stream)
Parses a Notification request message into business objects. |
Notification |
parseNotificationRequestMessage(String notificationMessageAsXml)
Parses a Notification request message into business objects. |
Notification |
parseSerializedNotificationXml(byte[] xmlAsBytes)
This method parses out the serialized XML version of Notification BO and populates a Notification BO with it. |
Method Detail |
---|
Notification parseNotificationRequestMessage(InputStream stream) throws IOException, XmlException
stream
- request message stream
SAXException
ParserConfigurationException
IOException
XmlException
Notification parseNotificationRequestMessage(String notificationMessageAsXml) throws IOException, XmlException
notificationMessageAsXml
-
IOException
XmlException
String generateNotificationResponseMessage(NotificationResponse response)
response
-
String generateNotificationMessage(Notification notification)
notification
-
String generateNotificationMessage(Notification notification, String userRecipientId)
notification
- userRecipientId
-
Notification parseSerializedNotificationXml(byte[] xmlAsBytes) throws Exception
xmlAsBytes
-
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |