Package com.sas.lsaf.workflow.task
Class UserTaskAssignment
java.lang.Object
com.sas.lsaf.workflow.task.UserTaskAssignment
- All Implemented Interfaces:
Serializable
The class that represents the task assignment history for a user task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatGets the hours worked on the task by the current assignee.Gets the user who is assigned to this task.Gets the date on which the task was assigned.Gets the date on which the task was started.Gets the identifier for the element as defined in the process flow definition.getId()Gets the identifier for the user task.Gets the internal task identifier for the user task.toString()
-
Constructor Details
-
UserTaskAssignment
public UserTaskAssignment(String id, String taskId, String elementId, Date dateStarted, Date dateAssigned, Principal assignee, float actualHours) It is not intended or recommended that the consumer of the API construct these objects. They should only deal with the user task assignments returned by the API.- Parameters:
id- The identifier for the user task instance.taskId- The internal task identifier for the user task instance.elementId- The identifier for the element as defined in the process flow definition.dateStarted- The date on which the task assignment was started.dateAssigned- The date on which the task assignment was assigned.assignee- The user assigned to this task.actualHours- The total hours worked on the task by the current assignee.
-
-
Method Details
-
getId
Gets the identifier for the user task.- Returns:
- The identifier.
-
getTaskId
Gets the internal task identifier for the user task.- Returns:
- The internal task identifier.
-
getElementId
Gets the identifier for the element as defined in the process flow definition.- Returns:
- The identifier.
-
getDateStarted
Gets the date on which the task was started.- Returns:
- The date started.
-
getDateAssigned
Gets the date on which the task was assigned.- Returns:
- The date assigned.
-
getAssignee
Gets the user who is assigned to this task.- Returns:
- The assignee.
-
getActualHours
public float getActualHours()Gets the hours worked on the task by the current assignee.- Returns:
- The hours worked.
-
toString
-