com.bigbross.bossa.work
Class WorkManager

java.lang.Object
  extended bycom.bigbross.bossa.work.WorkManager
All Implemented Interfaces:
Serializable

public class WorkManager
extends Object
implements Serializable

This class manages the generation of work item lists.

Author:
BigBross Team
See Also:
Serialized Form

Constructor Summary
WorkManager()
          Creates a new empty work manager.
WorkManager(Bossa engine)
          Creates a new empty work manager.
 
Method Summary
 List getActivities(Resource resource)
          Returns a list of all activities in the engine that are under the responsability of the provided resource.
 List getWorkItems(Resource resource)
          Returns a list of all work items in the engine that can be opened by the provided resource.
 List getWorkItems(Resource resource, boolean getInitial)
          Returns a list of all work items in the engine that can be opened by the provided resource, including the initial work items.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkManager

public WorkManager(Bossa engine)
Creates a new empty work manager.

Parameters:
engine - the bossa engine this work manager is part.

WorkManager

public WorkManager()
Creates a new empty work manager.

Method Detail

getWorkItems

public List getWorkItems(Resource resource)
Returns a list of all work items in the engine that can be opened by the provided resource.

Parameters:
resource - the resource.
Returns:
the list of work items.

getWorkItems

public List getWorkItems(Resource resource,
                         boolean getInitial)
Returns a list of all work items in the engine that can be opened by the provided resource, including the initial work items.

Parameters:
resource - the resource.
getInitial - set to true to get the initial work items and to false to only get the standard work items.
Returns:
the list of work items.

getActivities

public List getActivities(Resource resource)
Returns a list of all activities in the engine that are under the responsability of the provided resource.

Parameters:
resource - the resource.
Returns:
the list of activities.


Copyright © 2003,2004 OpenBR Sistemas S/C Ltda.