public interface IWorkflowContextEngine
| Modifier and Type | Method and Description |
|---|---|
com.mega.modeling.api.MegaCollection |
getAssignedPersonsFromTransitionInstance(com.mega.modeling.api.MegaObject mgobjWorkflowTransitionInstance)
Returns the collection of persons assigned for a workflow transition
instance
|
com.mega.modeling.api.MegaObject |
getCurrentWorkflowStatusInstance()
Retrieves the MegaObject of current Workflow Status Instance.
|
com.mega.modeling.api.MegaObject |
getCurrentWorkflowStatusInstanceDescription()
Retrieves the MegaObject of current workflow status instance (Read
only).
|
com.mega.modeling.api.MegaRoot |
getRoot()
Get root.
|
com.mega.modeling.api.MegaCollection |
getTransition(java.lang.String strCount)
Returns the workflow transition instances (read-only informal
MegaCollection) corresponding to the "strCount" triggered transition
where strCount is first, second, third etc.
|
int |
getTransitionCount()
Retrieves the number of triggered transitions of a workflow instance
|
com.mega.modeling.api.MegaCollection |
getTransitionInstances(java.lang.String strTransitionInstancesParam)
Retrieves the collection of workflow transition instances (Read only)
corresponding to the asked transition.
|
com.mega.modeling.api.MegaObject |
getWorkflowDefinition()
Get workflow definition.
|
java.lang.String |
getWorkflowDefinitionID()
Get workflow definition identifier.
|
com.mega.modeling.api.MegaObject |
getWorkflowInstance()
Get workflow instance description.
|
com.mega.modeling.api.MegaObject |
getWorkflowInstanceDescription()
Get workflow instance description.
|
com.mega.modeling.api.MegaObject |
getWorkflowSubject()
Get subject identifier.
|
java.lang.String |
getWorkflowSubjectID()
Get subject identifier.
|
boolean |
isBatchMode()
Test if it's a mode batch.
|
com.mega.modeling.api.MegaRoot getRoot()
java.lang.String getWorkflowDefinitionID()
com.mega.modeling.api.MegaObject getWorkflowDefinition()
java.lang.String getWorkflowSubjectID()
com.mega.modeling.api.MegaObject getWorkflowSubject()
boolean isBatchMode()
com.mega.modeling.api.MegaObject getWorkflowInstance()
com.mega.modeling.api.MegaObject getWorkflowInstanceDescription()
com.mega.modeling.api.MegaObject getCurrentWorkflowStatusInstance()
throws com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaExceptioncom.mega.modeling.api.MegaObject getCurrentWorkflowStatusInstanceDescription()
throws com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaExceptioncom.mega.modeling.api.MegaCollection getTransitionInstances(java.lang.String strTransitionInstancesParam)
throws com.mega.modeling.api.MegaException
strTransitionInstancesParam - String describing the requested transition instances. The
string is the concatenation of 3 possible fields: "Current",
"Previous" or "Next" (to get the current, previous or next
transition instances) "Transition=strMegaField" (where
strMegaField is the MegaField of a Workflow Transition)
"Iteration=intIteration" (where intIteration is an integer
corresponding to the transition "Transition=strMegaField" )
"Iteration=1" means the most recent "Transition=strMegaField",
"Iteration=2" means the previous one etc. For example :
GetTransitionInstances("Current") returns the current transition
workflow transition instances GetTransitionInstances("Next")
returns the next transition workflow transition instances
GetTransitionInstances("Previous") returns the previous transition
workflow transtion instances
GetTransitionInstances("Previous,Transition=~vtBtb)juFH)T[To be
closed]) returns the previous workflow transition instances
corresponding to the transition "To be closed"
GetTransitionInstances
("Previous,Transition=~vtBtb)juFH)T[To be closed],Iteration=2")
returns the previous workflow transition instances
corresponding to the second most recent transition "To be closed"
GetTransitionInstances
("Next,Transition=~vtBtb)juFH)T[To be closed]") returns the next
workflow transition instance corresponding to the transition
"To be closed" com.mega.modeling.api.MegaExceptionint getTransitionCount()
com.mega.modeling.api.MegaCollection getTransition(java.lang.String strCount)
throws com.mega.modeling.api.MegaException
strCount - a String "Count=X" where X in an integercom.mega.modeling.api.MegaExceptioncom.mega.modeling.api.MegaCollection getAssignedPersonsFromTransitionInstance(com.mega.modeling.api.MegaObject mgobjWorkflowTransitionInstance)
throws com.mega.modeling.api.MegaException
mgobjWorkflowTransitionInstance - MegaObject corresponding to a workflow transition instancecom.mega.modeling.api.MegaException