public class FlowHandlerAdapter
extends org.springframework.web.portlet.handler.PortletContentGenerator
implements org.springframework.web.portlet.HandlerAdapter, org.springframework.beans.factory.InitializingBean
flow handlers to manage the interaction with executions of
specific flow definitions.| Constructor and Description |
|---|
FlowHandlerAdapter()
Creates a new flow handler adapter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
FlowExecutor |
getFlowExecutor()
Returns the central service for executing flows.
|
FlowUrlHandler |
getFlowUrlHandler()
Returns the flow url handler.
|
void |
handleAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Object handler) |
void |
handleEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
Object handler) |
org.springframework.web.portlet.ModelAndView |
handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
org.springframework.web.portlet.ModelAndView |
handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler) |
void |
setFlowExecutor(FlowExecutor flowExecutor)
Sets the central service for executing flows.
|
void |
setFlowUrlHandler(FlowUrlHandler urlHandler)
Sets the flow url handler
|
boolean |
supports(Object handler) |
getCacheSeconds, isRequireSession, setCacheSeconds, setRequireSessionsetPortletContextpublic FlowHandlerAdapter()
public FlowExecutor getFlowExecutor()
public void setFlowExecutor(FlowExecutor flowExecutor)
flowExecutor - public FlowUrlHandler getFlowUrlHandler()
public void setFlowUrlHandler(FlowUrlHandler urlHandler)
urlHandler - the flow url handlerpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic boolean supports(Object handler)
supports in interface org.springframework.web.portlet.HandlerAdapterpublic org.springframework.web.portlet.ModelAndView handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler)
throws Exception
handleRender in interface org.springframework.web.portlet.HandlerAdapterExceptionpublic void handleAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Object handler)
throws Exception
handleAction in interface org.springframework.web.portlet.HandlerAdapterExceptionpublic void handleEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
Object handler)
handleEvent in interface org.springframework.web.portlet.HandlerAdapterpublic org.springframework.web.portlet.ModelAndView handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler)
handleResource in interface org.springframework.web.portlet.HandlerAdapter