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) |
AddAttachmentCommand(Long taskId,
org.kie.api.task.model.Attachment attachment,
Object rawContent) |
Modifier and Type | Method and Description |
---|---|
Long |
execute(org.kie.api.runtime.Context cntxt) |
org.kie.api.task.model.Attachment |
getAttachment() |
org.kie.api.task.model.Content |
getContent() |
JaxbAttachment |
getJaxbAttachment() |
JaxbContent |
getJaxbContent() |
Object |
getRawContent() |
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 |
setRawContent(Object rawContent) |
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 AddAttachmentCommand()
public AddAttachmentCommand(Long taskId, org.kie.api.task.model.Attachment attachment, org.kie.api.task.model.Content content)
public Long execute(org.kie.api.runtime.Context cntxt)
execute
in interface org.kie.api.command.ExecutableCommand<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()
public Object getRawContent()
public void setRawContent(Object rawContent)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.