public class AddCommentCommand extends UserGroupCallbackTaskCommand<Long>
groupIds, targetEntityId, taskId, userId
Constructor and Description |
---|
AddCommentCommand() |
AddCommentCommand(Long taskId,
org.kie.api.task.model.Comment comment) |
AddCommentCommand(Long taskId,
String userId,
String text) |
Modifier and Type | Method and Description |
---|---|
Long |
execute(org.kie.api.runtime.Context cntxt) |
org.kie.api.task.model.Comment |
getComment() |
JaxbComment |
getJaxbComment() |
void |
setComment(org.kie.api.task.model.Comment comment) |
void |
setJaxbComment(JaxbComment jaxbComment) |
addGroupFromCallbackOperation, addUserFromCallbackOperation, doCallbackAndReturnUserOperation, doCallbackGroupOperation, doCallbackGroupsOperation, doCallbackOperationForAttachment, doCallbackOperationForComment, doCallbackOperationForPeopleAssignments, doCallbackOperationForPotentialOwners, doCallbackOperationForTaskData, doCallbackOperationForTaskDeadlines, doCallbackUserOperation, doCallbackUserOperation, doUserGroupCallbackOperation, filterGroups, isBusinessAdmin, persistIfNotExists
getGroupsIds, getTargetEntityId, getTaskId, getUserId, setGroupsIds, setTargetEntityId, setTaskId, setUserId
public AddCommentCommand()
public AddCommentCommand(Long taskId, org.kie.api.task.model.Comment comment)
public org.kie.api.task.model.Comment getComment()
public void setComment(org.kie.api.task.model.Comment comment)
public JaxbComment getJaxbComment()
public void setJaxbComment(JaxbComment jaxbComment)
public Long execute(org.kie.api.runtime.Context cntxt)
execute
in interface org.drools.core.command.impl.ExecutableCommand<Long>
execute
in class UserGroupCallbackTaskCommand<Long>
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.