|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensubsystems.inventory.application.CategoryDialogPersistor
public class CategoryDialogPersistor
Dialog listener implementation, which persists the data from the dialog.
| Field Summary | |
|---|---|
protected CategoryDialog |
m_dialog
Dialog which is being persisted by this class. |
protected Category |
m_updatedCategory
Category which was successfully updated by this persistor. |
| Constructor Summary | |
|---|---|
CategoryDialogPersistor(CategoryDialog dialog)
Constructor |
|
| Method Summary | |
|---|---|
protected CategoryController |
getCategoryController()
Get controller to invoke business logic. |
protected Category |
getResults()
|
boolean |
takeAction(boolean bModify,
Category data)
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 CategoryDialog m_dialog
protected Category m_updatedCategory
| Constructor Detail |
|---|
public CategoryDialogPersistor(CategoryDialog dialog)
dialog - - dialog being persisted| Method Detail |
|---|
protected Category getResults()
public boolean takeAction(boolean bModify,
Category data)
takeAction in interface CategoryDialogListenerbModify - - if this flag is true, then the data should be modified
otherwise they should be createddata - - data to be created or one which was modified
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 | ||||||||