public class CWrapperWorkflowContextEngine extends java.lang.Object implements IWorkflowContextEngine
| Constructor and Description |
|---|
CWrapperWorkflowContextEngine(com.mega.modeling.api.MegaCOMObject mgComBaseObject) |
CWrapperWorkflowContextEngine(WorkflowContextEngine jvobjWorkflowContextEngine) |
| Modifier and Type | Method and Description |
|---|---|
com.mega.modeling.api.MegaCollection |
getActivatorParticipantsFromStatusInstance(com.mega.modeling.api.MegaObject mgobjWorkflowStatusInstance,
com.mega.modeling.api.MegaObject mgobjActivator) |
com.mega.modeling.api.MegaCollection |
getActivatorParticipantsFromTransitionInstance(com.mega.modeling.api.MegaObject mgobjTransitionInstance,
com.mega.modeling.api.MegaObject mgobjActivator) |
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 (Read
only). The specification of this MegaObject is available in the
informal query "~9rw21p03Fb3C[Workflow Status Instance Description]"
|
com.mega.modeling.api.MegaObject |
getCurrentWorkflowStatusInstanceDescription()
Retrieves the MegaObject of current workflow status instance (Read
only). The specification of this MegaObject is available in the
informal query "~9rw21p03Fb3C[Workflow Status Instance Description]"
|
com.mega.modeling.api.MegaRoot |
getRoot()
Retrieves the MEGA root object (Read only).
|
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()
Retrieves the MegaField of 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).
|
java.lang.String |
getWorkflowSubjectID()
Retrieves the MegaObject of subject of current workflow instance (Read
only).
|
boolean |
isBatchMode()
Test if it's a mode batch.
|
public CWrapperWorkflowContextEngine(com.mega.modeling.api.MegaCOMObject mgComBaseObject)
public CWrapperWorkflowContextEngine(WorkflowContextEngine jvobjWorkflowContextEngine)
public com.mega.modeling.api.MegaRoot getRoot()
getRoot in interface IWorkflowContextEnginepublic java.lang.String getWorkflowDefinitionID()
getWorkflowDefinitionID in interface IWorkflowContextEnginepublic com.mega.modeling.api.MegaObject getWorkflowDefinition()
getWorkflowDefinition in interface IWorkflowContextEnginepublic com.mega.modeling.api.MegaObject getWorkflowSubject()
getWorkflowSubject in interface IWorkflowContextEnginepublic java.lang.String getWorkflowSubjectID()
getWorkflowSubjectID in interface IWorkflowContextEnginepublic boolean isBatchMode()
isBatchMode in interface IWorkflowContextEnginepublic com.mega.modeling.api.MegaObject getCurrentWorkflowStatusInstance()
throws com.mega.modeling.api.MegaException
getCurrentWorkflowStatusInstance in interface IWorkflowContextEnginecom.mega.modeling.api.MegaExceptionpublic com.mega.modeling.api.MegaObject getCurrentWorkflowStatusInstanceDescription()
throws com.mega.modeling.api.MegaException
getCurrentWorkflowStatusInstanceDescription in interface IWorkflowContextEnginecom.mega.modeling.api.MegaExceptionpublic com.mega.modeling.api.MegaObject getWorkflowInstance()
getWorkflowInstance in interface IWorkflowContextEnginepublic com.mega.modeling.api.MegaObject getWorkflowInstanceDescription()
getWorkflowInstanceDescription in interface IWorkflowContextEnginepublic com.mega.modeling.api.MegaCollection getTransitionInstances(java.lang.String strTransitionInstancesParam)
throws com.mega.modeling.api.MegaException
IWorkflowContextEnginegetTransitionInstances in interface IWorkflowContextEnginestrTransitionInstancesParam - 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.MegaExceptionpublic com.mega.modeling.api.MegaCollection getActivatorParticipantsFromTransitionInstance(com.mega.modeling.api.MegaObject mgobjTransitionInstance,
com.mega.modeling.api.MegaObject mgobjActivator)
throws com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaExceptionpublic com.mega.modeling.api.MegaCollection getActivatorParticipantsFromStatusInstance(com.mega.modeling.api.MegaObject mgobjWorkflowStatusInstance,
com.mega.modeling.api.MegaObject mgobjActivator)
throws com.mega.modeling.api.MegaException
com.mega.modeling.api.MegaExceptionpublic int getTransitionCount()
getTransitionCount in interface IWorkflowContextEnginepublic com.mega.modeling.api.MegaCollection getTransition(java.lang.String strCount)
throws com.mega.modeling.api.MegaException
getTransition in interface IWorkflowContextEnginestrCount - a String "Count=X" where X in an integercom.mega.modeling.api.MegaExceptionpublic com.mega.modeling.api.MegaCollection getAssignedPersonsFromTransitionInstance(com.mega.modeling.api.MegaObject mgobjWorkflowTransitionInstance)
throws com.mega.modeling.api.MegaException
getAssignedPersonsFromTransitionInstance in interface IWorkflowContextEnginemgobjWorkflowTransitionInstance - MegaObject corresponding to a
workflow transition instancecom.mega.modeling.api.MegaException