public class AddAttachmentCommand extends UserGroupCallbackTaskCommand<Long>
groupIds, targetEntityId, taskId, 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() |
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) |
addGroupFromCallbackOperation, addUserFromCallbackOperation, doCallbackGroupOperation, doCallbackGroupsOperation, doCallbackOperationForAttachment, doCallbackOperationForComment, doCallbackOperationForPeopleAssignments, doCallbackOperationForPotentialOwners, doCallbackOperationForTaskData, doCallbackOperationForTaskDeadlines, doCallbackUserOperation, doUserGroupCallbackOperation, filterGroups, persistIfNotExists
getGroupsIds, getTargetEntityId, getTaskId, getUserId, setGroupsIds, setTargetEntityId, setTaskId, 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 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–2016 JBoss by Red Hat. All rights reserved.