|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.view.AbstractFacesBean
org.apache.shale.view.AbstractViewController
public abstract class AbstractViewController
AbstractViewController is a convenience base implementation of
ViewController. It also provides convenience methods inherited
from AbstractFacesBean to all of its subclasses.
| Constructor Summary | |
|---|---|
AbstractViewController()
Pre-initialize the postBack property appropriately
if we can. |
|
| Method Summary | |
|---|---|
void |
destroy()
The default implementation does nothing. |
void |
init()
The default implementation does nothing. |
boolean |
isPostBack()
Return a flag indicating whether this request is a "post back" (that is, the view was restored in order to respond to a submit from the client), or a newly created view. |
void |
preprocess()
The default implementation does nothing. |
void |
prerender()
The default implementation does nothing. |
void |
setPostBack(boolean postBack)
Set a flag indicating whether this request is a "post back" (that is, the view was restored in order to respond to a submit from the client), or a newly created view. |
| Methods inherited from class org.apache.shale.view.AbstractFacesBean |
|---|
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractViewController()
Pre-initialize the postBack property appropriately
if we can.
| Method Detail |
|---|
public boolean isPostBack()
Return a flag indicating whether this request is a "post back" (that
is, the view was restored in order to respond to a submit from the
client), or a newly created view. This method must return any value
passed to the setPostBack() method.
isPostBack in interface ViewControllerpublic void setPostBack(boolean postBack)
Set a flag indicating whether this request is a "post back" (that is, the view was restored in order to respond to a submit from the client), or a newly created view.
setPostBack in interface ViewControllerpostBack - true for a post back request, or
false for a newly created requestpublic void destroy()
The default implementation does nothing.
destroy in interface ViewControllerpublic void init()
The default implementation does nothing.
init in interface ViewControllerpublic void preprocess()
The default implementation does nothing.
preprocess in interface ViewControllerpublic void prerender()
The default implementation does nothing.
prerender in interface ViewController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||