|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Model
A Model defines the instructions for processing a workitem. The Model is used
by the WorkflowKernel to manage the process flow of a workitem
in the workflow.
A Model is defined by collections of ProcessEntities which defines a state
for a worktiem inside the model and ActivityEntities which defines the
transition from one state to another.
The Model interface defines finder functions to get processEntities and
activityEntities. A processEntity contains informations about the
Processinstance inside the workflowmodel e.g. the name or the
statusdescription. On the other point of view a activityentity contains
informations about the processcontroling and processhandling. A ProcessEntity
is defined by its processid. A ActivityEntity defined by its activityid and
unambiguously assigned to a ProcessEntity by its processid. The
Workflowkernel determines by analyzing the workitem the appendant
activityentity and transfers it along with the workitem to the registerd
plugin moduls. After processing the workitem the workflowkernel is able to
analyze the new status of the workitem by the informations stored inside the
appendant processentity. With a Model the Workflowkernel is able to controle
the expiration of a workflowprocess. A Model is always instantiated by a
WorkflowManager and transferd as a Interface to the Workflowkernel.
WorkflowManager,
Plugin| Method Summary | |
|---|---|
ItemCollection |
getActivityEntity(int processid,
int activityid)
Finds and returns the ActivityEntity for a processid and a activityid inside the Model. |
java.util.Collection<ItemCollection> |
getActivityEntityList(int processid)
retruns a collection of ActivityEntities for a specivic ProcessID. |
ItemCollection |
getProcessEntity(int processid)
Finds and returns the ProcessEntity for a processid inside the Model. |
java.util.Collection<ItemCollection> |
getProcessEntityList()
retruns a collection of ProcessEntities |
| Method Detail |
|---|
ItemCollection getProcessEntity(int processid)
throws java.lang.Exception
processid -
java.lang.Exception
ItemCollection getActivityEntity(int processid,
int activityid)
throws java.lang.Exception
processid - activityid -
java.lang.Exception
java.util.Collection<ItemCollection> getProcessEntityList()
throws java.lang.Exception
java.lang.Exception
java.util.Collection<ItemCollection> getActivityEntityList(int processid)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||