|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.executor.support.FlowExecutorArgumentHandler
org.springframework.webflow.executor.support.RequestParameterFlowExecutorArgumentHandler
org.springframework.webflow.executor.jsf.FlowNavigationHandlerArgumentExtractor
public class FlowNavigationHandlerArgumentExtractor
An FlowExecutorArgumentExtractor that is aware of JSF
outcomes that communicate requests to launch flow executions and
signal event in existing flow executions.
| Constructor Summary | |
|---|---|
FlowNavigationHandlerArgumentExtractor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
extractEventId(ExternalContext context)
Extract the flow execution event id from the external context. |
java.lang.String |
extractFlowId(ExternalContext context)
Extracts the flow id from the external context. |
java.lang.String |
getFlowIdPrefix()
Returns the configured prefix for outcome strings that indicate a new flow should be launched. |
boolean |
isEventIdPresent(ExternalContext context)
Returns true if the event id is extractable from the context. |
boolean |
isFlowIdPresent(ExternalContext context)
Returns true if the flow id is extractable from the context. |
void |
setFlowIdPrefix(java.lang.String flowIdPrefix)
Sets the prefix of a outcome string that indicates a new flow should be launched. |
| Methods inherited from class org.springframework.webflow.executor.support.RequestParameterFlowExecutorArgumentHandler |
|---|
appendFlowExecutorPath, appendQueryParameter, appendQueryParameters, createExternalUrl, createFlowDefinitionUrl, createFlowExecutionUrl, extractFlowExecutionKey, findParameter, getParameterValueDelimiter, isFlowExecutionKeyPresent, setParameterValueDelimiter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowNavigationHandlerArgumentExtractor()
| Method Detail |
|---|
public java.lang.String getFlowIdPrefix()
public void setFlowIdPrefix(java.lang.String flowIdPrefix)
public boolean isEventIdPresent(ExternalContext context)
FlowExecutorArgumentExtractor
isEventIdPresent in interface FlowExecutorArgumentExtractorisEventIdPresent in class RequestParameterFlowExecutorArgumentHandlercontext - the context in which a external user event occured
public java.lang.String extractEventId(ExternalContext context)
throws FlowExecutorArgumentExtractionException
FlowExecutorArgumentExtractor
This method should only be called if a FlowExecutionKey was
successfully extracted, indicating a request to resume a flow execution.
extractEventId in interface FlowExecutorArgumentExtractorextractEventId in class RequestParameterFlowExecutorArgumentHandlercontext - the context in which a external user event occured
FlowExecutorArgumentExtractionException - if the event id could not
be extracted
public boolean isFlowIdPresent(ExternalContext context)
throws FlowExecutorArgumentExtractionException
FlowExecutorArgumentExtractor
isFlowIdPresent in interface FlowExecutorArgumentExtractorisFlowIdPresent in class RequestParameterFlowExecutorArgumentHandlercontext - the context in which a external user event occured
FlowExecutorArgumentExtractionException
public java.lang.String extractFlowId(ExternalContext context)
throws FlowExecutorArgumentExtractionException
FlowExecutorArgumentExtractor
extractFlowId in interface FlowExecutorArgumentExtractorextractFlowId in class RequestParameterFlowExecutorArgumentHandlercontext - the context in which a external user event occured
FlowExecutorArgumentExtractionException - if the flow id could not
be extracted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||