Table of Contents

Search

  1. Preface
  2. Part 1: Introduction
  3. Part 2: Samples and Examples
  4. Part 3: Tools and Utilities
  5. Part 4: SDK Resources

SiperianRequest Class

SiperianRequest Class

The
SiperianRequest
class is the base class for the all the SIF classes that represent request objects.
The
SiperianRequest
class includes methods that set the following information:
User Name and Password
User credentials to run the request. If the user does not have access permission to perform the operation, the SIF request fails.
ORS ID
ID of the ORS to which the request is directed. If you do not specify the ORS, the request is directed to the default ORS.
Interaction ID
Interaction ID to group multiple requests into a single interaction.
Asynchronous Options
Indicates whether to process the request asynchronously or synchronously. If the value of the
asynchronousOptions
parameter is null, SIF processes the request synchronously. If the value is not null, SIF processes the request synchronously or asynchronously according to the value that you set.
When you process a request asynchronously, SIF returns a dummy response with a message that the request is asynchronously processed. The actual response goes to the JMS queue that you specify. If you do not specify a queue, SIF discards the actual response.
The
SiperianRequest
class includes methods that get the following information:
Transaction Attribute Type
Specifies whether the request object can participate in the transactions. You can get any of the following transaction attribute types:
  • NOT_SUPPORTED if the request cannot participate in the transactions.
  • SUPPORTS if the request can participate in the transactions.
  • REQUIRED if the request requires a transaction.
  • REQUIRES_NEW if the request requires a new transaction.
Name of the Request
Name of the class of which the request object is an instance. For example, if x is an instance of the
AuditRequest
class,
x.getRequestName()
returns
AuditRequest
as the name of the request.

0 COMMENTS

We’d like to hear from you!