org.opensubsystems.inventory.application
Interface IdentificationDialogGui

All Superinterfaces:
org.opensubsystems.core.application.ThickClientDialogGui
All Known Implementing Classes:
SWTIdentificationDialogGui

public interface IdentificationDialogGui
extends org.opensubsystems.core.application.ThickClientDialogGui

GUI portion of the identification dialog, which abstracts the gui technology dependent portion of the creating or modifying identifications from the backend process.

Version:
$Id: IdentificationDialogGui.java,v 1.4 2007/01/07 06:13:57 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
1.2 2006/04/05 05:14:13 bastafidli

Method Summary
 void displayDialog(IdentificationDialog identificationDialog, boolean bModify, Identification identificationData, java.util.List lstAvoidExternalNumbers, java.util.List lstAvoidInternalNumbers, IdentificationDialogListener dialogListener)
          Display the dialog.
 
Methods inherited from interface org.opensubsystems.core.application.ThickClientDialogGui
displayMessage
 

Method Detail

displayDialog

void displayDialog(IdentificationDialog identificationDialog,
                   boolean bModify,
                   Identification identificationData,
                   java.util.List lstAvoidExternalNumbers,
                   java.util.List lstAvoidInternalNumbers,
                   IdentificationDialogListener dialogListener)
Display the dialog. This method shouldn't return until the dialog is closed.

Parameters:
identificationDialog - - dialog displaying this gui
bModify - - if this flag is true, then the dialog will act as modify dialog otherwise it will act as a create dialog. This will allow us to modify data, which were not yet created in the persistence store, but are held in memory and modified before they are stored
identificationData - - data to be created or edited, but never null. When creating new identification load the template data from the backend and then use the template data in this dialog.
lstAvoidExternalNumbers - - list of external numbers which cannot be used, since they may have already been used
lstAvoidInternalNumbers - - list of internal numbers which cannot be used, since they may have already been used
dialogListener - - listener which needs to be notified about changes and actions on the gui


Copyright © 2003 - 2006 OpenSubsystems s.r.o.