org.jasig.portal.portlets.flow
Class ParamaterizableFlowHandler

java.lang.Object
  extended by org.springframework.webflow.mvc.portlet.AbstractFlowHandler
      extended by org.jasig.portal.portlets.flow.ParamaterizableFlowHandler
All Implemented Interfaces:
org.springframework.webflow.mvc.portlet.FlowHandler

public class ParamaterizableFlowHandler
extends org.springframework.webflow.mvc.portlet.AbstractFlowHandler

Simple Flow handler just returns a specified flowId, defaults to 'view'.

Version:
$Revision$
Author:
Eric Dalquist

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
ParamaterizableFlowHandler()
           
 
Method Summary
 String getFlowId()
           
 String getRedirectOnEnd()
           
 boolean handleExecutionOutcome(org.springframework.webflow.execution.FlowExecutionOutcome outcome, ActionRequest request, ActionResponse response)
           
 void setFlowId(String flowId)
           
 void setRedirectOnEnd(String redirectOnEnd)
           
 
Methods inherited from class org.springframework.webflow.mvc.portlet.AbstractFlowHandler
createExecutionInputMap, handleException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

ParamaterizableFlowHandler

public ParamaterizableFlowHandler()
Method Detail

getRedirectOnEnd

public String getRedirectOnEnd()
Returns:
the redirectOnEnd

setRedirectOnEnd

public void setRedirectOnEnd(String redirectOnEnd)
Parameters:
redirectOnEnd - The location to redirect to at the end of the flow

setFlowId

public void setFlowId(String flowId)
Parameters:
flowId - the flowId to set

getFlowId

public String getFlowId()
Specified by:
getFlowId in interface org.springframework.webflow.mvc.portlet.FlowHandler
Overrides:
getFlowId in class org.springframework.webflow.mvc.portlet.AbstractFlowHandler

handleExecutionOutcome

public boolean handleExecutionOutcome(org.springframework.webflow.execution.FlowExecutionOutcome outcome,
                                      ActionRequest request,
                                      ActionResponse response)
Specified by:
handleExecutionOutcome in interface org.springframework.webflow.mvc.portlet.FlowHandler
Overrides:
handleExecutionOutcome in class org.springframework.webflow.mvc.portlet.AbstractFlowHandler


Copyright © 2010 Jasig. All Rights Reserved.