public interface ITelesalesResponseBuilder
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASS_NAME
Class name.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | buildResponse()
Constructs the entire response Business Object Document which is returned to the IBM Sales Center client.
|
ITelesalesResponseCacheableCommand | getCacheableCommand()
Returns a cacheable command that can be used to cache the results of this response builder.
|
void | init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
This method is used to initialize the necessary parameters before starting to build the response Business Object Document.
|
ECException | mapException(ECException exception)
Map the exception to one that is appropriate for the IBM Sales Center client.
|
static final java.lang.String CLASS_NAME
static final java.lang.String COPYRIGHT
void init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
ITelesalesResponseCacheableCommand getCacheableCommand() throws ECException
java.lang.String buildResponse() throws ECException
The response document is a BOD in the following format:
<BOD> <ApplicationArea>.. </ApplicationArea> <DataArea>.. </DataArea> </BOD>
ECException mapException(ECException exception)