|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowHandler
A controller helper used for customizing access to a single flow definition in a Portlet environment. This helper is used to:
Method Summary | |
---|---|
MutableAttributeMap |
createExecutionInputMap(javax.portlet.RenderRequest request)
Creates the flow execution input map to pass to a new instance of the flow being started. |
java.lang.String |
getFlowId()
Returns the id of the flow handled by this handler. |
java.lang.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. |
Method Detail |
---|
java.lang.String getFlowId()
MutableAttributeMap createExecutionInputMap(javax.portlet.RenderRequest request)
request
- the current request
boolean handleExecutionOutcome(FlowExecutionOutcome outcome, javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws javax.portlet.PortletModeException
outcome
- the outcome that was reachedrequest
- the current action requestresponse
- the current action response
javax.portlet.PortletModeException
- if this handler tries to change the portlet mode to something invalidjava.lang.String handleException(FlowException e, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
e
- 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 response
null
if the exception should be handled by
the caller
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |