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 Detail

      • setDocumentContent

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

        long addOutputContent​(long taskId,
                              java.util.Map<java.lang.String,​java.lang.Object> params)
      • deleteDocumentContent

        void deleteDocumentContent​(long taskId,
                                   long contentId)
      • getAllContentByTaskId

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

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

        void removeMarshallerContext​(java.lang.String ownerId)
      • loadTaskVariables

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