public class AddCommentCommand extends UserGroupCallbackTaskCommand<Long>
DESCRIPTION_PROPERTY, EXPIRATION_DATE_PROPERTY, FAULT_PROPERTY, groupsIds, OUTPUT_PROPERTY, PRIORITY_PROPERTY, SKIPPABLE_PROPERTY, SUB_TASK_STRATEGY_PROPERTY, targetEntityId, TASK_NAMES_PROPERTY, userId
Constructor and Description |
---|
AddCommentCommand() |
AddCommentCommand(Long taskId,
org.kie.api.task.model.Comment comment) |
Modifier and Type | Method and Description |
---|---|
Long |
execute(org.kie.internal.command.Context cntxt) |
org.kie.api.task.model.Comment |
getComment() |
JaxbComment |
getJaxbComment() |
Long |
getTaskId() |
void |
setComment(org.kie.api.task.model.Comment comment) |
void |
setJaxbComment(JaxbComment jaxbComment) |
void |
setTaskId(Long taskId) |
addGroupFromCallbackOperation, addUserFromCallbackOperation, doCallbackGroupOperation, doCallbackGroupsOperation, doCallbackOperationForAttachment, doCallbackOperationForComment, doCallbackOperationForPeopleAssignments, doCallbackOperationForPotentialOwners, doCallbackOperationForTaskData, doCallbackOperationForTaskDeadlines, doCallbackUserOperation, doUserGroupCallbackOperation, filterGroups, persistIfNotExists
getGroupsIds, getTargetEntityId, getUserId, setGroupsIds, setTargetEntityId, setUserId
public AddCommentCommand()
public AddCommentCommand(Long taskId, org.kie.api.task.model.Comment comment)
public Long execute(org.kie.internal.command.Context cntxt)
execute
in interface org.drools.core.command.impl.GenericCommand<Long>
execute
in class UserGroupCallbackTaskCommand<Long>
public Long getTaskId()
getTaskId
in class TaskCommand<Long>
public void setTaskId(Long taskId)
setTaskId
in class TaskCommand<Long>
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)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.