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

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

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.
Throws:
WorkflowException

getAssignmentGroups

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.
Throws:
WorkflowException


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.