A B C D E F G H I L M O P R S V W

A

AbstractApplicationBean - Class in org.apache.shale.view
AbstractApplicationBean is the abstract base class for data bean(s) that are stored in application scope attributes.
AbstractApplicationBean() - Constructor for class org.apache.shale.view.AbstractApplicationBean
Create a new application scope bean.
AbstractFacesBean - Class in org.apache.shale.view
Convenient abstract base class for application beans that wish to interact with JavaServer Faces request processing facilities.
AbstractFacesBean() - Constructor for class org.apache.shale.view.AbstractFacesBean
 
AbstractRequestBean - Class in org.apache.shale.view
AbstractRequestBean is the abstract base class for data bean(s) that are stored in request scope attributes.
AbstractRequestBean() - Constructor for class org.apache.shale.view.AbstractRequestBean
Create a new request scope bean.
AbstractSessionBean - Class in org.apache.shale.view
AbstractSessionBean is the abstract base class for data bean(s) that are stored in session scope attributes.
AbstractSessionBean() - Constructor for class org.apache.shale.view.AbstractSessionBean
Create a new session scope bean.
AbstractViewController - Class in org.apache.shale.view
AbstractViewController is a convenience base implementation of ViewController.
AbstractViewController() - Constructor for class org.apache.shale.view.AbstractViewController
Pre-initialize the postBack property appropriately if we can.
activate() - Method in class org.apache.shale.view.AbstractSessionBean
This method is called when the session containing it was reactivated.
afterPhase(PhaseEvent) - Method in class org.apache.shale.view.faces.ViewPhaseListener
Perform after-phase processing for the phase defined in the specified event.
ApplicationException - Exception in org.apache.shale.view
Runtime exception encapsulating a List of exceptions that have occurred during the request processing lifecycle.
ApplicationException() - Constructor for exception org.apache.shale.view.ApplicationException
Construct an exception with no message.
ApplicationException(String) - Constructor for exception org.apache.shale.view.ApplicationException
Construct an exception with the specified message.
ApplicationException(String, Throwable) - Constructor for exception org.apache.shale.view.ApplicationException
Construct an exception with the specified message and cause.
ApplicationException(Throwable) - Constructor for exception org.apache.shale.view.ApplicationException
Construct an exception with the specified cause.
ApplicationException(List) - Constructor for exception org.apache.shale.view.ApplicationException
Construct an exception with the specified List of causes.
attributeAdded(ServletContextAttributeEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to an application scope attribute being added.
attributeAdded(HttpSessionBindingEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a session scope attribute being added.
attributeAdded(ServletRequestAttributeEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a request scope attribute being added.
attributeRemoved(ServletContextAttributeEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to an application scope attribute being removed.
attributeRemoved(HttpSessionBindingEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a session scope attribute being removed.
attributeRemoved(ServletRequestAttributeEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a request scope attribute being removed.
attributeReplaced(ServletContextAttributeEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to an application scope attribute being replaced.
attributeReplaced(HttpSessionBindingEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a session scope attribute being replaced.
attributeReplaced(ServletRequestAttributeEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a request scope attribute being replaced.

B

beforePhase(PhaseEvent) - Method in class org.apache.shale.view.faces.ViewPhaseListener
Perform before-phase processing for the phase defined in the specified event.

C

calculateLocale(FacesContext) - Method in class org.apache.shale.view.faces.ViewViewHandler
calculateRenderKitId(FacesContext) - Method in class org.apache.shale.view.faces.ViewViewHandler
Constants - Class in org.apache.shale.view
Manifest constants related to Shale view support that are relevant to applications using Shale.
contextDestroyed(ServletContextEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a context destroyed event.
contextInitialized(ServletContextEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a context created event.
createView(FacesContext, String) - Method in class org.apache.shale.view.faces.ViewViewHandler
After delegating to our original ViewHandler, create and initialize any ViewController associated with the specified view identifier.

D

DefaultExceptionHandler - Class in org.apache.shale.view.impl
Default implementation of the ExceptionHandler interface.
DefaultExceptionHandler() - Constructor for class org.apache.shale.view.impl.DefaultExceptionHandler
 
DefaultViewControllerMapper - Class in org.apache.shale.view.impl
DefaultViewControllerMapper is a default implementation of ViewControllerMapper.
DefaultViewControllerMapper() - Constructor for class org.apache.shale.view.impl.DefaultViewControllerMapper
 
destroy() - Method in class org.apache.shale.view.AbstractApplicationBean
This method is called when this bean is removed from application scope.
destroy() - Method in class org.apache.shale.view.AbstractRequestBean
This method is called when this bean is removed from request scope.
destroy() - Method in class org.apache.shale.view.AbstractSessionBean
This method is called when this bean is removed from session scope.
destroy() - Method in class org.apache.shale.view.AbstractViewController
The default implementation does nothing.
destroy() - Method in interface org.apache.shale.view.ViewController
Called after the JSF request processing lifecycle has been completed for the current request.

E

encodeBegin(FacesContext) - Method in class org.apache.shale.view.faces.SubviewComponent
Prior to the standard processing, call the prerender() callback on the ViewController associated with this subview, if any.
erase() - Method in class org.apache.shale.view.AbstractFacesBean
Erase submitted values on all EditableValueHolder components in the current view.
error(String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a global FacesMessage (not associated with any particular component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_ERROR.
error(UIComponent, String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a FacesMessage (associated with the specified component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_ERROR.
EXCEPTION_DISPATCH_PATH - Static variable in class org.apache.shale.view.Constants
Name of the context initialization parameter that defines the context-relative path we should dispatch to, at the end of Invoke Application phase of the request processing lifecycle, if any application exceptions have been cached by the default ExceptionHandler instance.
EXCEPTION_HANDLER - Static variable in class org.apache.shale.view.Constants
Application scope attribute under which the ExceptionHandler for handling exceptions is stored.
ExceptionHandler - Interface in org.apache.shale.view
Interface describing a "strategy pattern" implementation for handling exceptions thrown by an application event callback that is managed by Shale.
EXCEPTIONS_LIST - Static variable in class org.apache.shale.view.faces.FacesConstants
Request scope attribute under which a java.util.List of exceptions accumulated during the current request processing lifecycle are accumulated.

F

FacesConstants - Class in org.apache.shale.view.faces
Manifest constants related to Shale view support, which are specific to the internal implementation and are thus should not be directly referenced by applications.
fatal(String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a global FacesMessage (not associated with any particular component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_FATAL.
fatal(UIComponent, String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a FacesMessage (associated with the specified component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_FATAL.
fireApplicationDestroy(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire a destroy event on an @{link AbstractApplicationBean}.
fireApplicationInit(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire an init event on an AbstractApplicationBean.
fireRequestDestroy(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire a destroy event on an @{link AbstractRequestBean}.
fireRequestInit(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire an init event on an AbstractRequestBean.
fireSessionActivate(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire an activate event on an @{link AbstractSessionBean}.
fireSessionDestroy(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire a destroy event on an @{link AbstractSessionBean}.
fireSessionInit(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire an init event on an AbstractSessionBean.
fireSessionPassivate(Object) - Method in class org.apache.shale.view.faces.LifecycleListener
Fire an passivate event on an @{link AbstractSessionBean}.

G

getActionURL(FacesContext, String) - Method in class org.apache.shale.view.faces.ViewViewHandler
getApplication() - Method in class org.apache.shale.view.AbstractFacesBean
Retiurn the Application instance for the current web application.
getApplicationMap() - Method in class org.apache.shale.view.AbstractFacesBean
Return a Map of the application scope attributes for this web application.
getBean(String) - Method in class org.apache.shale.view.AbstractFacesBean
Return the named bean from request, session, or application scope.
getComponentType() - Method in class org.apache.shale.view.faces.SubviewTag
Return the required component type.
getExceptions() - Method in exception org.apache.shale.view.ApplicationException
Return a List of exceptoins that are the cumulative cause of this exception.
getExternalContext() - Method in class org.apache.shale.view.AbstractFacesBean
Return the ExternalContext instance for the current request.
getFacesContext() - Method in class org.apache.shale.view.AbstractFacesBean
Return the FacesContext instance for the current request.
getFamily() - Method in class org.apache.shale.view.faces.SubviewComponent
Return the component family for this component.
getLifecycle() - Method in class org.apache.shale.view.AbstractFacesBean
Return the configured Lifecycle instance for the current application.
getPhaseId() - Method in class org.apache.shale.view.faces.ViewPhaseListener
Return PhaseId.ANY_PHASE, indicating our interest in all phases of the request processing lifecycle.
getRendererType() - Method in class org.apache.shale.view.faces.SubviewTag
Return the required renderer type.
getRequestHeaderMap() - Method in class org.apache.shale.view.AbstractFacesBean
Return a Map of the request headers included in this request.
getRequestMap() - Method in class org.apache.shale.view.AbstractFacesBean
Return a Map of the request scope attributes for this request.
getRequestParameter(String) - Method in class org.apache.shale.view.AbstractFacesBean
Return the first (or only) value for the specified request parameter.
getRequestParameterMap() - Method in class org.apache.shale.view.AbstractFacesBean
Return a Map of the request parameters included in this request.
getRequestParameterValues(String) - Method in class org.apache.shale.view.AbstractFacesBean
Return an array of all the values for the specified request parameter, if there are any.
getResourceURL(FacesContext, String) - Method in class org.apache.shale.view.faces.ViewViewHandler
getSessionMap() - Method in class org.apache.shale.view.AbstractFacesBean
Return a Map of the session scope attributes for the current user.
getValue(String) - Method in class org.apache.shale.view.AbstractFacesBean
Evaluate the specified value binding expression and return the value it points at.

H

handleException(Exception) - Method in interface org.apache.shale.view.ExceptionHandler
Handle the specified exception thrown by an application event handler.
handleException(FacesContext, Exception) - Method in class org.apache.shale.view.faces.LifecycleListener
Handle the specified exception according to the strategy defined by our current ExceptionHandler.
handleException(FacesContext, Exception) - Method in class org.apache.shale.view.faces.ViewControllerCallbacks
Handle the specified exception according to the strategy defined by our current ExceptionHandler.
handleException(Exception) - Method in class org.apache.shale.view.impl.DefaultExceptionHandler
Log the specified exception, and record it in a request scoped List that can be used to report them all at a future point in time to report all of the accumulated exceptions.

I

info(String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a global FacesMessage (not associated with any particular component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_INFO.
info(UIComponent, String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a FacesMessage (associated with the specified component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_INFO.
init() - Method in class org.apache.shale.view.AbstractApplicationBean
This method is called when this bean is initially added to application scope.
init() - Method in class org.apache.shale.view.AbstractRequestBean
This method is called when this bean is initially added to request scope.
init() - Method in class org.apache.shale.view.AbstractSessionBean
This method is called when this bean is initially added to session scope.
init() - Method in class org.apache.shale.view.AbstractViewController
The default implementation does nothing.
init() - Method in interface org.apache.shale.view.ViewController
Called after this ViewController has been instantiated, and after all of the property setters specified above have been called, but before the JSF request processing lifecycle processing and events related to our corresponding view are executed.
isPostBack() - Method in class org.apache.shale.view.AbstractViewController

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.

isPostBack() - Method in interface org.apache.shale.view.ViewController
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.

L

LifecycleListener - Class in org.apache.shale.view.faces
LifecycleListener implements the lifecycle startup and shutdown calls (init() and destroy()) for subclasses of AbstractApplicationBean, AbstractRequestBean, and AbstractSessionBean.
LifecycleListener() - Constructor for class org.apache.shale.view.faces.LifecycleListener
Create a new lifecycle listener.
log(String) - Method in class org.apache.shale.view.AbstractFacesBean
Log the specified message to the server's log file.
log(String, Throwable) - Method in class org.apache.shale.view.AbstractFacesBean
Log the specified message and exception to the server's log file.

M

mapViewId(String) - Method in class org.apache.shale.view.impl.DefaultViewControllerMapper

Return the name of the managed bean that serves as the backing bean for the specified view identifier.

mapViewId(String) - Method in interface org.apache.shale.view.ViewControllerMapper
Return the name of the managed bean that serves as the backing bean for the specified view identifier.

O

org.apache.shale.view - package org.apache.shale.view
This package defines fundamental interfaces and convenience base classes related to the ViewController functionality provided by Shale.
org.apache.shale.view.faces - package org.apache.shale.view.faces
This package contains integration for the Shale view controller facilities with standard JavaServer Faces extension points.
org.apache.shale.view.impl - package org.apache.shale.view.impl
This package contains default implementations for framework functionality required by the application APIs in the org.apache.shale.view package.

P

passivate() - Method in class org.apache.shale.view.AbstractSessionBean
This method is called when the session containing it is about to be passivated.
PHASE_ID - Static variable in class org.apache.shale.view.faces.ViewPhaseListener
Request scope attribute under which the PhaseId for the current phase is exposed.
preprocess() - Method in class org.apache.shale.view.AbstractViewController
The default implementation does nothing.
preprocess(Object) - Method in class org.apache.shale.view.faces.ViewControllerCallbacks
Perform the preprocess callback on the specified instance.
preprocess() - Method in interface org.apache.shale.view.ViewController
Called after the component tree has been restored (in Restore View phase), if the current request is a postback.
prerender() - Method in class org.apache.shale.view.AbstractViewController
The default implementation does nothing.
prerender(Object) - Method in class org.apache.shale.view.faces.ViewControllerCallbacks
Perform the prerender callback on the specified instance.
prerender() - Method in interface org.apache.shale.view.ViewController
Called before the Render Response processing for this request is performed, whether or not this is a post back request.
processAction(ActionEvent) - Method in class org.apache.shale.view.faces.ViewActionListener
Handle a default action event.
processApplication(FacesContext) - Method in class org.apache.shale.view.faces.ShaleViewRoot
Override to catch exceptions raised by the action listeners in the invoke application phase.
processDecodes(FacesContext) - Method in class org.apache.shale.view.faces.ShaleViewRoot
Override to catch and handle exceptions with immediate commands and value change listeners in the apply request values phase.
processDecodes(FacesContext) - Method in class org.apache.shale.view.faces.SubviewComponent
Prior to the standard processing, call the preprocess() callback on the ViewController associated with this subview, if any.
processUpdates(FacesContext) - Method in class org.apache.shale.view.faces.ShaleViewRoot
Override to catch and handle exceptions raised in the update model phase.
processValidators(FacesContext) - Method in class org.apache.shale.view.faces.ShaleViewRoot
Override to catch and handle exceptions in value change listeners that might have occured in the process validations phase.

R

renderView(FacesContext, UIViewRoot) - Method in class org.apache.shale.view.faces.ViewViewHandler
requestDestroyed(ServletRequestEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a request destroyed event.
requestInitialized(ServletRequestEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a request created event.
restoreView(FacesContext, String) - Method in class org.apache.shale.view.faces.ViewViewHandler
After delegating to our original ViewHandler, create and initialize any ViewController associated with the specified view identifier.
retrieveData(String) - Method in class org.apache.shale.view.AbstractFacesBean
Return the data object stored (typically when the component tree was previously rendered) under the specified key, if any; otherwise, return null.

S

saveData(String, Object) - Method in class org.apache.shale.view.AbstractFacesBean
Save the specified data object (which MUST be Serializable) under the specified key, such that it can be retrieved (via getData()) on a s subsequent request immediately after the component tree has been restored.
sessionCreated(HttpSessionEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a session created event.
sessionDestroyed(HttpSessionEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a session destroyed event.
sessionDidActivate(HttpSessionEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a "session did activate" event.
sessionWillPassivate(HttpSessionEvent) - Method in class org.apache.shale.view.faces.LifecycleListener
Respond to a "session will passivate" event.
setBean(String, Object) - Method in class org.apache.shale.view.AbstractFacesBean
Replace the value of any attribute stored in request scope, session scope, or application scope, under the specified name.
setPostBack(boolean) - Method in class org.apache.shale.view.AbstractViewController

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(boolean) - Method in interface org.apache.shale.view.ViewController
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.
setValue(String, Object) - Method in class org.apache.shale.view.AbstractFacesBean
Evaluate the specified value binding expression, and replace the value it points at.
ShaleViewRoot - Class in org.apache.shale.view.faces
Extending the UIViewRoot to provide specialized exception handling needed for the Shale view controller to enforce the contracts of the callbacks.
ShaleViewRoot() - Constructor for class org.apache.shale.view.faces.ShaleViewRoot
 
SubviewComponent - Class in org.apache.shale.view.faces
Specialized implementation of UINamingContainer that provides ViewController functionality for subviews.
SubviewComponent() - Constructor for class org.apache.shale.view.faces.SubviewComponent
 
SubviewTag - Class in org.apache.shale.view.faces
JSP custom tag for the SubviewComponent component.
SubviewTag() - Constructor for class org.apache.shale.view.faces.SubviewTag
 

V

VIEW_CALLBACKS - Static variable in class org.apache.shale.view.faces.FacesConstants
Application scope attribute under which the ViewControllerCallbacks instance for this application is stored.
VIEW_CONTROLLER_MAPPER - Static variable in class org.apache.shale.view.Constants
Deprecated. Replace the application scoped managed bean stored with key Constants.VIEW_MAPPER instead
VIEW_MAPPER - Static variable in class org.apache.shale.view.Constants
Application scope attribute under which the ViewControllerMapper for translating view identifiers to class names of the corresponding ViewController is stored.
VIEW_POSTBACK - Static variable in class org.apache.shale.view.faces.FacesConstants
Request scope attribute under which a Boolean.TRUE flag is stored if this request is a postback.
ViewActionListener - Class in org.apache.shale.view.faces
Replacement for the default ActionListener implementation used during the Invoke Application phase of the request processing lifecycle.
ViewActionListener(ActionListener) - Constructor for class org.apache.shale.view.faces.ViewActionListener
Create a new action listener instance.
ViewController - Interface in org.apache.shale.view
ViewController is a "backing bean" interface which adds several extension points to the standard JavaServer Faces lifecycle.
ViewControllerCallbacks - Class in org.apache.shale.view.faces
Utility class to perform the event callbacks specified by the ViewController interface.
ViewControllerCallbacks() - Constructor for class org.apache.shale.view.faces.ViewControllerCallbacks
 
ViewControllerMapper - Interface in org.apache.shale.view
ViewControllerMapper is an interface describing a pluggable mechanism to map between a JavaServer Faces view identifier and the name of a corresponding managed bean that serves as the backing bean for this view.
ViewPhaseListener - Class in org.apache.shale.view.faces
ViewPhaseListener is a JavaServer Faces PhaseListener that implements phase related functionality for the view controller portion of Shale.
ViewPhaseListener() - Constructor for class org.apache.shale.view.faces.ViewPhaseListener
 
VIEWS_INITIALIZED - Static variable in class org.apache.shale.view.faces.FacesConstants
Request scope attribute under which a List containing all ViewControllers that have been initialized for the current request are stored.
ViewViewHandler - Class in org.apache.shale.view.faces
ViewViewHandler is a custom implementation of ViewHandler that adds support for on-demand creation and configuration of ViewController instances, and other view related functionality.
ViewViewHandler(ViewHandler) - Constructor for class org.apache.shale.view.faces.ViewViewHandler
Create a ViewViewHandler instance that decorates the specified ViewHandler provided by the JSF runtime implementation.

W

warn(String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a global FacesMessage (not associated with any particular component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_WARN.
warn(UIComponent, String) - Method in class org.apache.shale.view.AbstractFacesBean
Enqueue a FacesMessage (associated with the specified component) containing the specified summary text and a message severity level of FacesMessage.SEVERITY_WARN.
writeState(FacesContext) - Method in class org.apache.shale.view.faces.ViewViewHandler

A B C D E F G H I L M O P R S V W

Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.