public class AbstractFlowHandler extends Object implements FlowHandler
| Constructor and Description |
|---|
AbstractFlowHandler() |
| Modifier and Type | Method and Description |
|---|---|
MutableAttributeMap |
createExecutionInputMap(javax.portlet.RenderRequest request)
Creates the flow execution input map to pass to a new instance of the flow being started.
|
String |
getFlowId()
Returns the id of the flow handled by this handler.
|
String |
handleException(FlowException e,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Handles a flow exception that was not handled by the Web Flow system.
|
boolean |
handleExecutionOutcome(FlowExecutionOutcome outcome,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Handles a specific flow execution outcome.
|
public String getFlowId()
FlowHandlergetFlowId in interface FlowHandlerpublic MutableAttributeMap createExecutionInputMap(javax.portlet.RenderRequest request)
FlowHandlercreateExecutionInputMap in interface FlowHandlerrequest - the current requestpublic boolean handleExecutionOutcome(FlowExecutionOutcome outcome, javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
FlowHandlerhandleExecutionOutcome in interface FlowHandleroutcome - the outcome that was reachedrequest - the current action requestresponse - the current action responsepublic String handleException(FlowException e, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
FlowHandlerhandleException in interface FlowHandlere - the unhandled exception originating from Spring Web Flow. May be thrown by the flow execution itself or
the flow executor system if no execution could be restored.request - the current requestresponse - the current responsenull if the exception should be handled by
the caller