com.ibm.itim.workflow.model
Class HumanResourceEntity

java.lang.Object
  |
  +--com.ibm.itim.workflow.model.HumanResourceEntity
All Implemented Interfaces:
ResourceEntity

public class HumanResourceEntity
extends java.lang.Object
implements ResourceEntity

Class representing a human resource participating in workflow processes.


Constructor Summary
HumanResourceEntity(DistinguishedName dn)
          Constructs with the distinguished name of the human participant.
 
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.
 java.lang.Integer getNumAssignments()
          Returns the number of assignments of the resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HumanResourceEntity

public HumanResourceEntity(DistinguishedName dn)
Constructs with the distinguished name of the human participant.

Parameters:
dn - DistinguishedName of the participant.
Method Detail

getNumAssignments

public java.lang.Integer getNumAssignments()
                                    throws WorkflowException
Returns the number of assignments of the resource.

Returns:
Integer Number of work items for the resource.
Throws:
WorkflowException - Thrown if unable to retrieve the resource's assignments.
WorkflowException

getAssignments

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

Specified by:
getAssignments in interface ResourceEntity
Returns:
Collection of AssignmentEntity 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.

Specified by:
getAssignments in interface ResourceEntity
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
Since:
ITIM 4.6

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.

Specified by:
getAssignmentGroups in interface ResourceEntity
Returns:
Collection of AssignmentGroups.
WorkflowException
Since:
ITIM 4.6


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.