|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProcessDefinition
The client view of a workflow process.
A process definition normally comprises a number of discrete activity steps, with associated computer and/or human operations and rules governing the progression of the process through the various activity steps.
| Method Summary | |
|---|---|
Activity |
getActivity(String id)
Gets the specified activity. |
List |
getAllActivities()
Gets all activities defined for this process definition. |
List |
getAllDataPaths()
Gets all data paths defined for this process definition. |
List<Transition> |
getAllTransitions()
Gets all transitions defined for this process definition. |
List |
getAllTriggers()
Gets all triggers defined for this process definition. |
DataPath |
getDataPath(String id)
Gets the specified data path. |
ProcessInterface |
getDeclaredProcessInterface()
Gets the process interface implemented by this process definition. |
ProcessDefinitionDetailsLevel |
getDetailsLevel()
Retrieves the level of detail for process definition. |
ProcessInterface |
getImplementedProcessInterface()
Gets the process interface implemented by this process definition. |
List<Transition> |
getIncommingTransitions(Activity activity)
Returns the list of all transitions having as target the specified activity. |
List<Transition> |
getOutgoingTransitions(Activity activity)
Returns the list of all transitions having as source the specified activity. |
long |
getRuntimeElementOID()
Gets the runtime OID of the model element. |
Activity |
getSourceActivity(Transition transition)
Gets the source activity for the specified transition. |
Activity |
getTargetActivity(Transition transition)
Gets the target activity for the specified transition. |
Transition |
getTransition(String transitionId)
Gets the specified Transition. |
| Methods inherited from interface org.eclipse.stardust.engine.api.model.ModelElement |
|---|
getAllAttributes, getAttribute, getDescription, getElementOID, getId, getModelOID, getName, getNamespace, getPartitionId, getPartitionOID, getQualifiedId |
| Methods inherited from interface org.eclipse.stardust.engine.api.model.EventAware |
|---|
getAllEventHandlers, getEventHandler |
| Method Detail |
|---|
long getRuntimeElementOID()
Contrary to the element OID, runtime element OIDs are guaranteed to be stable over model versions for model elements of same type and identical fully qualified IDs.
The fully qualified ID of a model element consists of the concatenation of the fully qualified element ID of its parent element, if existent, and the element ID.
ModelElement.getElementOID()List getAllDataPaths()
DataPath objects.DataPath getDataPath(String id)
id - the ID of the data path.
ProcessDefinitionDetailsLevel getDetailsLevel()
List getAllActivities()
Activity objects.List<Transition> getAllTransitions()
Transition objects.Activity getActivity(String id)
id - the ID of the activity.
List getAllTriggers()
Trigger objects.ProcessInterface getImplementedProcessInterface()
ProcessInterface getDeclaredProcessInterface()
List<Transition> getIncommingTransitions(Activity activity)
activity - the target activity.
List<Transition> getOutgoingTransitions(Activity activity)
activity - the source activity.
Transition getTransition(String transitionId)
transitionId - the id of the transition.
Activity getSourceActivity(Transition transition)
transition - the transition.
Activity getTargetActivity(Transition transition)
transition - the transition.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||