completed(Integer stepId, Map context, String userId) Marks step as completed, evaluates transitions from it and new step instances.
Parameters: stepId - Control step Id.
getStepsByDefinitionNameAndStatus(String defName, String status) Returns steps with given step definition name and status.
This method can be used in guards of transitions which shall navigate from multiple instances of one step to a single instance
of another.
tokenize(Object obj) Converts object into collection of tokens according to the following rules:
a) If object is Iterator then each next() return value becomes a token.
Executes after code.
Parameters: context - evaluation context. If 'false' then interaction instance does not get created. throws: HammurapiWebException -
Marks step as completed, evaluates transitions from it and new step instances.
Parameters: stepId - Control step Id. If this parameter is not equal to internal step id then interaction rewindsto this stepId if step with this ID is processed or throws exception if step with this id is not foundor is not in "completed" status. throws: SQLException -
Convenience method to retrieve interaction instance properties.
Parameters: name - throws: SQLException -
getStep
public StepInstance getStep(String[] status)(Code)
Traverses steps tree. The tree is constructed from root steps with steps activated by the root steps as
children of respective steps.
Parameters: status - Array First available step with status equal to one of elements in the status array.
Returns steps with given step definition name and status.
This method can be used in guards of transitions which shall navigate from multiple instances of one step to a single instance
of another.
Parameters: defName - throws: SQLException -
getTransition
public TransitionInstance getTransition(int id) throws SQLException(Code)
Converts object into collection of tokens according to the following rules:
a) If object is Iterator then each next() return value becomes a token. b) If object is Enumeration then each
nextElement() return value becomes a token. c) If object is Boolean.FALSE then it is discarded d) Otherwise object per se becomes a token.
Parameters: obj -