Class UserTaskAssignment

java.lang.Object
com.sas.lsaf.workflow.task.UserTaskAssignment
All Implemented Interfaces:
Serializable

public class UserTaskAssignment extends Object implements Serializable
The class that represents the task assignment history for a user task.
See Also:
  • 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

      public String getId()
      Gets the identifier for the user task.
      Returns:
      The identifier.
    • getTaskId

      public String getTaskId()
      Gets the internal task identifier for the user task.
      Returns:
      The internal task identifier.
    • getElementId

      public String getElementId()
      Gets the identifier for the element as defined in the process flow definition.
      Returns:
      The identifier.
    • getDateStarted

      public Date getDateStarted()
      Gets the date on which the task was started.
      Returns:
      The date started.
    • getDateAssigned

      public Date getDateAssigned()
      Gets the date on which the task was assigned.
      Returns:
      The date assigned.
    • getAssignee

      public Principal 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

      public String toString()
      Overrides:
      toString in class Object