| org.romaframework.module.crud.CRUDInstance
CRUDInstance | abstract public class CRUDInstance extends CRUDEntity implements ViewCallback,CRUDWorkingMode(Code) | | Page to handle Create, Modify and View sides of CRUD.
author: Luca Garulli (luca.garulli@assetdata.it)< Parameters: T - >Domain Object to handle |
Method Summary | |
public int | getMode() | protected PersistenceAspect | getPersistenceAspect() | public void | onCreate() Overwrite this method to catch the event before to display a CRUD instance in CREATE mode. | public void | onDispose() | public void | onRead() Overwrite this method to catch the event before to display a CRUD instance in READ mode. | public void | onShow() | public void | onUpdate() Overwrite this method to catch the event before to display a CRUD instance in UPDATE mode. | public void | report() Generate a report for the current view using the ReportingAspect. | public void | save() | public void | setMode(int mode) |
MODE_CREATE | final public static int MODE_CREATE(Code) | | |
MODE_READ | final public static int MODE_READ(Code) | | |
MODE_UPDATE | final public static int MODE_UPDATE(Code) | | |
CRUDInstance | public CRUDInstance()(Code) | | |
CRUDInstance | public CRUDInstance(T iEntity, Object iBackObject)(Code) | | |
getMode | public int getMode()(Code) | | |
onCreate | public void onCreate()(Code) | | Overwrite this method to catch the event before to display a CRUD instance in CREATE mode.
|
onDispose | public void onDispose()(Code) | | |
onRead | public void onRead()(Code) | | Overwrite this method to catch the event before to display a CRUD instance in READ mode.
|
onShow | public void onShow()(Code) | | |
onUpdate | public void onUpdate()(Code) | | Overwrite this method to catch the event before to display a CRUD instance in UPDATE mode.
|
report | public void report()(Code) | | Generate a report for the current view using the ReportingAspect.
|
setMode | public void setMode(int mode)(Code) | | |
|
|