|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.timemgmt.DefaultTimeManagementImpl
public class DefaultTimeManagementImpl
Default implementation computes process and task due dates based on process and task durations.
Constructor Summary | |
---|---|
DefaultTimeManagementImpl()
|
Method Summary | |
---|---|
void |
archiveProcessInstance(ProcessInstance pi)
If something is to do when processes are archived (clean up). |
java.util.Date |
calculateActivityDueDate(ActivityInstance instance,
ActivityInstance prevStep)
The activity due date is the current date plus the task duration (defined in task definition). |
java.util.Date |
calculateProcessDueDate(ProcessDefinition process)
The process due date is the current date plus the process duration (defined in process definition). |
Component |
getHistoryInfo(ActivityInstance ai)
Returns null |
java.lang.String |
getProcessStartInfo(ProcessDefinition procdef)
Returns null |
java.lang.String |
getWorklistInfo(ActivityInstance ai)
Returns null |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTimeManagementImpl()
Method Detail |
---|
public java.util.Date calculateProcessDueDate(ProcessDefinition process)
calculateProcessDueDate
in interface TimeManagement
public java.util.Date calculateActivityDueDate(ActivityInstance instance, ActivityInstance prevStep)
calculateActivityDueDate
in interface TimeManagement
public void archiveProcessInstance(ProcessInstance pi)
TimeManagement
archiveProcessInstance
in interface TimeManagement
public Component getHistoryInfo(ActivityInstance ai)
getHistoryInfo
in interface TimeManagement
public java.lang.String getProcessStartInfo(ProcessDefinition procdef)
getProcessStartInfo
in interface TimeManagement
public java.lang.String getWorklistInfo(ActivityInstance ai)
getWorklistInfo
in interface TimeManagement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |