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
-
AUTHENTICATE
- BA Request REQ_SRV Parameter Value that indicates Authentication.
-
commerceLayer
-
-
MEANS_OF_PAYMENT
- BA Request REQ_SRV Parameter Value that indicates Means of Payment.
-
OFFER
- BA Request REQ_SRV Parameter Value that indicates Offer.
-
PAY_COMPLETE
- BA Request REQ_SRV Parameter Value that indicates Payment.
-
PAY_CONT_START
- BA Request REQ_SRV Parameter Value that indicates the start of a
continues payment.
-
PAY_CONT_STOP
- BA Request REQ_SRV Parameter Value that indicates the end of a
continus payment.
-
req
- The current or last request processed by the BApp.
-
BApp(int, String)
- Contstructs a BApp object.
-
activate(BAReq)
- Activates the BApp object.
-
authenticate(BAReq)
- Authenticate the identity of the Business.
-
configEntryGet(String)
- gets product configuration entries in the configuration table.
-
deactivate(BAReq)
- Deactivates the BApp object.
-
getCL()
- Returns the CLServices object associated with the BApp object
-
getId()
- Returns the id of the Business Application.
-
getType()
- Returns the type of the Business Application.
-
id()
- Return the id of the Busness Application.
-
isActive()
- True is the Business Application is acctive else false.
-
meansOfPayment(BAReq)
- Displays the means of payment accepted by the BA.
-
name()
- Return the name of the Busness Application.
-
offer(BAReq)
- Performs an offer indicated in the request.
-
pay(BAReq)
- Performs a complete payment indicated in the request.
-
payContinueStart(BAReq)
- Performs the oppening of a continuous payment process as indicated in the request.
-
payContinueStop(BAReq)
- Performs the closing of a continuous payment process as indicated in the request.
-
request(BAReq)
- Performs a Business Application Request.
AUTHENTICATE
protected final static String AUTHENTICATE
- BA Request REQ_SRV Parameter Value that indicates Authentication.
MEANS_OF_PAYMENT
protected final static String MEANS_OF_PAYMENT
- BA Request REQ_SRV Parameter Value that indicates Means of Payment.
OFFER
protected final static String OFFER
- BA Request REQ_SRV Parameter Value that indicates Offer.
PAY_COMPLETE
protected final static String PAY_COMPLETE
- BA Request REQ_SRV Parameter Value that indicates Payment.
PAY_CONT_START
protected final static String PAY_CONT_START
- BA Request REQ_SRV Parameter Value that indicates the start of a
continues payment.
PAY_CONT_STOP
protected final static String PAY_CONT_STOP
- BA Request REQ_SRV Parameter Value that indicates the end of a
continus payment.
req
public BAReq req
- The current or last request processed by the BApp.
commerceLayer
protected CLServices commerceLayer
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
id
public Integer id()
- Return the id of the Busness Application.
name
public String name()
- Return the name of the Busness Application.
configEntryGet
protected abstract BAppCfgEntry configEntryGet(String entryId) throws BAExcept
- gets product configuration entries in the configuration table.
- See Also:
- BAppConfigEntry
isActive
public boolean isActive()
- True is the Business Application is acctive else false.
getType
public String getType()
- Returns the type of the Business Application.
getId
public String getId()
- Returns the id of the Business Application.
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
getCL
public CLServices getCL()
- Returns the CLServices object associated with the BApp object
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
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
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
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
offer
protected void offer(BAReq request)
- Performs an offer indicated in the request.
- See Also:
- BusinessApp
pay
protected String pay(BAReq request) throws BAExcept
- Performs a complete payment indicated in the request.
- See Also:
- BusinessApp
payContinueStart
protected String payContinueStart(BAReq request) throws BAExcept
- Performs the oppening of a continuous payment process as indicated in the request.
- See Also:
- BusinessApp
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