public abstract class AbstractCasWebflowConfigurer extends java.lang.Object implements CasWebflowConfigurer
AbstractCasWebflowConfigurer
is responsible for
providing an entry point into the CAS webflow.Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationContext |
applicationContext
Application context.
|
protected CasConfigurationProperties |
casProperties
CAS Properties.
|
protected org.springframework.webflow.engine.builder.support.FlowBuilderServices |
flowBuilderServices
Flow builder services.
|
protected org.springframework.webflow.definition.registry.FlowDefinitionRegistry |
loginFlowDefinitionRegistry
The Login flow definition registry.
|
protected org.springframework.webflow.definition.registry.FlowDefinitionRegistry |
logoutFlowDefinitionRegistry
The logout flow definition registry.
|
FLOW_ID_LOGIN, FLOW_ID_LOGOUT
Constructor and Description |
---|
AbstractCasWebflowConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
addActionsToActionStateExecutionListAt(org.springframework.webflow.engine.Flow flow,
java.lang.String actionStateId,
int position,
org.springframework.webflow.action.EvaluateAction... actions)
Add actions to action state execution list at.
|
void |
appendActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow,
java.lang.String actionStateId,
org.springframework.webflow.action.EvaluateAction... actions)
Append actions to action state execution list.
|
org.springframework.webflow.engine.Flow |
buildFlow(java.lang.String location,
java.lang.String id)
Build flow.
|
void |
cloneActionState(org.springframework.webflow.engine.ActionState source,
org.springframework.webflow.engine.ActionState target)
Clone action state.
|
boolean |
containsFlowState(org.springframework.webflow.engine.Flow flow,
java.lang.String stateId)
Contains flow state?
|
boolean |
containsSubflowState(org.springframework.webflow.engine.Flow flow,
java.lang.String stateId)
Contains subflow state.
|
boolean |
containsTransition(org.springframework.webflow.engine.TransitionableState state,
java.lang.String transition)
Contains transition boolean.
|
org.springframework.webflow.engine.ActionState |
createActionState(org.springframework.webflow.engine.Flow flow,
java.lang.String name)
Create action state action state.
|
org.springframework.webflow.engine.ActionState |
createActionState(org.springframework.webflow.engine.Flow flow,
java.lang.String name,
org.springframework.webflow.execution.Action... actions)
Create action state action state.
|
org.springframework.webflow.engine.ActionState |
createActionState(org.springframework.webflow.engine.Flow flow,
java.lang.String name,
org.springframework.webflow.execution.Action action)
Create action state action state.
|
org.springframework.webflow.engine.ActionState |
createActionState(org.springframework.webflow.engine.Flow flow,
java.lang.String name,
java.lang.String action)
Create action state action state.
|
void |
createClonedActionState(org.springframework.webflow.engine.Flow flow,
java.lang.String actionStateId,
java.lang.String actionStateIdToClone)
Clone and create action state.
|
org.springframework.webflow.engine.DecisionState |
createDecisionState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.String testExpression,
java.lang.String thenStateId,
java.lang.String elseStateId)
Create decision state decision state.
|
org.springframework.webflow.engine.EndState |
createEndState(org.springframework.webflow.engine.Flow flow,
java.lang.String id)
Create end state.
|
org.springframework.webflow.engine.EndState |
createEndState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
org.springframework.binding.expression.Expression expression)
Create end state.
|
org.springframework.webflow.engine.EndState |
createEndState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.String viewId)
Create end state.
|
org.springframework.webflow.engine.EndState |
createEndState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.String viewId,
boolean redirect)
Create end state with option to handle an external redirect.
|
org.springframework.webflow.engine.EndState |
createEndState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
org.springframework.webflow.execution.ViewFactory viewFactory)
Create end state.
|
org.springframework.webflow.action.EvaluateAction |
createEvaluateAction(java.lang.String expression)
Create evaluate action evaluate action.
|
org.springframework.webflow.execution.Action |
createEvaluateActionForExistingActionState(org.springframework.webflow.engine.Flow flow,
java.lang.String actionStateId,
java.lang.String evaluateActionId)
Create evaluate action for action state action.
|
org.springframework.binding.expression.Expression |
createExpression(java.lang.String expression)
Create expression.
|
org.springframework.binding.expression.Expression |
createExpression(java.lang.String expression,
java.lang.Class expectedType)
Create expression expression.
|
org.springframework.webflow.engine.FlowVariable |
createFlowVariable(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.Class type)
Create flow variable flow variable.
|
org.springframework.binding.mapping.Mapper |
createMapperToSubflowState(java.util.List<org.springframework.binding.mapping.impl.DefaultMapping> mappings)
Create mapper to subflow state.
|
org.springframework.binding.mapping.impl.DefaultMapping |
createMappingToSubflowState(java.lang.String name,
java.lang.String value,
boolean required,
java.lang.Class type)
Create mapping to subflow state.
|
org.springframework.webflow.engine.builder.BinderConfiguration |
createStateBinderConfiguration(java.util.List<java.lang.String> properties)
Create state model bindings.
|
void |
createStateDefaultTransition(org.springframework.webflow.engine.TransitionableState state,
org.springframework.webflow.definition.StateDefinition targetState)
Create state default transition.
|
void |
createStateDefaultTransition(org.springframework.webflow.engine.TransitionableState state,
java.lang.String targetState)
Add a default transition to a given state.
|
void |
createStateModelBinding(org.springframework.webflow.engine.TransitionableState state,
java.lang.String modelName,
java.lang.Class modelType)
Create state model binding.
|
org.springframework.webflow.engine.SubflowAttributeMapper |
createSubflowAttributeMapper(org.springframework.binding.mapping.Mapper inputMapper,
org.springframework.binding.mapping.Mapper outputMapper)
Create subflow attribute mapper.
|
org.springframework.webflow.engine.SubflowState |
createSubflowState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.String subflow)
Create subflow state subflow state.
|
org.springframework.webflow.engine.SubflowState |
createSubflowState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.String subflow,
org.springframework.webflow.execution.Action entryAction)
Create subflow state subflow state.
|
org.springframework.webflow.engine.Transition |
createTransition(org.springframework.binding.expression.Expression criteriaOutcomeExpression,
java.lang.String targetState)
Create transition transition.
|
org.springframework.webflow.engine.Transition |
createTransition(java.lang.String targetState)
Create transition transition.
|
org.springframework.webflow.engine.Transition |
createTransition(java.lang.String criteriaOutcome,
java.lang.String targetState)
Create transition transition.
|
org.springframework.webflow.engine.Transition |
createTransition(java.lang.String criteriaOutcome,
org.springframework.webflow.engine.TransitionableState targetState)
Create transition transition.
|
org.springframework.webflow.engine.Transition |
createTransitionForState(org.springframework.webflow.engine.TransitionableState state,
java.lang.String criteriaOutcome,
java.lang.String targetState)
Create transition for state transition.
|
org.springframework.webflow.engine.Transition |
createTransitionForState(org.springframework.webflow.engine.TransitionableState state,
java.lang.String criteriaOutcome,
java.lang.String targetState,
boolean removeExisting)
Add transition to action state.
|
void |
createTransitionsForState(org.springframework.webflow.engine.Flow flow,
java.lang.String stateId,
java.util.Map<java.lang.String,java.lang.String> criteriaAndTargets)
Create transitions for state.
|
org.springframework.webflow.engine.ViewState |
createViewState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
org.springframework.binding.expression.Expression expression,
org.springframework.webflow.engine.builder.BinderConfiguration binder)
Create view state view state.
|
org.springframework.webflow.engine.ViewState |
createViewState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.String viewId)
Create view state view state.
|
org.springframework.webflow.engine.ViewState |
createViewState(org.springframework.webflow.engine.Flow flow,
java.lang.String id,
java.lang.String viewId,
org.springframework.webflow.engine.builder.BinderConfiguration binder)
Create view state view state.
|
protected abstract void |
doInitialize()
Handle the initialization of the webflow.
|
org.springframework.binding.expression.Expression |
getExpressionStringFromAction(org.springframework.webflow.action.EvaluateAction act)
Gets expression string from action.
|
org.springframework.webflow.engine.Flow |
getLoginFlow()
Gets login flow.
|
org.springframework.webflow.engine.Flow |
getLogoutFlow()
Gets logout flow.
|
org.springframework.binding.expression.spel.SpringELExpressionParser |
getSpringExpressionParser()
Gets spring expression parser.
|
org.springframework.webflow.engine.TransitionableState |
getStartState(org.springframework.webflow.engine.Flow flow)
Gets start state.
|
org.springframework.webflow.engine.TransitionableState |
getState(org.springframework.webflow.engine.Flow flow,
java.lang.String stateId)
Gets state.
|
<T> T |
getState(org.springframework.webflow.engine.Flow flow,
java.lang.String stateId,
java.lang.Class<T> clazz)
Gets state.
|
org.springframework.webflow.engine.TransitionableState |
getTransitionableState(org.springframework.webflow.engine.Flow flow,
java.lang.String stateId)
Gets transitionable state.
|
<T extends org.springframework.webflow.engine.TransitionableState> |
getTransitionableState(org.springframework.webflow.engine.Flow flow,
java.lang.String stateId,
java.lang.Class<T> clazz)
Gets transitionable state.
|
java.util.List<org.springframework.webflow.engine.TransitionCriteria> |
getTransitionExecutionCriteriaChainForTransition(org.springframework.webflow.engine.Transition def)
Gets transition execution criteria chain for transition.
|
org.springframework.webflow.engine.builder.BinderConfiguration |
getViewStateBinderConfiguration(org.springframework.webflow.engine.ViewState state)
Gets state binder configuration.
|
void |
initialize()
Initialize.
|
void |
prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow,
org.springframework.webflow.engine.ActionState actionStateId,
org.springframework.webflow.action.EvaluateAction... actions)
Prepend actions to action state execution list.
|
void |
prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow,
org.springframework.webflow.engine.ActionState actionStateId,
java.lang.String... actions)
Prepend actions to action state execution list.
|
void |
prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow,
java.lang.String actionStateId,
org.springframework.webflow.action.EvaluateAction... actions)
Prepend actions to action state execution list.
|
void |
prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow,
java.lang.String actionStateId,
java.lang.String... actions)
Prepend actions to action state execution list.
|
void |
registerMultifactorProvidersStateTransitionsIntoWebflow(org.springframework.webflow.engine.TransitionableState state)
Register multifactor providers state transitions into webflow.
|
void |
setStartState(org.springframework.webflow.engine.Flow flow,
java.lang.String state)
Sets start state.
|
void |
setStartState(org.springframework.webflow.engine.Flow flow,
org.springframework.webflow.engine.TransitionableState state)
Sets start state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
protected org.springframework.webflow.definition.registry.FlowDefinitionRegistry logoutFlowDefinitionRegistry
protected final org.springframework.webflow.engine.builder.support.FlowBuilderServices flowBuilderServices
protected final org.springframework.webflow.definition.registry.FlowDefinitionRegistry loginFlowDefinitionRegistry
protected final org.springframework.context.ApplicationContext applicationContext
protected final CasConfigurationProperties casProperties
public void initialize()
CasWebflowConfigurer
initialize
in interface CasWebflowConfigurer
protected abstract void doInitialize()
public org.springframework.webflow.engine.Flow buildFlow(java.lang.String location, java.lang.String id)
CasWebflowConfigurer
buildFlow
in interface CasWebflowConfigurer
location
- the locationid
- the idpublic org.springframework.webflow.engine.Flow getLoginFlow()
CasWebflowConfigurer
getLoginFlow
in interface CasWebflowConfigurer
public org.springframework.webflow.engine.Flow getLogoutFlow()
CasWebflowConfigurer
getLogoutFlow
in interface CasWebflowConfigurer
public org.springframework.webflow.engine.TransitionableState getStartState(org.springframework.webflow.engine.Flow flow)
CasWebflowConfigurer
getStartState
in interface CasWebflowConfigurer
flow
- the flowpublic org.springframework.webflow.engine.ActionState createActionState(org.springframework.webflow.engine.Flow flow, java.lang.String name)
flow
- the flowname
- the namepublic org.springframework.webflow.engine.ActionState createActionState(org.springframework.webflow.engine.Flow flow, java.lang.String name, java.lang.String action)
flow
- the flowname
- the nameaction
- the actionpublic org.springframework.webflow.engine.ActionState createActionState(org.springframework.webflow.engine.Flow flow, java.lang.String name, org.springframework.webflow.execution.Action action)
flow
- the flowname
- the nameaction
- the actionpublic org.springframework.webflow.engine.ActionState createActionState(org.springframework.webflow.engine.Flow flow, java.lang.String name, org.springframework.webflow.execution.Action... actions)
CasWebflowConfigurer
createActionState
in interface CasWebflowConfigurer
flow
- the flowname
- the nameactions
- the actionspublic org.springframework.webflow.engine.DecisionState createDecisionState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String testExpression, java.lang.String thenStateId, java.lang.String elseStateId)
CasWebflowConfigurer
createDecisionState
in interface CasWebflowConfigurer
flow
- the flowid
- the idtestExpression
- the test expressionthenStateId
- the then state idelseStateId
- the else state idpublic void setStartState(org.springframework.webflow.engine.Flow flow, java.lang.String state)
CasWebflowConfigurer
setStartState
in interface CasWebflowConfigurer
flow
- the flowstate
- the statepublic void setStartState(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.TransitionableState state)
CasWebflowConfigurer
setStartState
in interface CasWebflowConfigurer
flow
- the flowstate
- the statepublic org.springframework.webflow.action.EvaluateAction createEvaluateAction(java.lang.String expression)
CasWebflowConfigurer
createEvaluateAction
in interface CasWebflowConfigurer
expression
- the expressionpublic void createStateDefaultTransition(org.springframework.webflow.engine.TransitionableState state, java.lang.String targetState)
state
- the state to include the default transitiontargetState
- the id of the destination state to which the flow should transferpublic void createStateDefaultTransition(org.springframework.webflow.engine.TransitionableState state, org.springframework.webflow.definition.StateDefinition targetState)
state
- the statetargetState
- the target statepublic void prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.ActionState actionStateId, java.lang.String... actions)
flow
- the flowactionStateId
- the action state idactions
- the actionspublic void prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, java.lang.String... actions)
flow
- the flowactionStateId
- the action state idactions
- the actionspublic void prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, org.springframework.webflow.action.EvaluateAction... actions)
flow
- the flowactionStateId
- the action state idactions
- the actionspublic void prependActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, org.springframework.webflow.engine.ActionState actionStateId, org.springframework.webflow.action.EvaluateAction... actions)
flow
- the flowactionStateId
- the action state idactions
- the actionspublic void appendActionsToActionStateExecutionList(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, org.springframework.webflow.action.EvaluateAction... actions)
flow
- the flowactionStateId
- the action state idactions
- the actionspublic void addActionsToActionStateExecutionListAt(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, int position, org.springframework.webflow.action.EvaluateAction... actions)
flow
- the flowactionStateId
- the action state idposition
- the positionactions
- the actionspublic org.springframework.webflow.engine.Transition createTransitionForState(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState)
state
- the statecriteriaOutcome
- the criteria outcometargetState
- the target statepublic org.springframework.webflow.engine.Transition createTransitionForState(org.springframework.webflow.engine.TransitionableState state, java.lang.String criteriaOutcome, java.lang.String targetState, boolean removeExisting)
state
- the action statecriteriaOutcome
- the criteria outcometargetState
- the target stateremoveExisting
- the remove existingpublic org.springframework.webflow.engine.Transition createTransition(java.lang.String criteriaOutcome, java.lang.String targetState)
CasWebflowConfigurer
createTransition
in interface CasWebflowConfigurer
criteriaOutcome
- the criteria outcometargetState
- the target statepublic org.springframework.webflow.engine.Transition createTransition(java.lang.String criteriaOutcome, org.springframework.webflow.engine.TransitionableState targetState)
CasWebflowConfigurer
createTransition
in interface CasWebflowConfigurer
criteriaOutcome
- the criteria outcometargetState
- the target statepublic org.springframework.webflow.engine.Transition createTransition(java.lang.String targetState)
CasWebflowConfigurer
createTransition
in interface CasWebflowConfigurer
targetState
- the target statepublic org.springframework.webflow.engine.Transition createTransition(org.springframework.binding.expression.Expression criteriaOutcomeExpression, java.lang.String targetState)
CasWebflowConfigurer
createTransition
in interface CasWebflowConfigurer
criteriaOutcomeExpression
- the criteria outcome expressiontargetState
- the target statepublic org.springframework.binding.expression.Expression createExpression(java.lang.String expression, java.lang.Class expectedType)
expression
- the expressionexpectedType
- the expected typepublic org.springframework.binding.expression.Expression createExpression(java.lang.String expression)
expression
- the expressionpublic org.springframework.binding.expression.spel.SpringELExpressionParser getSpringExpressionParser()
public org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id)
CasWebflowConfigurer
createEndState
in interface CasWebflowConfigurer
flow
- the flowid
- the idpublic org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)
CasWebflowConfigurer
createEndState
in interface CasWebflowConfigurer
flow
- the flowid
- the idviewId
- the view idpublic org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.binding.expression.Expression expression)
CasWebflowConfigurer
createEndState
in interface CasWebflowConfigurer
flow
- the flowid
- the idexpression
- the expressionpublic org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId, boolean redirect)
CasWebflowConfigurer
createEndState
in interface CasWebflowConfigurer
flow
- the flowid
- the idviewId
- the view idredirect
- the redirectpublic org.springframework.webflow.engine.EndState createEndState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.webflow.execution.ViewFactory viewFactory)
CasWebflowConfigurer
createEndState
in interface CasWebflowConfigurer
flow
- the flowid
- the idviewFactory
- the view factorypublic org.springframework.webflow.engine.ViewState createViewState(org.springframework.webflow.engine.Flow flow, java.lang.String id, org.springframework.binding.expression.Expression expression, org.springframework.webflow.engine.builder.BinderConfiguration binder)
CasWebflowConfigurer
createViewState
in interface CasWebflowConfigurer
flow
- the flowid
- the idexpression
- the expressionbinder
- the binderpublic org.springframework.webflow.engine.ViewState createViewState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId)
CasWebflowConfigurer
createViewState
in interface CasWebflowConfigurer
flow
- the flowid
- the idviewId
- the view idpublic org.springframework.webflow.engine.ViewState createViewState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String viewId, org.springframework.webflow.engine.builder.BinderConfiguration binder)
CasWebflowConfigurer
createViewState
in interface CasWebflowConfigurer
flow
- the flowid
- the idviewId
- the view idbinder
- the binderpublic org.springframework.webflow.engine.SubflowState createSubflowState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String subflow, org.springframework.webflow.execution.Action entryAction)
CasWebflowConfigurer
createSubflowState
in interface CasWebflowConfigurer
flow
- the flowid
- the idsubflow
- the subflowentryAction
- the entry actionpublic org.springframework.webflow.engine.SubflowState createSubflowState(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.String subflow)
CasWebflowConfigurer
createSubflowState
in interface CasWebflowConfigurer
flow
- the flowid
- the idsubflow
- the subflowpublic org.springframework.binding.mapping.Mapper createMapperToSubflowState(java.util.List<org.springframework.binding.mapping.impl.DefaultMapping> mappings)
mappings
- the mappingspublic org.springframework.binding.mapping.impl.DefaultMapping createMappingToSubflowState(java.lang.String name, java.lang.String value, boolean required, java.lang.Class type)
name
- the namevalue
- the valuerequired
- the requiredtype
- the typepublic org.springframework.webflow.engine.SubflowAttributeMapper createSubflowAttributeMapper(org.springframework.binding.mapping.Mapper inputMapper, org.springframework.binding.mapping.Mapper outputMapper)
inputMapper
- the input mapperoutputMapper
- the output mapperpublic boolean containsFlowState(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)
flow
- the flowstateId
- the state idpublic boolean containsSubflowState(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)
flow
- the flowstateId
- the state idpublic boolean containsTransition(org.springframework.webflow.engine.TransitionableState state, java.lang.String transition)
state
- the statetransition
- the transitionpublic org.springframework.webflow.engine.FlowVariable createFlowVariable(org.springframework.webflow.engine.Flow flow, java.lang.String id, java.lang.Class type)
flow
- the flowid
- the idtype
- the typepublic org.springframework.webflow.engine.builder.BinderConfiguration createStateBinderConfiguration(java.util.List<java.lang.String> properties)
properties
- the propertiespublic void createStateModelBinding(org.springframework.webflow.engine.TransitionableState state, java.lang.String modelName, java.lang.Class modelType)
state
- the statemodelName
- the model namemodelType
- the model typepublic org.springframework.webflow.engine.builder.BinderConfiguration getViewStateBinderConfiguration(org.springframework.webflow.engine.ViewState state)
state
- the statepublic void cloneActionState(org.springframework.webflow.engine.ActionState source, org.springframework.webflow.engine.ActionState target)
source
- the sourcetarget
- the targetpublic java.util.List<org.springframework.webflow.engine.TransitionCriteria> getTransitionExecutionCriteriaChainForTransition(org.springframework.webflow.engine.Transition def)
def
- the defpublic org.springframework.binding.expression.Expression getExpressionStringFromAction(org.springframework.webflow.action.EvaluateAction act)
act
- the actpublic void registerMultifactorProvidersStateTransitionsIntoWebflow(org.springframework.webflow.engine.TransitionableState state)
state
- the statepublic org.springframework.webflow.execution.Action createEvaluateActionForExistingActionState(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, java.lang.String evaluateActionId)
flow
- the flowactionStateId
- the action state idevaluateActionId
- the evaluate action idpublic void createClonedActionState(org.springframework.webflow.engine.Flow flow, java.lang.String actionStateId, java.lang.String actionStateIdToClone)
flow
- the flowactionStateId
- the action state idactionStateIdToClone
- the action state id to clonepublic <T> T getState(org.springframework.webflow.engine.Flow flow, java.lang.String stateId, java.lang.Class<T> clazz)
T
- the type parameterflow
- the flowstateId
- the state idclazz
- the clazzpublic org.springframework.webflow.engine.TransitionableState getState(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)
flow
- the flowstateId
- the state idpublic <T extends org.springframework.webflow.engine.TransitionableState> T getTransitionableState(org.springframework.webflow.engine.Flow flow, java.lang.String stateId, java.lang.Class<T> clazz)
T
- the type parameterflow
- the flowstateId
- the state idclazz
- the clazzpublic org.springframework.webflow.engine.TransitionableState getTransitionableState(org.springframework.webflow.engine.Flow flow, java.lang.String stateId)
flow
- the flowstateId
- the state idpublic void createTransitionsForState(org.springframework.webflow.engine.Flow flow, java.lang.String stateId, java.util.Map<java.lang.String,java.lang.String> criteriaAndTargets)
flow
- the flowstateId
- the state idcriteriaAndTargets
- the criteria and targets