|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.mvc.portlet.AbstractFlowHandler
public class AbstractFlowHandler
Trivial flow handler base class that simply returns null for all operations. Subclasses should extend and override which operations they need.
| Constructor Summary | |
|---|---|
AbstractFlowHandler()
|
|
| Method Summary | |
|---|---|
MutableAttributeMap<java.lang.Object> |
createExecutionInputMap(javax.portlet.RenderRequest request)
Creates the flow execution input map to pass to a new instance of the flow being started in a render request. |
MutableAttributeMap<java.lang.Object> |
createResourceExecutionInputMap(javax.portlet.ResourceRequest request)
Creates the flow execution input map to pass to a new instance of the flow being started in a resource request. |
java.lang.String |
getFlowId()
Returns the id of the flow handled by this handler. |
java.lang.String |
handleException(FlowException e,
javax.portlet.PortletRequest request,
javax.portlet.RenderResponse response)
|
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 in render request. |
boolean |
handleExecutionOutcome(FlowExecutionOutcome outcome,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Handles a specific flow execution outcome. |
java.lang.String |
handleResourceException(FlowException e,
javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
Handles a flow exception that was not handled by the Web Flow system in a resource request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFlowHandler()
| Method Detail |
|---|
public java.lang.String getFlowId()
FlowHandler
getFlowId in interface FlowHandlerpublic MutableAttributeMap<java.lang.Object> createExecutionInputMap(javax.portlet.RenderRequest request)
FlowHandler
createExecutionInputMap in interface FlowHandlerrequest - the current request
public MutableAttributeMap<java.lang.Object> createResourceExecutionInputMap(javax.portlet.ResourceRequest request)
FlowHandler
createResourceExecutionInputMap in interface FlowHandlerrequest - the current request
public boolean handleExecutionOutcome(FlowExecutionOutcome outcome,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
FlowHandler
handleExecutionOutcome in interface FlowHandleroutcome - the outcome that was reachedrequest - the current action requestresponse - the current action response
public java.lang.String handleException(FlowException e,
javax.portlet.PortletRequest request,
javax.portlet.RenderResponse response)
public java.lang.String handleException(FlowException e,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
FlowHandler
handleException 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 response
null if the exception should be handled by
the caller
public java.lang.String handleResourceException(FlowException e,
javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
FlowHandler
handleResourceException 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 response
null if the exception should be handled by
the caller
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||