public class DefaultFlowUrlHandler extends Object implements FlowUrlHandler
Constructor and Description |
---|
DefaultFlowUrlHandler() |
Modifier and Type | Method and Description |
---|---|
String |
createFlowExecutionUrl(String flowId,
String flowExecutionKey,
javax.portlet.RenderResponse response)
Creates a flow execution URL suitable for use as an action URL.
|
String |
getFlowExecutionKey(javax.portlet.PortletRequest request)
Extract the flow execution from the request.
|
void |
setFlowExecutionInSession(String flowExecutionKey,
javax.portlet.RenderRequest request)
Set the flow execution key into the portlet session.
|
void |
setFlowExecutionRenderParameter(String flowExecutionKey,
javax.portlet.ActionResponse response)
Set the flow execution key render parameter.
|
public String getFlowExecutionKey(javax.portlet.PortletRequest request)
FlowUrlHandler
getFlowExecutionKey
in interface FlowUrlHandler
request
- the requestpublic void setFlowExecutionRenderParameter(String flowExecutionKey, javax.portlet.ActionResponse response)
FlowUrlHandler
setFlowExecutionRenderParameter
in interface FlowUrlHandler
flowExecutionKey
- the keyresponse
- the action responsepublic void setFlowExecutionInSession(String flowExecutionKey, javax.portlet.RenderRequest request)
FlowUrlHandler
setFlowExecutionInSession
in interface FlowUrlHandler
flowExecutionKey
- the keyrequest
- the render requestpublic String createFlowExecutionUrl(String flowId, String flowExecutionKey, javax.portlet.RenderResponse response)
FlowUrlHandler
createFlowExecutionUrl
in interface FlowUrlHandler
flowId
- the flow idflowExecutionKey
- the flow execution keyresponse
- the render response