Class UserTask

    • Constructor Detail

      • UserTask

        public UserTask()
    • Method Detail

      • setId

        public void setId​(String id)
      • setType

        public void setType​(String type)
      • getName

        @Nullable
        public String getName()
        the task technical name
        Returns:
        name
      • setName

        public void setName​(String name)
      • getDisplayName

        @Nullable
        public String getDisplayName()
        the human readable task name
        Returns:
        displayName
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getDescription

        @Nullable
        public String getDescription()
        the task description
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • displayDescription

        public UserTask displayDescription​(String displayDescription)
      • getDisplayDescription

        @Nullable
        public String getDisplayDescription()
        the human readable task description
        Returns:
        displayDescription
      • setDisplayDescription

        public void setDisplayDescription​(String displayDescription)
      • reachedStateDate

        public UserTask reachedStateDate​(String reachedStateDate)
      • getReachedStateDate

        @Nullable
        public String getReachedStateDate()
        the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task reached the current state for example '2014-10-17 16:05:42.626'
        Returns:
        reachedStateDate
      • setReachedStateDate

        public void setReachedStateDate​(String reachedStateDate)
      • lastUpdateDate

        public UserTask lastUpdateDate​(String lastUpdateDate)
      • getLastUpdateDate

        @Nullable
        public String getLastUpdateDate()
        the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task was last updated for example '2014-10-17 16:05:42.626)
        Returns:
        lastUpdateDate
      • setLastUpdateDate

        public void setLastUpdateDate​(String lastUpdateDate)
      • getDueDate

        @Nullable
        public String getDueDate()
        the date ('yyyy-MM-dd HH:mm:ss.SSS') when this task is due for example '2014-10-17 16:05:42.626'
        Returns:
        dueDate
      • setDueDate

        public void setDueDate​(String dueDate)
      • getPriority

        @Nullable
        public String getPriority()
        the priority (string) of the current task
        Returns:
        priority
      • setPriority

        public void setPriority​(String priority)
      • getProcessId

        @Nullable
        public String getProcessId()
        the process definition id of the process instance which define this task
        Returns:
        processId
      • setProcessId

        public void setProcessId​(String processId)
      • parentCaseId

        public UserTask parentCaseId​(String parentCaseId)
      • getParentCaseId

        @Nullable
        public String getParentCaseId()
        the immediate containing process instance id (case id)
        Returns:
        parentCaseId
      • setParentCaseId

        public void setParentCaseId​(String parentCaseId)
      • parentTaskId

        public UserTask parentTaskId​(String parentTaskId)
      • getParentTaskId

        @Nullable
        public String getParentTaskId()
        the parent Task id
        Returns:
        parentTaskId
      • setParentTaskId

        public void setParentTaskId​(String parentTaskId)
      • getRootCaseId

        @Nullable
        public String getRootCaseId()
        the top/root process instance id (case id). In case of an \"event sub process\" `parentCaseId` will the id of the process instance called while `rootCaseId` will be the one from the caller process instance
        Returns:
        rootCaseId
      • setRootCaseId

        public void setRootCaseId​(String rootCaseId)
      • rootContainerId

        public UserTask rootContainerId​(String rootContainerId)
      • getRootContainerId

        @Nullable
        public String getRootContainerId()
        same as rootCaseId
        Returns:
        rootContainerId
      • setRootContainerId

        public void setRootContainerId​(String rootContainerId)
      • getExecutedBy

        @Nullable
        public String getExecutedBy()
        the id of the user who performed this task. The task has to be a human task otherwise its value will be 0
        Returns:
        executedBy
      • setExecutedBy

        public void setExecutedBy​(String executedBy)
      • executedBySubstitute

        public UserTask executedBySubstitute​(String executedBySubstitute)
      • getExecutedBySubstitute

        @Nullable
        public String getExecutedBySubstitute()
        the id of the user who did actually performed the task when it has been done in the name of someone else. Value is 0 otherwise
        Returns:
        executedBySubstitute
      • setExecutedBySubstitute

        public void setExecutedBySubstitute​(String executedBySubstitute)
      • getActorId

        @Nullable
        public String getActorId()
        the id of the actor that can execute this task null otherwise
        Returns:
        actorId
      • setActorId

        public void setActorId​(String actorId)
      • getAssignedId

        @Nullable
        public String getAssignedId()
        the user id that this task is assigned to or 0 if it is unassigned
        Returns:
        assignedId
      • setAssignedId

        public void setAssignedId​(String assignedId)
      • assignedDate

        public UserTask assignedDate​(String assignedDate)
      • getAssignedDate

        @Nullable
        public String getAssignedDate()
        the date ('yyyy-MM-dd HH:mm:ss.SSS') when the current task was assigned for example '2014-10-17 16:05:42.626'
        Returns:
        assignedDate
      • setAssignedDate

        public void setAssignedDate​(String assignedDate)
      • getIsTerminal

        @Nullable
        public Boolean getIsTerminal()
        True if the task is the last one in a flow
        Returns:
        isTerminal
      • setIsTerminal

        public void setIsTerminal​(Boolean isTerminal)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object