|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eodisp.ui.common.components.AbstractEodispModel
org.eodisp.ui.rm.models.SomCategoriesModel
public class SomCategoriesModel
| Nested Class Summary | |
|---|---|
class |
SomCategoriesModel.CatListModel
|
| Field Summary | |
|---|---|
(package private) static org.apache.log4j.Logger |
logger
Log4J logger for this class |
| Constructor Summary | |
|---|---|
SomCategoriesModel(commonj.sdo.DataObject curObj)
|
|
| Method Summary | |
|---|---|
void |
doSave()
Executes the save command in the model. |
void |
doUpdate()
Instructs the model to do an update of its data. |
SomCategoriesModel.CatListModel |
getCatListModel()
|
SomCategoriesModel.CatListModel |
getRegCatListModel()
|
boolean |
hasChanges()
Returns a value stating whether the model has some changes since the last change. |
void |
registerCat(java.lang.Object[] categories)
Adds a category (or multiple categories) from the list of registered categories. |
void |
undo()
This makes and undo of the last command executed by the model. |
void |
unregisterCat(java.lang.Object[] categories)
Removes a category (or multiple categories) from the list of registered categories. |
| Methods inherited from class org.eodisp.ui.common.components.AbstractEodispModel |
|---|
addModelListener, fireModelChanged, getModelListener, redo, removeModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public SomCategoriesModel(commonj.sdo.DataObject curObj)
| Method Detail |
|---|
public void doSave()
throws java.io.IOException
java.io.IOExceptionpublic void doUpdate()
Instructs the model to do an update of its data. Many
EodispModels are just intermediated models for view
components and do not hold the actual data. The actual data is usually
retrieved and maintained by a persistency framework. Thus, if the real
data has been changed, a model can be informed of this updated and it can
be instructed to reload the data.
This should in most cases lead to an update of the visual component representing the data as well.
doUpdate in interface EodispModeldoUpdate in class AbstractEodispModelpublic boolean hasChanges()
public void undo()
undo in interface EodispModelundo in class AbstractEodispModelpublic void registerCat(java.lang.Object[] categories)
indices - The selection indices.public void unregisterCat(java.lang.Object[] categories)
indices - The selection indices.public SomCategoriesModel.CatListModel getCatListModel()
public SomCategoriesModel.CatListModel getRegCatListModel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||