Class BaseTransitionAction<T extends StateEntity>
java.lang.Object
org.chenile.workflow.service.stmcmds.BaseTransitionAction<T>
- All Implemented Interfaces:
STMTransitionAction<T>
public class BaseTransitionAction<T extends StateEntity>
extends Object
implements STMTransitionAction<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate ApplicationContext
protected Map<String,
OrchExecutor<TransitionContext<T>>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
doTransition
(T entity, Object transitionParam, State startState, String eventId, State endState, STMInternalTransitionInvoker<?> stm, Transition transition) protected OrchExecutor<TransitionContext<T>>
obtainOrchExecutor
(String microActionsXml) protected void
processMicroactions
(String microActionsXml, TransitionContext<T> context) void
transition
(T entity, Object transitionParam, State startState, String eventId, State endState, STMInternalTransitionInvoker<?> stm)
-
Field Details
-
applicationContext
-
orchMap
-
-
Constructor Details
-
BaseTransitionAction
public BaseTransitionAction()
-
-
Method Details
-
doTransition
public final void doTransition(T entity, Object transitionParam, State startState, String eventId, State endState, STMInternalTransitionInvoker<?> stm, Transition transition) throws Exception - Specified by:
doTransition
in interfaceSTMTransitionAction<T extends StateEntity>
- Throws:
Exception
-
processMicroactions
protected void processMicroactions(String microActionsXml, TransitionContext<T> context) throws Exception - Throws:
Exception
-
obtainOrchExecutor
-
transition
public void transition(T entity, Object transitionParam, State startState, String eventId, State endState, STMInternalTransitionInvoker<?> stm) throws Exception - Throws:
Exception
-