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

Method Detail

calculateProcessDueDate

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


calculateActivityDueDate

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

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

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.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.