|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ViewController
public 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 ViewController
postBack
- true
for a post back request, or
false
for a newly created requestpublic void destroy()
The default implementation does nothing.
destroy
in interface ViewController
public void init()
The default implementation does nothing.
init
in interface ViewController
public void preprocess()
The default implementation does nothing.
preprocess
in interface ViewController
public 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 |