Interface UserTaskInstance


public interface UserTaskInstance
  • Method Details

    • getId

      String getId()
    • getUserTask

      UserTask getUserTask()
    • getStatus

      UserTaskState getStatus()
    • getUserTaskId

      String getUserTaskId()
    • hasActualOwner

      boolean hasActualOwner()
    • setActualOwner

      void setActualOwner(String actualOwner)
    • getActualOwner

      String getActualOwner()
    • initialize

      void initialize(Map<String,Object> data, IdentityProvider identity)
    • transition

      void transition(String transitionId, Map<String,Object> data, IdentityProvider identityProvider)
    • getExternalReferenceId

      String getExternalReferenceId()
    • getTaskName

      String getTaskName()
    • getTaskDescription

      String getTaskDescription()
    • getTaskPriority

      String getTaskPriority()
    • getMetadata

      Map<String,Object> getMetadata()
    • getOutputs

      Map<String,Object> getOutputs()
    • getInputs

      Map<String,Object> getInputs()
    • getSlaDueDate

      Date getSlaDueDate()
    • setInput

      void setInput(String key, Object value)
    • setOutput

      void setOutput(String key, Object value)
    • getPotentialUsers

      Set<String> getPotentialUsers()
      Returns potential users that can work on this task
      Returns:
      potential users
    • getPotentialGroups

      Set<String> getPotentialGroups()
      Returns potential groups that can work on this task
      Returns:
      potential groups
    • getAdminUsers

      Set<String> getAdminUsers()
      Returns admin users that can administer this task
      Returns:
      admin users
    • getAdminGroups

      Set<String> getAdminGroups()
      Returns admin groups that can administer this task
      Returns:
      admin groups
    • getExcludedUsers

      Set<String> getExcludedUsers()
      Returns excluded users that cannot work on this task
      Returns:
      excluded users
    • findAttachmentById

      Attachment findAttachmentById(String attachmentId)
    • addAttachment

      Attachment addAttachment(Attachment attachment)
    • updateAttachment

      Attachment updateAttachment(Attachment newAttachment)
    • removeAttachment

      Attachment removeAttachment(Attachment oldAttachment)
    • getAttachments

      Collection<Attachment> getAttachments()
    • findCommentById

      Comment findCommentById(String commentId)
    • addComment

      Comment addComment(Comment comment)
    • updateComment

      Comment updateComment(Comment newComment)
    • removeComment

      Comment removeComment(Comment comment)
    • getComments

      Collection<Comment> getComments()
    • trigger

      void trigger(UserTaskInstanceJobDescription userTaskInstanceJobDescription)
    • getNotStartedDeadlines

      Collection<DeadlineInfo<Notification>> getNotStartedDeadlines()
    • getNotCompletedDeadlines

      Collection<DeadlineInfo<Notification>> getNotCompletedDeadlines()
    • getNotStartedReassignments

      Collection<DeadlineInfo<Reassignment>> getNotStartedReassignments()
    • getNotCompletedReassignments

      Collection<DeadlineInfo<Reassignment>> getNotCompletedReassignments()
    • startNotStartedDeadlines

      void startNotStartedDeadlines()
    • startNotCompletedDeadlines

      void startNotCompletedDeadlines()
    • startNotStartedReassignments

      void startNotStartedReassignments()
    • startNotCompletedReassignments

      void startNotCompletedReassignments()
    • stopNotStartedDeadlines

      void stopNotStartedDeadlines()
    • stopNotStartedReassignments

      void stopNotStartedReassignments()
    • stopNotCompletedDeadlines

      void stopNotCompletedDeadlines()
    • stopNotCompletedReassignments

      void stopNotCompletedReassignments()