com.groiss.timemgmt
Interface TimeManagement

All Known Implementing Classes:
DefaultTimeManagementImpl

public interface TimeManagement

Pluggable time management. Your implementation should implement this interface.


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)
          Compute the duedate for the given ActivityInstance
 java.util.Date calculateProcessDueDate(ProcessDefinition process)
          Returns a default duedate for a process start.
 Component getHistoryInfo(ActivityInstance ai)
          Return a href to a detail page for the time management of the process instance.
 java.lang.String getProcessStartInfo(ProcessDefinition procdef)
          Return a href to a detail page for the process start mask If the result is empty, nothing is done.
 java.lang.String getWorklistInfo(ActivityInstance ai)
          Return a href to a detail page for the time management of the activity instance.
 

Method Detail

calculateProcessDueDate

java.util.Date calculateProcessDueDate(ProcessDefinition process)
Returns a default duedate for a process start.


calculateActivityDueDate

java.util.Date calculateActivityDueDate(ActivityInstance instance,
                                        ActivityInstance prevStep)
Compute the duedate for the given ActivityInstance


archiveProcessInstance

void archiveProcessInstance(ProcessInstance pi)
If something is to do when processes are archived (clean up).

Parameters:
pi -

getProcessStartInfo

java.lang.String getProcessStartInfo(ProcessDefinition procdef)
Return a href to a detail page for the process start mask If the result is empty, nothing is done. Otherwise a link is created showing the details in an iframe on the process start mask.

Parameters:
procdef -
Returns:
an url or null

getWorklistInfo

java.lang.String getWorklistInfo(ActivityInstance ai)
Return a href to a detail page for the time management of the activity instance. It is used in the worklist in the duedate column. If the result is empty, nothing is done. Otherwise a link is created with the result value as href. An additional tab "scehdule" is created in the activity instance detail page

Parameters:
ai -
Returns:
an url or null

getHistoryInfo

Component getHistoryInfo(ActivityInstance ai)
Return a href to a detail page for the time management of the process instance. It is used in the worklist in the duedate column. If the result is empty, nothing is done. Otherwise a link is created with the result value as href.

Parameters:
ai -
Returns:
an url or null


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.