public interface IWorkflowContextParticipant
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.
|
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.
|
com.mega.modeling.api.MegaObject |
getNewWorkflowStatusInstanceDescription()
Retrieves the MegaObject of new workflow status instance (Read only).
|
java.lang.String |
getParticipantWorkflowTransitionID()
Get transition identifier associated to the participant.
|
com.mega.modeling.api.MegaRoot |
getRoot()
Get root.
|
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.MegaCollection |
getUserFromProvidingTransition(java.lang.String strTransitionId)
Get activators of providing 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.
|
java.lang.String |
getWorkflowParticipantID()
Get participant identifier.
|
com.mega.modeling.api.MegaObject |
getWorkflowSubject()
Get subject identifier.
|
java.lang.String |
getWorkflowSubjectID()
Get subject identifier.
|
com.mega.modeling.api.MegaObject |
getWorkflowTransition()
Retrieves current workflow transition (Read only).
|
java.lang.String |
getWorkflowTransitionID()
Get triggering transition identifier.
|
com.mega.modeling.api.MegaRoot getRoot()
java.lang.String getWorkflowParticipantID()
java.lang.String getParticipantWorkflowTransitionID()
java.lang.String getWorkflowDefinitionID()
com.mega.modeling.api.MegaObject getWorkflowDefinition()
java.lang.String getWorkflowSubjectID()
com.mega.modeling.api.MegaObject getWorkflowSubject()
java.lang.String getActivatorID()
java.lang.String getWorkflowTransitionID()
com.mega.modeling.api.MegaObject getWorkflowTransition()
com.mega.modeling.api.MegaCollection getUserFromProvidingTransition(java.lang.String strTransitionId) throws com.mega.modeling.api.MegaException
strTransitionId
- Stringcom.mega.modeling.api.MegaException
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.MegaException
com.mega.modeling.api.MegaObject getCurrentWorkflowStatusInstanceDescription() throws com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaObject getNewWorkflowStatusInstance()
com.mega.modeling.api.MegaObject getNewWorkflowStatusInstanceDescription()
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.MegaException