public interface SubmitSubscriptionResponseBuilder
Modifier and Type | Method and Description |
---|---|
org.apache.xmlbeans.XmlObject |
buildErrorResponse(SubscriptionBean subscription,
SDMX_SCHEMA schemaVersion,
java.lang.Throwable th)
Returns an error response based on the submitted beans and exception
|
org.apache.xmlbeans.XmlObject |
buildSuccessResponse(java.util.Collection<SubscriptionBean> notifications,
SDMX_SCHEMA schemaVersion)
Builds a success response based on the submitted notifications
|
org.apache.xmlbeans.XmlObject buildErrorResponse(SubscriptionBean subscription, SDMX_SCHEMA schemaVersion, java.lang.Throwable th)
beans
- - the beans that were successfully submittedschemaVersion
- - the version of the schema to output the response inth
- - the errororg.apache.xmlbeans.XmlObject buildSuccessResponse(java.util.Collection<SubscriptionBean> notifications, SDMX_SCHEMA schemaVersion)
notifications
- - the notifications that were successfully submittedschemaVersion
- - the version of the schema to output the response in