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 getAssignments()
          Returns the assignments of the resource.
 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.
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.

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.