org.jbpm.taskmgmt.exe
Interface Assignable

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SwimlaneInstance, TaskInstance

public interface Assignable
extends java.io.Serializable

common superclass for TaskInstances and SwimlaneInstances used by the AssignmentHandler interface.


Method Summary
 void setActorId(java.lang.String actorId)
          sets the responsible for this assignable object.
 void setPooledActors(java.lang.String[] pooledActors)
          sets the resource pool for this assignable as a set of PooledActors.
 

Method Detail

setActorId

void setActorId(java.lang.String actorId)
sets the responsible for this assignable object. Use this method to assign the task into a user's personal task list.


setPooledActors

void setPooledActors(java.lang.String[] pooledActors)
sets the resource pool for this assignable as a set of PooledActors. Use this method to offer the task to a group of users. Each user in the group can then take the task by calling the setActorId(String).



Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.