From d2c3e25124d791555478e12d6c83fc949c4e0a8b Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Wed, 23 Apr 2008 23:14:26 +0000 Subject: [PATCH] polish --- .../webflow/mvc/portlet/FlowHandler.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/mvc/portlet/FlowHandler.java b/spring-webflow/src/main/java/org/springframework/webflow/mvc/portlet/FlowHandler.java index 81f67e28..768a79ad 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/mvc/portlet/FlowHandler.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/mvc/portlet/FlowHandler.java @@ -26,11 +26,12 @@ import org.springframework.webflow.core.collection.MutableAttributeMap; import org.springframework.webflow.execution.FlowExecutionOutcome; /** - * A controller helper used for customizing access to a single flow definition. This helper is used to: + * A controller helper used for customizing access to a single flow definition in a Portlet environment. This + * helper is used to: *
    *
  1. Launch executions of that flow with data in the execution input map - *
  2. Handle outcomes reached by that flow in a custom manner. - *
  3. Handle un-handled exceptions dealing with that flow in a custom manner. + *
  4. Handle outcomes reached by that flow in a custom manner + *
  5. Handle un-handled exceptions dealing with that flow in a custom manner *
* Such a handler can be visually thought of as a "flow reference" on a Garrett IA diagram. It holds a reference to the * flow id to launch, how to provision its input, how to process its outcomes, and how to handle uncaught exceptions. @@ -56,8 +57,8 @@ public interface FlowHandler { /** * Handles a specific flow execution outcome. Used to change portlet modes after the flow ends. * @param outcome the outcome that was reached - * @param request the current render request - * @param response the current render response + * @param request the current action request + * @param response the current action response * @return whether this outcome was handled, or whether the caller should handle it * @throws PortletModeException if this handler tries to change the portlet mode to something invalid */ @@ -71,7 +72,8 @@ public interface FlowHandler { * the flow executor system if no execution could be restored. * @param request the current request * @param response the current response - * @return the name of a specific error view to render, or null if the exception should be handled by the caller + * @return the name of a specific error view to render, or null if the exception should be handled by + * the caller */ public String handleException(FlowException e, RenderRequest request, RenderResponse response);