public class FlowHandlerImpl extends FlowHandler implements SystemEventListener
FLOW_ID_REQUEST_PARAM_NAME, NULL_FLOW, TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME
Constructor and Description |
---|
FlowHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addFlow(FacesContext context,
Flow toAdd) |
void |
clientWindowTransition(FacesContext context)
The interpretation done for this issue is this:
There are two basic cases: Enter into a flow and return from a flow.
|
List<Flow> |
getActiveFlows(FacesContext context) |
static List<Flow> |
getActiveFlows(FacesContext facesContext,
FlowHandler fh) |
Flow |
getCurrentFlow(FacesContext context) |
Map<Object,Object> |
getCurrentFlowScope() |
FacesFlowProvider |
getFacesFlowProvider(FacesContext facesContext) |
Flow |
getFlow(FacesContext context,
String definingDocumentId,
String id) |
String |
getLastDisplayedViewId(FacesContext context) |
boolean |
isActive(FacesContext context,
String definingDocumentId,
String id) |
boolean |
isListenerForSource(Object source) |
void |
popReturnMode(FacesContext context) |
void |
processEvent(SystemEvent event) |
void |
pushReturnMode(FacesContext context) |
void |
transition(FacesContext context,
Flow sourceFlow,
Flow targetFlow,
FlowCallNode outboundCallNode,
String toViewId) |
getCurrentFlow
public Flow getFlow(FacesContext context, String definingDocumentId, String id)
getFlow
in class FlowHandler
public void addFlow(FacesContext context, Flow toAdd)
addFlow
in class FlowHandler
public Flow getCurrentFlow(FacesContext context)
getCurrentFlow
in class FlowHandler
public void transition(FacesContext context, Flow sourceFlow, Flow targetFlow, FlowCallNode outboundCallNode, String toViewId)
transition
in class FlowHandler
public FacesFlowProvider getFacesFlowProvider(FacesContext facesContext)
public boolean isActive(FacesContext context, String definingDocumentId, String id)
isActive
in class FlowHandler
public Map<Object,Object> getCurrentFlowScope()
getCurrentFlowScope
in class FlowHandler
public void clientWindowTransition(FacesContext context)
clientWindowTransition
in class FlowHandler
context
- public String getLastDisplayedViewId(FacesContext context)
getLastDisplayedViewId
in class FlowHandler
public void pushReturnMode(FacesContext context)
pushReturnMode
in class FlowHandler
public void popReturnMode(FacesContext context)
popReturnMode
in class FlowHandler
public List<Flow> getActiveFlows(FacesContext context)
public static List<Flow> getActiveFlows(FacesContext facesContext, FlowHandler fh)
public boolean isListenerForSource(Object source)
isListenerForSource
in interface SystemEventListener
public void processEvent(SystemEvent event)
processEvent
in interface SystemEventListener
Copyright © 2020 The Apache Software Foundation. All rights reserved.