public class HumanResourceEntity extends java.lang.Object implements ResourceEntity
| Constructor and Description |
|---|
HumanResourceEntity(DistinguishedName dn)
Constructs with the distinguished name of the human participant.
|
| 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.
|
public HumanResourceEntity(DistinguishedName dn)
dn - DistinguishedName of the participant.public java.lang.Integer getNumAssignments()
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the resource's
assignments.public java.util.Collection getAssignments()
throws WorkflowException
getAssignments in interface ResourceEntityWorkflowException - Thrown if unable to retrieve the resource's
assignments.public java.util.Collection getAssignmentsByDueDate(int searchLimit)
throws WorkflowException
WorkflowException - Thrown if unable to retrieve the resource's
assignments.public java.util.Collection getAssignments(java.lang.String processDesignId,
java.lang.String activityDesignId)
throws WorkflowException
getAssignments in interface ResourceEntityprocessDesignId - Design ID of the process to query for.activityDesignId - Design ID of the activity to query for.WorkflowExceptionpublic java.util.Collection getAssignmentGroups()
throws WorkflowException
getAssignmentGroups in interface ResourceEntityWorkflowException