View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gwui;
7   
8   /***
9      Delegate for the WorkflowGroup to delegate management of workflow instance(s).
10   */
11  public interface WorkflowInstanceManager {
12      /***
13         Set the ID of the currently viewed workflow.
14         The WorkflowInstanceManager needs to set the WorkflowGroup's property identified by
15         <code>WrkflowGroup.ACTIVE_WORKFLOW_DOCUMENT_KEY</code> with the appropriate workflow instance 
16         after this method has been called.
17         @param group The WorkflowGroup.
18         @param workflowid The ID of the workflow.
19       */
20      void setWorkflowID(WorkflowGroup group, String workflowid);
21  }