|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.core.application.ThickClientModuleImpl
org.opensubsystems.inventory.application.InventoryModule
public class InventoryModule
The module responsible for presenting inventory related information.
| Field Summary | |
|---|---|
protected Inventory |
m_inventory
Inventory, which is currently used. |
protected java.util.Map |
m_selectedCategories
What categories are selected in the list of items. |
protected java.util.Map |
m_selectedSubCategories
What sub categories are selected in the list of items. |
| Fields inherited from class org.opensubsystems.core.application.ThickClientModuleImpl |
|---|
m_bInitialized, m_client |
| Constructor Summary | |
|---|---|
InventoryModule()
|
|
| Method Summary | |
|---|---|
Item |
changeAvailableCount(int iId,
java.lang.String strText)
Change the available count for a specified item. |
void |
displayCreateCategoryDialog(int iParentId)
Display dialog to create category or subcategory. |
void |
displayCreateItemDialog(int iCurrentCategoryId,
int iCurrentSubcategoryId)
Display dialog to create item. |
void |
displayModifyCategoryDialog(Category data)
Display dialog to modify user. |
void |
displayModifyItemDialog(int iId)
Display dialog to modify item. |
protected CategoryController |
getCategoryController()
Get controller to invoke business logic. |
protected ItemController |
getItemController()
Get controller to invoke business logic. |
java.lang.String |
getName()
|
int |
getOutCount(int iId)
For a specified item get number of items which are not in the inventory. |
void |
init(org.opensubsystems.core.application.ThickClient client)
|
| Methods inherited from class org.opensubsystems.core.application.ThickClientModuleImpl |
|---|
activate, destroy, displayMessage, getClient, pasivate, refresh |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Inventory m_inventory
protected java.util.Map m_selectedCategories
protected java.util.Map m_selectedSubCategories
| Constructor Detail |
|---|
public InventoryModule()
| Method Detail |
|---|
public void init(org.opensubsystems.core.application.ThickClient client)
throws org.opensubsystems.core.error.OSSException
init in interface org.opensubsystems.core.application.ThickClientModuleinit in class org.opensubsystems.core.application.ThickClientModuleImplorg.opensubsystems.core.error.OSSExceptionpublic java.lang.String getName()
public void displayCreateCategoryDialog(int iParentId)
iParentId - - Id of the parent category. If this is DataObject.NEW_ID
then this is a top level category otherwise it is a
subcategory of the specified parent.public void displayModifyCategoryDialog(Category data)
data - - data for the category which should be modified.
public Item changeAvailableCount(int iId,
java.lang.String strText)
iId - - id of the item to change the count forstrText - - text representing the available count
public int getOutCount(int iId)
iId - - id of the item to get the count for
public void displayCreateItemDialog(int iCurrentCategoryId,
int iCurrentSubcategoryId)
iCurrentCategoryId - - currently selected category in which the item
can be creatediCurrentSubcategoryId - - currently selected subcategory in which the
item can be createdpublic void displayModifyItemDialog(int iId)
iId - - id of the item to display the modify dialog for
protected ItemController getItemController()
throws org.opensubsystems.core.error.OSSException
org.opensubsystems.core.error.OSSException - - an error has occured
protected CategoryController getCategoryController()
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 | ||||||||