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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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.util.Collection getAssignmentsByDueDate(int searchLimit)
      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.
        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.
      • 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.
      • getAssignmentsByDueDate

        public java.util.Collection getAssignmentsByDueDate(int searchLimit)
                                                     throws WorkflowException
        Returns the assignments of the resource.
        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.
        Throws:
        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.
        Throws:
        WorkflowException
        Since:
        ITIM 4.6