Class HumanTaskHelper
java.lang.Object
org.jbpm.process.instance.impl.humantask.HumanTaskHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttachmentaddAttachment(KogitoWorkItem item, AttachmentInfo attachmentInfo, String user) static CommentaddComment(KogitoWorkItem item, String commentInfo, String user) static InternalHumanTaskWorkItemasHumanTask(KogitoWorkItem item) static InternalHumanTaskWorkItemdecorate(NodeInstance nodeInstance, InternalHumanTaskWorkItem delegate) static booleandeleteAttachment(KogitoWorkItem item, Object id, String user) static booleandeleteComment(KogitoWorkItem item, Object id, String user) static HumanTaskWorkItemfindTask(ProcessInstance<?> pi, String taskId, Policy<?>... policies) static AttachmentupdateAttachment(KogitoWorkItem item, String id, AttachmentInfo attachmentInfo, String user) static CommentupdateComment(KogitoWorkItem item, String id, String commentInfo, String user) updateContent(KogitoWorkItem item, Map<String, Object> map) updateContent(KogitoWorkItem item, MapOutput model)
-
Method Details
-
decorate
public static InternalHumanTaskWorkItem decorate(NodeInstance nodeInstance, InternalHumanTaskWorkItem delegate) -
asHumanTask
-
addComment
-
addAttachment
public static Attachment addAttachment(KogitoWorkItem item, AttachmentInfo attachmentInfo, String user) -
updateComment
public static Comment updateComment(KogitoWorkItem item, String id, String commentInfo, String user) -
updateAttachment
public static Attachment updateAttachment(KogitoWorkItem item, String id, AttachmentInfo attachmentInfo, String user) -
updateContent
-
updateContent
-
deleteComment
-
deleteAttachment
-
findTask
public static HumanTaskWorkItem findTask(ProcessInstance<?> pi, String taskId, Policy<?>... policies)
-