public interface IFlow
extends java.io.Serializable
IFlowState
, one of them is the current one.Modifier and Type | Method and Description |
---|---|
IFlowComponent |
asComponent(Flow parent,
java.lang.String id)
Acquires an
IFlowComponent personality.Once acquired it cannot be changed, the same personality instance will be returned. |
IFlowAsDialog |
asDialog(java.lang.String title)
Acquires an
IFlowAsDialog personality.Once acquired it cannot be changed, the same personality instance will be returned. |
IFlowAsState |
asState(java.lang.String id)
Acquires an
IFlowAsState personality.Once acquired it cannot be changed, the same personality instance will be returned. |
boolean |
ensureStartup()
Called to ensure that the flow has-been started.
|
IFlowState |
getCurrentState() |
IFlowPersonality |
getFlowPersonality()
The flow personality.
|
java.lang.String |
getFocusCandidateName()
|
java.lang.String |
getLastActiveFieldName() |
java.lang.String |
getLastActiveFormName() |
IFlowState |
getPreviousState() |
IFlowState |
getState(java.lang.String id) |
boolean |
restartIfEnded()
Restarts the flow only if it is ended.
Subflows and flow components are forced to restart also. |
boolean ensureStartup()
boolean restartIfEnded()
IFlowState getCurrentState()
IFlowState getPreviousState()
IFlowState getState(java.lang.String id)
IFlowPersonality getFlowPersonality()
IFlowAsDialog asDialog(java.lang.String title)
IFlowAsDialog
personality.title
- - null if none.IFlowAsState asState(java.lang.String id)
IFlowAsState
personality.id
- IFlowComponent asComponent(Flow parent, java.lang.String id)
IFlowComponent
personality.parent
- id
- java.lang.String getLastActiveFormName()
IFlow
.java.lang.String getLastActiveFieldName()
getLastActiveFormName()
received by this IFlow
.java.lang.String getFocusCandidateName()
getLastActiveFormName()
) to
which the system has to try to give the focus.