public class DefaultTimeManagementImpl extends Object implements TimeManagement
Constructor and Description |
---|
DefaultTimeManagementImpl() |
Modifier and Type | Method and Description |
---|---|
void |
archiveProcessInstance(ProcessInstance pi)
If something is to do when processes are archived (clean up).
|
Date |
calculateActivityDueDate(ActivityInstance instance,
ActivityInstance prevStep)
The activity due date is the current date plus the task duration (defined in task definition).
|
Date |
calculateProcessDueDate(ProcessDefinition process)
The process due date is the current date plus the process duration (defined in process definition).
|
void |
deleteProcessDefinition(ProcessDefinition pd)
If something is to do when process definitions are deleted (clean up).
|
void |
duedateChanged(ActivityInstance ai)
This method is called if the duedate of an activity or process instance is changed (from API or user
interface).
|
Component |
getHistoryInfo(ActivityInstance ai)
Returns null
|
String |
getProcessStartInfo(ProcessDefinition procdef)
Returns null
|
String |
getWorklistInfo(ActivityInstance ai)
Returns null
|
public Date calculateProcessDueDate(ProcessDefinition process)
calculateProcessDueDate
in interface TimeManagement
public Date calculateActivityDueDate(ActivityInstance instance, ActivityInstance prevStep)
calculateActivityDueDate
in interface TimeManagement
public void duedateChanged(ActivityInstance ai)
TimeManagement
duedateChanged
in interface TimeManagement
ai
- activity or process instancepublic void archiveProcessInstance(ProcessInstance pi)
TimeManagement
archiveProcessInstance
in interface TimeManagement
public void deleteProcessDefinition(ProcessDefinition pd)
TimeManagement
deleteProcessDefinition
in interface TimeManagement
public Component getHistoryInfo(ActivityInstance ai)
getHistoryInfo
in interface TimeManagement
public String getProcessStartInfo(ProcessDefinition procdef)
getProcessStartInfo
in interface TimeManagement
public String getWorklistInfo(ActivityInstance ai)
getWorklistInfo
in interface TimeManagement
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.