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

Class semper.BApp.FrmWrkClnt.BApp

java.lang.Object
   |
   +----semper.BApp.FrmWrkClnt.BApp

public class BApp
extends Object
implements BusinessApp
This class defines the abstract Business Application for SEMPER. Specifies the basic methods that can be overwritten or extended by BA of specific companies.
Version:
$Revision: 1.1 $ $Date: 1996/07/22 17:30:20 $
Author:
Dimitrios Livas
See Also:
BusinessApp

Variable Index

 o AUTHENTICATE
BA Request REQ_SRV Parameter Value that indicates Authentication.
 o commerceLayer
 o MEANS_OF_PAYMENT
BA Request REQ_SRV Parameter Value that indicates Means of Payment.
 o OFFER
BA Request REQ_SRV Parameter Value that indicates Offer.
 o PAY_COMPLETE
BA Request REQ_SRV Parameter Value that indicates Payment.
 o PAY_CONT_START
BA Request REQ_SRV Parameter Value that indicates the start of a continues payment.
 o PAY_CONT_STOP
BA Request REQ_SRV Parameter Value that indicates the end of a continus payment.
 o req
The current or last request processed by the BApp.

Constructor Index

 o BApp(int, String)
Contstructs a BApp object.

Method Index

 o activate(BAReq)
Activates the BApp object.
 o authenticate(BAReq)
Authenticate the identity of the Business.
 o configEntryGet(String)
gets product configuration entries in the configuration table.
 o deactivate(BAReq)
Deactivates the BApp object.
 o getCL()
Returns the CLServices object associated with the BApp object
 o getId()
Returns the id of the Business Application.
 o getType()
Returns the type of the Business Application.
 o id()
Return the id of the Busness Application.
 o isActive()
True is the Business Application is acctive else false.
 o meansOfPayment(BAReq)
Displays the means of payment accepted by the BA.
 o name()
Return the name of the Busness Application.
 o offer(BAReq)
Performs an offer indicated in the request.
 o pay(BAReq)
Performs a complete payment indicated in the request.
 o payContinueStart(BAReq)
Performs the oppening of a continuous payment process as indicated in the request.
 o payContinueStop(BAReq)
Performs the closing of a continuous payment process as indicated in the request.
 o request(BAReq)
Performs a Business Application Request.

Variables

 o AUTHENTICATE
  protected final static String AUTHENTICATE
BA Request REQ_SRV Parameter Value that indicates Authentication.
 o MEANS_OF_PAYMENT
  protected final static String MEANS_OF_PAYMENT
BA Request REQ_SRV Parameter Value that indicates Means of Payment.
 o OFFER
  protected final static String OFFER
BA Request REQ_SRV Parameter Value that indicates Offer.
 o PAY_COMPLETE
  protected final static String PAY_COMPLETE
BA Request REQ_SRV Parameter Value that indicates Payment.
 o PAY_CONT_START
  protected final static String PAY_CONT_START
BA Request REQ_SRV Parameter Value that indicates the start of a continues payment.
 o PAY_CONT_STOP
  protected final static String PAY_CONT_STOP
BA Request REQ_SRV Parameter Value that indicates the end of a continus payment.
 o req
  public BAReq req
The current or last request processed by the BApp.
 o commerceLayer
  protected CLServices commerceLayer

Constructors

 o BApp
  public BApp(int id,
              String name)
Contstructs a BApp object.
Parameters:
id - the id of the BA (Session Id); unique in the type domain; the type with the id form a unique ID of the Business Application
name - a refference name for the Business Application e.g. EUROCOM EXPERTISE S.A. or FOGRA Inc or OTTO VERSAND Inc
See Also:
BusinessApp

Methods

 o id
  public Integer id()
Return the id of the Busness Application.
 o name
  public String name()
Return the name of the Busness Application.
 o configEntryGet
  protected abstract BAppCfgEntry configEntryGet(String entryId) throws BAExcept
gets product configuration entries in the configuration table.
See Also:
BAppConfigEntry
 o isActive
  public boolean isActive()
True is the Business Application is acctive else false.
 o getType
  public String getType()
Returns the type of the Business Application.
 o getId
  public String getId()
Returns the id of the Business Application.
 o request
  public String request(BAReq req) throws BAExcept
Performs a Business Application Request. Dispatches the Business Application request invoked on a specific Business Application.
Parameters:
req - the Business Application Request to be served
 o getCL
  public CLServices getCL()
Returns the CLServices object associated with the BApp object
 o activate
  protected abstract String activate(BAReq request)
Activates the BApp object. Used as the first request of a new BApp object. It causes the creation of a new BApp object by the system.
Parameters:
request - the activation parameter list
Returns:
s the HTML code that indicates start of session
 o deactivate
  protected abstract String deactivate(BAReq request)
Deactivates the BApp object. Removes the BApp from the BAppSessionManager.
Parameters:
request - the deactivation parameter list
Returns:
s the HTML code that indicates start of session
 o authenticate
  protected void authenticate(BAReq request) throws BAExcept
Authenticate the identity of the Business. Implementation of the business application authentication; This method can be overwitten or extended by sub-classes, that implement Business Applications of specific companies.
See Also:
BusinessApp
 o meansOfPayment
  protected void meansOfPayment(BAReq request) throws BAExcept
Displays the means of payment accepted by the BA. Implementation of the business application meansOfPayment service; This method can be overwitten or extended by sub-classes, that implement Business Applications of specific companies.
See Also:
BusinessApp
 o offer
  protected void offer(BAReq request)
Performs an offer indicated in the request.
See Also:
BusinessApp
 o pay
  protected String pay(BAReq request) throws BAExcept
Performs a complete payment indicated in the request.
See Also:
BusinessApp
 o payContinueStart
  protected String payContinueStart(BAReq request) throws BAExcept
Performs the oppening of a continuous payment process as indicated in the request.
See Also:
BusinessApp
 o payContinueStop
  protected void payContinueStop(BAReq request)
Performs the closing of a continuous payment process as indicated in the request.
See Also:
BusinessApp

All Packages  Class Hierarchy  This Package  Previous  Next  Index