All Packages Class Hierarchy This Package Previous Next Index
Class semper.dealbrowser.DealBrowserApp
java.lang.Object
|
+----semper.dealbrowser.DealBrowserApp
- public class DealBrowserApp
- extends Object
- implements MenuLaunchable
This class provides all the services for the Deal Browser interface.
This includes :
browsing the available deals in the archive.
browsing the available transactions for a chosen deal.
browsing the available sub-transactions for a transaction.
and also :
importing a deal from a file.
exporting a chosen deal to a file.
browsing the NR-Token information for a chosen transaction.
- Version:
- 1.1 : deal browser with dispute handling capability
- Author:
- Christian Navarro
-
DealBrowserApp()
-
-
DeleteCurrentDeal(TinguinSession, SuspendedDeal)
-
Delete the current Deal
Ensure that the deal is to be deleted.
-
ExportToFile(TinguinSession, SuspendedDeal)
-
Export the current deal to a specified File (*.xid).
-
ImportFromFile(TinguinSession)
-
Import a deal from a specified File.
-
init()
-
Initialise the DealBrowser.
-
launch()
-
Implements the MenuLaunchable interface.
-
SelectDeal(TinguinSession)
-
Select a deal window.
-
SelectTransaction(TinguinSession, SuspendedDeal)
-
Select a transaction window.
-
view_NR_DATA(TinguinSession, Transaction, SuspendedDeal)
-
Show detailed information about the Non Repudiation Data.
-
viewDealInformation(TinguinSession, int)
-
Show detailed information about the selected deal.
-
viewTransactionInformation(TinguinSession, int, Vector, SuspendedDeal)
-
Show detailed information about the selected transaction.
DealBrowserApp
public DealBrowserApp()
init
public static void init()
- Initialise the DealBrowser.
Register the DealBrowser option in the Tinguin Application menu.
- Throws: exception
- if DealBrowserAppl couldn't initialise
launch
public void launch()
- Implements the MenuLaunchable interface.
Ask for a new Tinguin session.
Launch SelectDeal method.
End Tinguin session when finished.
SelectDeal
public void SelectDeal(TinguinSession display)
- Select a deal window.
Check the number of deals stored in the archive.
Launch the appropriate next tinguin screen.
- Parameters:
- display - is the session created for the deal browser
viewDealInformation
public void viewDealInformation(TinguinSession display,
int target)
- Show detailed information about the selected deal.
Allow to visualise the deal description.
Allow to execute the valid actions for the current deal.
- Parameters:
- display - is the session created for the deal browser
- target - identifies the deal that the user has selected
SelectTransaction
public void SelectTransaction(TinguinSession display,
SuspendedDeal d)
- Select a transaction window.
Check the number of transactions available for the current deal.
Launch the appropriate next tinguin screen.
- Parameters:
- display - is the session created for the deal browser
- d - is the deal which transactions are listed in that method
viewTransactionInformation
public void viewTransactionInformation(TinguinSession display,
int target,
Vector currentList,
SuspendedDeal d)
- Show detailed information about the selected transaction.
Allow to visualise the transaction description.
Allow to execute the valid actions for the current transaction
- Parameters:
- display - is the session created for the deal browser
- target - identifies the transaction that the user has selected
- d - is the deal which transaction is displayed with that method
view_NR_DATA
public void view_NR_DATA(TinguinSession display,
Transaction t,
SuspendedDeal d)
- Show detailed information about the Non Repudiation Data.
Allow to verify signatures.
- Parameters:
- display - is the session created for the deal browser
- target - identifies the current transaction
- d - is the deal which transaction is displayed with that method
ImportFromFile
public void ImportFromFile(TinguinSession display)
- Import a deal from a specified File.
Get the file name.
Proceed to the deal importation.
- Parameters:
- display - is the session created for the deal browser
ExportToFile
public void ExportToFile(TinguinSession display,
SuspendedDeal d)
- Export the current deal to a specified File (*.xid).
Get the file name.
Proceed to the deal exportation.
- Parameters:
- display - is the session created for the deal browser
- d - is the deal to export
DeleteCurrentDeal
public void DeleteCurrentDeal(TinguinSession display,
SuspendedDeal d)
- Delete the current Deal
Ensure that the deal is to be deleted.
Proceed to the deal deletion.
- Parameters:
- display - is the session created for the deal browser
- d - is the deal to delete
All Packages Class Hierarchy This Package Previous Next Index