public class TelesalesServiceRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
TelesalesServiceRequest(java.lang.String id)
TelesalesServiceRequest constructor.
|
TelesalesServiceRequest(java.lang.String id, TelesalesProperties parms)
TelesalesServiceRequest constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getId()
Returns the service request ID.
|
java.lang.Object | getParameter(java.lang.Object key)
Returns the parameter value for the given key.
|
TelesalesProperties | getParameters()
Returns the TelesalesProperties datatype used to store the parameters for this service request.
|
java.lang.String | getServiceRequestContext()
Returns the unique service request context for this event.
|
boolean | interrupt()
Returns whether to interrupt the given service request.
|
void | setInterrupt(boolean isInterrupted)
Sets whether to interrupt the given service request.
|
java.lang.Object | setParameter(java.lang.Object key, java.lang.Object value)
Sets the parameter name-value pair.
|
void | setServiceRequestContext(java.lang.String context)
Sets the unique service request context for this service request.
|
public static final java.lang.String COPYRIGHT
public TelesalesServiceRequest(java.lang.String id)
public TelesalesServiceRequest(java.lang.String id, TelesalesProperties parms)
public java.lang.String getServiceRequestContext()
Use this method to match a request with its response.
public java.lang.String getId()
public boolean interrupt()
public java.lang.Object getParameter(java.lang.Object key)
public TelesalesProperties getParameters()
public void setServiceRequestContext(java.lang.String context)
Used to match a request with its response.
public void setInterrupt(boolean isInterrupted)
public java.lang.Object setParameter(java.lang.Object key, java.lang.Object value)