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.5 $ $Date: 1996/11/25 14:54:08 $
- Author:
- Dimitrios Livas
- See Also:
- BusinessApp
-
currency
- The currency of prices.
-
entryId
- The ID of the entry; it is service provider defined.
-
failRespURL
- The redirection URL of the user upon non-successful use.
-
prodDur
- The duration of the product; if it is a service.
-
prodName
- The name of a sevice provider product.
-
prodPrice
- The price of the product.
-
prodXPrice
- Extra price for extra time of use.
-
prodXtime
- The extra time of use.
-
succRespURL
- The redirection URL of the user upon successful use.
-
BAppCfgEntry(String, String, String, String, String, String, String, String, String)
- Constructor of the class.
-
currency()
-
-
entryId()
-
-
failedRespURL()
-
-
getFailRespHTML()
- Returns the HTML code to be send to the user upon failure.
-
getSuccRespHTML()
- Returns the HTML code to be send to the user upon success.
-
prodDur()
-
-
prodName()
-
-
prodPrice()
-
-
prodXPrice()
-
-
prodXtime()
-
-
setFailRespURL(String)
- Sets the URL to be used if the service has failed.
-
setSuccRespURL(String)
- Sets the URL to be used if the service has succeded.
-
succRespURL()
-
entryId
protected String entryId
- The ID of the entry; it is service provider defined.
succRespURL
protected String succRespURL
- The redirection URL of the user upon successful use.
failRespURL
protected String failRespURL
- The redirection URL of the user upon non-successful use.
prodName
protected String prodName
- The name of a sevice provider product.
prodPrice
protected String prodPrice
- The price of the product.
prodDur
protected String prodDur
- The duration of the product; if it is a service.
prodXPrice
protected String prodXPrice
- Extra price for extra time of use.
prodXtime
protected String prodXtime
- The extra time of use.
currency
protected String currency
- The currency of prices.
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
entryId
public String entryId()
succRespURL
public String succRespURL()
failedRespURL
public String failedRespURL()
prodName
public String prodName()
prodPrice
public String prodPrice()
prodDur
public String prodDur()
prodXPrice
public String prodXPrice()
prodXtime
public String prodXtime()
currency
public String currency()
setSuccRespURL
public void setSuccRespURL(String succRespURL)
- Sets the URL to be used if the service has succeded.
- Parameters:
- succRespURL - the URL to be used
setFailRespURL
public void setFailRespURL(String failRespURL)
- Sets the URL to be used if the service has failed.
- Parameters:
- failRespURL - the URL to be used
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
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