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

      All Methods Instance Methods Abstract 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.
    • 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