org.opensubsystems.inventory.application
Interface ItemDialogListener
- All Known Implementing Classes:
- ItemDialogPersistor
public interface ItemDialogListener
Interface by which client can monitor changes made in the dialog.
- Version:
- $Id: ItemDialogListener.java,v 1.3 2007/01/07 06:13:57 bastafidli Exp $
- Author:
- Miro Halas
- Code reviewer:
- Miro Halas
- Code reviewed:
- Initial revision
|
Method Summary |
boolean |
takeAction(Item itemData,
int iRootCategoryId,
int[] subcategoryIds,
java.lang.String strInternalNumber,
java.util.List lstIdentifications,
java.util.List lstUnits)
This method is called when action button of the dialog is clicked. |
takeAction
boolean takeAction(Item itemData,
int iRootCategoryId,
int[] subcategoryIds,
java.lang.String strInternalNumber,
java.util.List lstIdentifications,
java.util.List lstUnits)
- This method is called when action button of the dialog is clicked. This
means that user is finished with the changes and want to take some action
with those changes. This method is NOT called when user wants to cancel
the changes which he has done.
- Parameters:
itemData - - item to be created or edited, but never nulliRootCategoryId - - root category this item should exist insubcategoryIds - - subcategories this item should exist instrInternalNumber - - internal identification number it this is a non
uniquely tracked item or if the item is not
uniquely tracked, can be nulllstIdentifications - - identifications for unique items if this item
can be uniquely identifiedlstUnits - - units for this item if this item cannot be uniquely
identified
- Returns:
- boolean - if true is returned the dialog can be closed, otherwise
the dialog remains on the screen
Copyright © 2003 - 2006 OpenSubsystems s.r.o.