public class DefaultFlowUrlHandler extends java.lang.Object implements FlowUrlHandler
Constructor and Description |
---|
DefaultFlowUrlHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createFlowExecutionUrl(java.lang.String flowId,
java.lang.String flowExecutionKey,
javax.portlet.RenderResponse response)
Creates a flow execution URL during a render phase suitable to invoke Web Flow in a portlet environment
|
java.lang.String |
createFlowExecutionUrl(java.lang.String flowId,
java.lang.String flowExecutionKey,
javax.portlet.ResourceResponse response)
Creates a flow execution URL during a resource phase suitable to invoke Web Flow in a portlet environment
|
java.lang.String |
getFlowExecutionKey(javax.portlet.PortletRequest request)
Extract the flow execution from the request.
|
void |
setFlowExecutionInSession(java.lang.String flowExecutionKey,
javax.portlet.RenderRequest request)
Set the flow execution key into the portlet session.
|
void |
setFlowExecutionInSession(java.lang.String flowExecutionKey,
javax.portlet.ResourceRequest request)
Set the flow execution key into the portlet session.
|
void |
setFlowExecutionRenderParameter(java.lang.String flowExecutionKey,
javax.portlet.ActionResponse response)
Set the flow execution key render parameter.
|
public java.lang.String getFlowExecutionKey(javax.portlet.PortletRequest request)
FlowUrlHandler
getFlowExecutionKey
in interface FlowUrlHandler
request
- the requestpublic void setFlowExecutionRenderParameter(java.lang.String flowExecutionKey, javax.portlet.ActionResponse response)
FlowUrlHandler
setFlowExecutionRenderParameter
in interface FlowUrlHandler
flowExecutionKey
- the keyresponse
- the action responsepublic void setFlowExecutionInSession(java.lang.String flowExecutionKey, javax.portlet.RenderRequest request)
FlowUrlHandler
setFlowExecutionInSession
in interface FlowUrlHandler
flowExecutionKey
- the keyrequest
- the requestpublic void setFlowExecutionInSession(java.lang.String flowExecutionKey, javax.portlet.ResourceRequest request)
FlowUrlHandler
setFlowExecutionInSession
in interface FlowUrlHandler
flowExecutionKey
- the keyrequest
- the requestpublic java.lang.String createFlowExecutionUrl(java.lang.String flowId, java.lang.String flowExecutionKey, javax.portlet.RenderResponse response)
FlowUrlHandler
createFlowExecutionUrl
in interface FlowUrlHandler
flowId
- the flow idflowExecutionKey
- the flow execution keyresponse
- the responsepublic java.lang.String createFlowExecutionUrl(java.lang.String flowId, java.lang.String flowExecutionKey, javax.portlet.ResourceResponse response)
FlowUrlHandler
createFlowExecutionUrl
in interface FlowUrlHandler
flowId
- the flow idflowExecutionKey
- the flow execution keyresponse
- the response