|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A ReadWriteHandler is a JSF Managed Mean that is
responsible for correctly handling the complete lifecycle of an underlying bean.
| Method Summary | |
String |
create()
This is a JSF action method that creates a new default instance of the handled bean and returns a result string that the navigation handler can deal with. |
String |
delete()
This is a JSF action method that deletes the current item. |
String |
release()
This is a JSF action method that releases the current item without saving. |
String |
save()
This is a JSF action method that saves the current item and releases it. |
| Methods inherited from interface com.davesag.jsf.Handler |
getFields, getItem, isActive, load |
| Method Detail |
public String create()
item and its properties
are translated and stored in a view facing Map of fields.
public String save()
releases it. This is an exit point for the
handler. After save is called there is no current item or
Map of fields.
public String release()
release is called there is no current item
or Map of fields.
public String delete()
delete is called there is no current item
or Map of fields.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||