|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.inventory.application.ItemDialogPersistor
public class ItemDialogPersistor
Dialog listener implementation, which persists the data from the dialog.
| Field Summary | |
|---|---|
protected ItemDialog |
m_dialog
Dialog which is being persisted by this class. |
| Constructor Summary | |
|---|---|
ItemDialogPersistor(ItemDialog dialog)
Constructor |
|
| Method Summary | |
|---|---|
protected ItemController |
getItemController()
Get controller to invoke business logic. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ItemDialog m_dialog
| Constructor Detail |
|---|
public ItemDialogPersistor(ItemDialog dialog)
dialog - - dialog being persisted| Method Detail |
|---|
public boolean takeAction(Item itemData,
int iRootCategoryId,
int[] subcategoryIds,
java.lang.String strInternalNumber,
java.util.List lstIdentifications,
java.util.List lstUnits)
takeAction in interface ItemDialogListeneritemData - - 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
protected ItemController getItemController()
throws org.opensubsystems.core.error.OSSException
org.opensubsystems.core.error.OSSException - - an error has occured
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||