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

Class semper.BApp.BusinessClnt.BAppOtto

semper.BApp.BusinessClnt.BAppOtto

public class BAppOtto
implements BusinessApp
This class defines the behavior of the Otto Business Application. This class implements the methods required to perform payments, authentication, ect.
Version:
$Revision: 1.5 $ $Date: 1996/08/19 17:55:48 $
Author:
Dimitrios Livas
See Also:
BusinessApp

Variable Index

 o ORDER
Extends Request Strings of abstract BApp class.
 o orderlist
Holds a Orderlist and customer information.

Constructor Index

 o BAppOtto()
Contstructs a BApp object for Otto.
 o BAppOtto(int, int)

Method Index

 o activate(BAReq)
Activates the BApp object.
 o authenticate(BAReq)
Authenticate the identity of Otto.
 o configEntryGet(String)
gets product configuration entries in the configuration table.
 o deactivate(BAReq)
Deactivates the BApp object.
 o getCL()
Implements the method of the interface BusinessApp.
 o getType()
Returns the type of the Business Application.
 o meansOfPayment(BAReq)
Display the accepted means of payment of Otto.
 o order(BAReq)

This function is an extension to the ones in the super class BApp like authenticate(BAReq) and others.
 o pay(BAReq)
Perform a complete payment for Otto.
 o payContinueStart(BAReq)
Start a continuous payment for Otto.
 o payContinueStop(BAReq)
Stop a continuous payment for Otto.
 o request(BAReq)
Performs a Business Application Request.

Variables

 o ORDER
  protected final static String ORDER
Extends Request Strings of abstract BApp class.
See Also:
BApp
 o orderlist
  protected OTTOrderList orderlist
Holds a Orderlist and customer information.
See Also:
OTTOrderList

Constructors

 o BAppOtto
  public BAppOtto()
Contstructs a BApp object for Otto.
See Also:
BApp
 o BAppOtto
  public BAppOtto(int x,
                  int y)

Methods

 o getCL
  public CLConnection getCL()
Implements the method of the interface BusinessApp.
See Also:
BusinessApp
 o configEntryGet
  public BAppCfgEntry configEntryGet(String entryId)
gets product configuration entries in the configuration table.
See Also:
BAppConfigEntry
 o getType
  public String getType()
Returns the type of the Business Application.
 o activate
  protected 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 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 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 authenticate
  protected void authenticate(BAReq request)
Authenticate the identity of Otto. Implementation of the business application authentication; Currently it just invokes the parent implementation.
Parameters:
request - the authentication parameter list
See Also:
BusinessApp
 o meansOfPayment
  protected void meansOfPayment(BAReq request)
Display the accepted means of payment of Otto. Implementation of the business application meansOfPayment; Currently it just invokes the parent implementation.
Parameters:
request - the authentication parameter list
See Also:
BusinessApp
 o pay
  protected String pay(BAReq request)
Perform a complete payment for Otto. Implementation of the business application pay; Currently it just invokes the parent implementation.
Parameters:
request - the authentication parameter list
See Also:
BusinessApp
 o payContinueStart
  protected String payContinueStart(BAReq request)
Start a continuous payment for Otto. Implementation of the business application payContinueStart; Currently it just invokes the parent implementation.
Parameters:
request - the authentication parameter list
See Also:
BusinessApp
 o payContinueStop
  protected void payContinueStop(BAReq request)
Stop a continuous payment for Otto. Implementation of the business application payContinueStop; Currently it just invokes the parent implementation.
Parameters:
request - the authentication parameter list
See Also:
BusinessApp
 o order
  protected void order(BAReq request) throws BAExcept

This function is an extension to the ones in the super class BApp like authenticate(BAReq) and others. It currently requests an offer from the server side and after receiving this sends an order if the user agrees.
Parameters:
request - the order parameter list
See Also:
BApp, OTTOrderList

All Packages  Class Hierarchy  This Package  Previous  Next  Index