public class AddAttachmentCommand 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 |
---|
AddAttachmentCommand() |
AddAttachmentCommand(Long taskId,
org.kie.api.task.model.Attachment attachment,
org.kie.api.task.model.Content content) |
Modifier and Type | Method and Description |
---|---|
Long |
execute(org.kie.internal.command.Context cntxt) |
org.kie.api.task.model.Attachment |
getAttachment() |
org.kie.api.task.model.Content |
getContent() |
JaxbAttachment |
getJaxbAttachment() |
JaxbContent |
getJaxbContent() |
Long |
getTaskId() |
void |
setAttachment(org.kie.api.task.model.Attachment attachment) |
void |
setContent(org.kie.api.task.model.Content content) |
void |
setJaxbAttachment(JaxbAttachment jaxbAttachment) |
void |
setJaxbContent(JaxbContent jaxbContent) |
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 AddAttachmentCommand()
public AddAttachmentCommand(Long taskId, org.kie.api.task.model.Attachment attachment, org.kie.api.task.model.Content content)
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 void setAttachment(org.kie.api.task.model.Attachment attachment)
public JaxbAttachment getJaxbAttachment()
public void setJaxbAttachment(JaxbAttachment jaxbAttachment)
public JaxbContent getJaxbContent()
public void setJaxbContent(JaxbContent jaxbContent)
public org.kie.api.task.model.Content getContent()
public void setContent(org.kie.api.task.model.Content content)
public org.kie.api.task.model.Attachment getAttachment()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.