public interface ITelesalesRequestHandler
A request handler contains communication specific code, that will generate a BOD (Business Object Document) to be sent to the WebSphere Commerce server. A request handler also knows how to map the response BOD to the model objects needed by the client layer.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.telesales.core.IErrorHandler | getErrorHandler()
Returns the error handler associated with a service request.
|
java.lang.Object | getRequest()
Constructs the request message.
|
ServiceContext | getServiceContext()
Constructs the service context for this service request.
|
TelesalesRequestStatus | handleError(TelesalesServicesException exception)
Handles the exception message.
|
TelesalesRequestStatus | handleResponse(java.lang.Object response)
Handles the response message.
|
void | init(TelesalesServiceRequest serviceRequest)
Initializes the request builder for the specified service request.
|
void | setErrorHandler(com.ibm.commerce.telesales.core.IErrorHandler errorHandler)
Set the error handler for a service request.
|
static final java.lang.String COPYRIGHT
void init(TelesalesServiceRequest serviceRequest)
java.lang.Object getRequest()
ServiceContext getServiceContext()
TelesalesRequestStatus handleResponse(java.lang.Object response)
TelesalesRequestStatus handleError(TelesalesServicesException exception)
com.ibm.commerce.telesales.core.IErrorHandler getErrorHandler()
void setErrorHandler(com.ibm.commerce.telesales.core.IErrorHandler errorHandler)