Interface TaskContentService


public interface TaskContentService
The Task Content Service is intended to handle the information which is stored inside a Task. The information inside the Task Content represents the information required for the Task to be completed. This information can be divided into: - Task Input: The data used by the Human Actor as a context to do the job - Task Output: The data entered by the Human Actor as the result of the work that is being done.
  • Method Details

    • setDocumentContent

      long setDocumentContent(long taskId, org.kie.api.task.model.Content content)
    • addOutputContent

      long addOutputContent(long taskId, Map<String,Object> params)
    • deleteDocumentContent

      void deleteDocumentContent(long taskId, long contentId)
    • getAllContentByTaskId

      List<org.kie.api.task.model.Content> getAllContentByTaskId(long taskId)
    • getContentById

      org.kie.api.task.model.Content getContentById(long contentId)
    • addMarshallerContext

      void addMarshallerContext(String ownerId, ContentMarshallerContext context)
    • removeMarshallerContext

      void removeMarshallerContext(String ownerId)
    • getMarshallerContext

      ContentMarshallerContext getMarshallerContext(org.kie.api.task.model.Task task)
    • loadTaskVariables

      org.kie.api.task.model.Task loadTaskVariables(org.kie.api.task.model.Task task)