KIE Internal 6.1.0.Final

org.kie.internal.task.api
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 Summary
 long addContent(long taskId, org.kie.api.task.model.Content content)
           
 long addContent(long taskId, Map<String,Object> params)
           
 void addMarshallerContext(String ownerId, ContentMarshallerContext context)
           
 void deleteContent(long taskId, long contentId)
           
 List<org.kie.api.task.model.Content> getAllContentByTaskId(long taskId)
           
 org.kie.api.task.model.Content getContentById(long contentId)
           
 ContentMarshallerContext getMarshallerContext(org.kie.api.task.model.Task task)
           
 void removeMarshallerContext(String ownerId)
           
 

Method Detail

addContent

long addContent(long taskId,
                org.kie.api.task.model.Content content)

addContent

long addContent(long taskId,
                Map<String,Object> params)

deleteContent

void deleteContent(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)

KIE Internal 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.