public abstract class AbstractViewController extends AbstractFacesBean implements ViewController
AbstractViewController is a convenience base implementation of
ViewController. It also provides convenience methods inherited
from AbstractFacesBean to all of its subclasses.
| Constructor and Description |
|---|
AbstractViewController()
Pre-initialize the
postBack property appropriately
if we can. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, warnpublic AbstractViewController()
Pre-initialize the postBack property appropriately
if we can.
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 ViewControllerCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.