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) |
getCurrentFlowpublic Flow getFlow(FacesContext context, String definingDocumentId, String id)
getFlow in class FlowHandlerpublic void addFlow(FacesContext context, Flow toAdd)
addFlow in class FlowHandlerpublic Flow getCurrentFlow(FacesContext context)
getCurrentFlow in class FlowHandlerpublic void transition(FacesContext context, Flow sourceFlow, Flow targetFlow, FlowCallNode outboundCallNode, String toViewId)
transition in class FlowHandlerpublic FacesFlowProvider getFacesFlowProvider(FacesContext facesContext)
public boolean isActive(FacesContext context, String definingDocumentId, String id)
isActive in class FlowHandlerpublic Map<Object,Object> getCurrentFlowScope()
getCurrentFlowScope in class FlowHandlerpublic void clientWindowTransition(FacesContext context)
clientWindowTransition in class FlowHandlercontext - public String getLastDisplayedViewId(FacesContext context)
getLastDisplayedViewId in class FlowHandlerpublic void pushReturnMode(FacesContext context)
pushReturnMode in class FlowHandlerpublic void popReturnMode(FacesContext context)
popReturnMode in class FlowHandlerpublic List<Flow> getActiveFlows(FacesContext context)
public static List<Flow> getActiveFlows(FacesContext facesContext, FlowHandler fh)
public boolean isListenerForSource(Object source)
isListenerForSource in interface SystemEventListenerpublic void processEvent(SystemEvent event)
processEvent in interface SystemEventListenerCopyright © 2017 The Apache Software Foundation. All rights reserved.