com.ibm.itim.workflow.model
Interface ResourceEntity

All Known Implementing Classes:
HumanResourceEntity

public interface ResourceEntity

Interface for obtaining the assignments of a resource participating in workflow processes.


Method Summary
 java.util.Collection getAssignmentGroups()
          Returns groups of assignments based on process and activity design id.
 java.util.Collection getAssignments()
          Returns the assignments of the resource.
 java.util.Collection getAssignments(java.lang.String processDesignId, java.lang.String activityDesignId)
          Returns the assignments with the given process and activity design id's.
 

Method Detail

getAssignments

public java.util.Collection getAssignments()
                                    throws WorkflowException
Returns the assignments of the resource.

Returns:
Collection of Assignments for the resource.
Throws:
WorkflowException - Thrown if unable to retrieve the resource's assignments.

getAssignments

public java.util.Collection getAssignments(java.lang.String processDesignId,
                                           java.lang.String activityDesignId)
                                    throws WorkflowException
Returns the assignments with the given process and activity design id's.

Parameters:
processDesignId - Design ID of the process to query for.
activityDesignId - Design ID of the activity to query for.
Returns:
Collection of matching Assignments.
WorkflowException

getAssignmentGroups

public java.util.Collection getAssignmentGroups()
                                         throws WorkflowException
Returns groups of assignments based on process and activity design id. A group is returned for each unique combination. Th details of each assignment are not provided, just a count of the number of assignments in each group.

Returns:
Collection of AssignmentGroups.
WorkflowException


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.