Class semper.BApp.FrmWrk.BAReq
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.BApp.FrmWrk.BAReq

java.lang.Object
   |
   +----semper.BApp.FrmWrk.BAReq

public class BAReq
extends Object
This class defines the business application request. It encupsulates the request id as well as the associated parameters.
Version:
$Revision: 1.5 $ $Date: 1996/08/22 08:13:47 $
Author:
Dimitrios Livas
See Also:
BusinessApp

Variable Index

 o companyId
Company to which the request is directed.
 o COMPANYID
The identifier of the name of ID of the BA session for which the request is directed; The value of this id is the class name of the specific service provider Business Application class (example: BAppEurocom, BAppFogra, BAppOtto).
 o SRV_REQ
The identifier of the name of the ID of the service; the values associated with this ID is Business Application specific.
 o srvReq
The service requelst.

Constructor Index

 o BAReq()
Object Constructor.
 o BAReq(String, String)
Object Constructor.
 o BAReq(String, String, CLConnection)
Object Constructor.

Method Index

 o addParam(String, String)
Add a parameter.
 o companyId()
 o cookieParseInit(String)
Parameter adding from a cookie string.
 o elements()
 o getCL()
 o getId()
Returns the Id of the request object.
 o getParam(String)
Returns the value of a parameter.
 o keys()
 o setCL(CLConnection)
Sets the commerce layer object of the request
 o srvReq()
 o tokenParseInit(String)
Object Initializer.

Variables

 o COMPANYID
  public final static String COMPANYID
The identifier of the name of ID of the BA session for which the request is directed; The value of this id is the class name of the specific service provider Business Application class (example: BAppEurocom, BAppFogra, BAppOtto).
 o SRV_REQ
  public final static String SRV_REQ
The identifier of the name of the ID of the service; the values associated with this ID is Business Application specific.
 o srvReq
  public String srvReq
The service requelst.
 o companyId
  public String companyId
Company to which the request is directed.

Constructors

 o BAReq
  public BAReq()
Object Constructor. Creates a new non identified BAReq object.
See Also:
BusinessApp
 o BAReq
  public BAReq(String params,
               String cookies)
Object Constructor. Creates a new BAReq object. The parameter specifies the ID of this request.
Parameters:
params - the HTTP request line
cookies - the HTTP client browser cookies
See Also:
BusinessApp
 o BAReq
  public BAReq(String params,
               String cookies,
               CLConnection clObj)
Object Constructor. Creates a new BAReq object. The parameter specifies the ID of this request.
Parameters:
params - the HTTP request line
cookies - the HTTP client browser cookies
clObj - the commerce layer object for communication with the Server/Client BA
See Also:
BusinessApp

Methods

 o srvReq
  public String srvReq()
 o companyId
  public String companyId()
 o getCL
  public CLConnection getCL()
 o tokenParseInit
  public void tokenParseInit(String line)
Object Initializer. Initializes a BAReq object. The parameter specifies the ID of this request as well as the parameters. The format of the parameter string is
	&=&...&=
		Example:
			for the request
				COMPANYID=BAppEurocom&SRV_REQ=AUTHENTICATE
			the service request is AUTHENTICATE
			there are two parameters available 
			the service request is AUTHENTICATE
			the company id is EUROCOM
Parameters:
line - the string that specifies the request ID and the params
See Also:
BusinessApp
 o cookieParseInit
  public void cookieParseInit(String line)
Parameter adding from a cookie string.
Parameters:
line - the string containing cookies name=value pairs
 o addParam
  public void addParam(String name,
                       String value)
Add a parameter. Adds a parameter into the request obeject.
Parameters:
name - the name of the parameter
value - the value of the parameter
See Also:
BusinessApp
 o getParam
  public String getParam(String name)
Returns the value of a parameter. Returns the value associated with a specific parameter of the request obeject.
Parameters:
name - the name of the parameter
Returns:
the value of the parameter
See Also:
BusinessApp
 o elements
  public Enumeration elements()
 o keys
  public Enumeration keys()
 o getId
  public String getId()
Returns the Id of the request object.
Returns:
the Id of the request object
See Also:
BusinessApp
 o setCL
  public void setCL(CLConnection clObj)
Sets the commerce layer object of the request
Parameters:
clObj - the commerce layer to be set to the request

All Packages  Class Hierarchy  This Package  Previous  Next  Index