KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > taskmgmt > exe > Assignable


1 package org.jbpm.taskmgmt.exe;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6  * common superclass for {@link org.jbpm.taskmgmt.exe.TaskInstance}s and
7  * {@link org.jbpm.taskmgmt.exe.SwimlaneInstance}s used by
8  * the {@link org.jbpm.taskmgmt.def.AssignmentHandler} interface.
9  */

10 public interface Assignable extends Serializable JavaDoc {
11
12   /**
13    * sets the responsible for this assignable object.
14    * Use this method to assign the task into a user's personal
15    * task list.
16    */

17   public void setActorId(String JavaDoc actorId);
18   
19   /**
20    * sets the resource pool for this assignable as a set of {@link PooledActor}s.
21    * Use this method to offer the task to a group of users. Each user in the group
22    * can then take the task by calling the {@link #setActorId(String)}.
23    */

24   public void setPooledActors(String JavaDoc[] pooledActors);
25 }
26
Popular Tags