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

Class semper.BApp.FrmWrk.BAppCfgEntry

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

public class BAppCfgEntry
extends Object
implements BAppConfigEntry
This is the class of a SEMPER Business Application Configuration Entry. The Business Application configuration entries are used by the business applications to specify response reactions on a service. Example: For a specific semper request (say payment for a product on sale) the configuration entry encupsulates all the necessary information (URL, ..) for the user to receive the product after she/he has payed. This interface contains the EUROCOM Business Application Configuration Data.
Version:
$Revision: 1.3 $ $Date: 1996/07/22 17:24:24 $
Author:
Dimitrios Livas
See Also:
BusinessApp

Variable Index

 o currency
The currency of prices.
 o entryId
The ID of the entry; it is service provider defined.
 o failRespURL
The redirection URL of the user upon non-successful use.
 o prodDur
The duration of the product; if it is a service.
 o prodName
The name of a sevice provider product.
 o prodPrice
The price of the product.
 o prodXPrice
Extra price for extra time of use.
 o prodXtime
The extra time of use.
 o succRespURL
The redirection URL of the user upon successful use.

Constructor Index

 o BAppCfgEntry(String, String, String, String, String, String, String, String, String)
Constructor of the class.

Method Index

 o currency()
 o entryId()
 o failedRespURL()
 o getFailRespHTML()
Returns the HTML code to be send to the user upon failure.
 o getSuccRespHTML()
Returns the HTML code to be send to the user upon success.
 o prodDur()
 o prodName()
 o prodPrice()
 o prodXPrice()
 o prodXtime()
 o setFailRespURL(String)
Sets the URL to be used if the service has failed.
 o setSuccRespURL(String)
Sets the URL to be used if the service has succeded.
 o succRespURL()

Variables

 o entryId
  protected String entryId
The ID of the entry; it is service provider defined.
 o succRespURL
  protected String succRespURL
The redirection URL of the user upon successful use.
 o failRespURL
  protected String failRespURL
The redirection URL of the user upon non-successful use.
 o prodName
  protected String prodName
The name of a sevice provider product.
 o prodPrice
  protected String prodPrice
The price of the product.
 o prodDur
  protected String prodDur
The duration of the product; if it is a service.
 o prodXPrice
  protected String prodXPrice
Extra price for extra time of use.
 o prodXtime
  protected String prodXtime
The extra time of use.
 o currency
  protected String currency
The currency of prices.

Constructors

 o BAppCfgEntry
  public BAppCfgEntry(String entryId,
                      String succRespURL,
                      String failRespURL,
                      String prodName,
                      String prodPrice,
                      String prodDur,
                      String prodXPrice,
                      String prodXtime,
                      String currency)
Constructor of the class. Initializes the state of the object.
Parameters:
entryId - the ID of this entry, it is supposed to be unique
succRespURL - the URL to be used for the response to the user on success of a service request
failRespURL - the URL to be used for the response to the user on success of a service request
prodName - the name (Title) of a product
prodPrice - the price of a EUROCOM offered product
prodDur - the duration of the product
prodXPrice - the extra price of the product (per extra time)
prodXtime - the extra time for the extra time
currency - the currency of prices

Methods

 o entryId
  public String entryId()
 o succRespURL
  public String succRespURL()
 o failedRespURL
  public String failedRespURL()
 o prodName
  public String prodName()
 o prodPrice
  public String prodPrice()
 o prodDur
  public String prodDur()
 o prodXPrice
  public String prodXPrice()
 o prodXtime
  public String prodXtime()
 o currency
  public String currency()
 o setSuccRespURL
  public void setSuccRespURL(String succRespURL)
Sets the URL to be used if the service has succeded.
Parameters:
succRespURL - the URL to be used
 o setFailRespURL
  public void setFailRespURL(String failRespURL)
Sets the URL to be used if the service has failed.
Parameters:
failRespURL - the URL to be used
 o getSuccRespHTML
  public String getSuccRespHTML()
Returns the HTML code to be send to the user upon success.
Returns:
the HTML code to be send to the user upon success
 o getFailRespHTML
  public String getFailRespHTML()
Returns the HTML code to be send to the user upon failure.
Returns:
the HTML code to be send to the user upon failure

All Packages  Class Hierarchy  This Package  Previous  Next  Index