|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FlowExecutorArgumentExtractor
A helper strategy used by the FlowRequestHandler to extract FlowExecutor method arguments from a
request initiated by an ExternalContext. The extracted arguments were typically exposed in the previous
response (the response that resulted in a new request) using a FlowExecutorArgumentExposer.
| Method Summary | |
|---|---|
java.lang.String |
extractEventId(ExternalContext context)
Extract the flow execution event id from the external context. |
java.lang.String |
extractFlowExecutionKey(ExternalContext context)
Extract the flow execution key from the external context. |
java.lang.String |
extractFlowId(ExternalContext context)
Extracts the flow id from the external context. |
boolean |
isEventIdPresent(ExternalContext context)
Returns true if the event id is extractable from the context. |
boolean |
isFlowExecutionKeyPresent(ExternalContext context)
Returns true if the flow execution key is extractable from the context. |
boolean |
isFlowIdPresent(ExternalContext context)
Returns true if the flow id is extractable from the context. |
| Method Detail |
|---|
boolean isFlowIdPresent(ExternalContext context)
context - the context in which a external user event occured
java.lang.String extractFlowId(ExternalContext context)
throws FlowExecutorArgumentExtractionException
context - the context in which a external user event occured
FlowExecutorArgumentExtractionException - if the flow id could not be extractedboolean isFlowExecutionKeyPresent(ExternalContext context)
context - the context in which a external user event occured
java.lang.String extractFlowExecutionKey(ExternalContext context)
throws FlowExecutorArgumentExtractionException
context - the context in which the external user event occured
FlowExecutorArgumentExtractionException - if the flow execution key could not be extractedboolean isEventIdPresent(ExternalContext context)
context - the context in which a external user event occured
java.lang.String extractEventId(ExternalContext context)
throws FlowExecutorArgumentExtractionException
This method should only be called if a FlowExecutionKey was successfully extracted, indicating a request
to resume a flow execution.
context - the context in which a external user event occured
FlowExecutorArgumentExtractionException - if the event id could not be extracted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||