public interface IWorkflowContextCondition
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getActivatorID()
Get activator identifier.
|
com.mega.modeling.api.MegaObject |
getCurrentWorkflowStatusInstance()
Retrieves the MegaObject of current workflow status instance (Read
only).
|
com.mega.modeling.api.MegaObject |
getCurrentWorkflowStatusInstanceDescription()
Retrieves the MegaObject of current workflow status instance (Read
only).
|
com.mega.modeling.api.MegaObject |
getNewWorkflowStatusInstance()
Retrieves the MegaObject of new workflow status instance (Read only).
|
com.mega.modeling.api.MegaObject |
getNewWorkflowStatusInstanceDescription()
Retrieves the MegaObject of new workflow status instance (Read only).
|
com.mega.modeling.api.MegaRoot |
getRoot()
Retrieves the MEGA root object (Read only).
|
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 |
getWorkflowAction()
Retrieves workflow action (Read only).
|
java.lang.String |
getWorkflowActionID()
Retrieves the MegaField of current workflow action (Read only).
|
com.mega.modeling.api.MegaObject |
getWorkflowCondition()
Retrieves the MegaObject of subject of current workflow instance (Read
only).
|
com.mega.modeling.api.MegaObject |
getWorkflowDefinition()
Retrieves current workflow definition (Read only).
|
java.lang.String |
getWorkflowDefinitionID()
Retrieves the MegaField of current workflow definition (Read only).
|
com.mega.modeling.api.MegaObject |
getWorkflowInstance()
Retrieves the MegaObject of current workflow status instance (Read
only). The specification of this MegaObject is available in the
informal query "~y1H7f3I6FXfH[Workflow Instance Description]"
|
com.mega.modeling.api.MegaObject |
getWorkflowInstanceDescription()
Retrieves the MegaObject of current workflow status instance (Read
only). The specification of this MegaObject is available in the
informal query "~y1H7f3I6FXfH[Workflow Instance Description]"
|
com.mega.modeling.api.MegaObject |
getWorkflowSubject()
Retrieves the MegaObject of subject of current workflow instance (Read
only).
|
com.mega.modeling.api.MegaObject |
getWorkflowTransition()
Retrieves current workflow transition (Read only).
|
java.lang.String |
getWorkflowTransitionID()
Retrieves the MegaField of current workflow transition (Read only).
|
boolean |
isBatchMode()
Test if it's a mode batch.
|
com.mega.modeling.api.MegaRoot getRoot()
java.lang.String getActivatorID()
java.lang.String getWorkflowActionID()
com.mega.modeling.api.MegaObject getWorkflowAction()
java.lang.String getWorkflowDefinitionID()
com.mega.modeling.api.MegaObject getWorkflowDefinition()
java.lang.String getWorkflowTransitionID()
com.mega.modeling.api.MegaObject getWorkflowTransition()
com.mega.modeling.api.MegaObject getWorkflowSubject()
com.mega.modeling.api.MegaObject getWorkflowCondition()
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.MegaObject getNewWorkflowStatusInstance()
com.mega.modeling.api.MegaObject getNewWorkflowStatusInstanceDescription()
com.mega.modeling.api.MegaObject getWorkflowInstance()
com.mega.modeling.api.MegaObject getWorkflowInstanceDescription()
com.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.MegaExceptionboolean isBatchMode()