Uses of Interface
org.camunda.bpm.engine.task.Attachment
Package
Description
Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
Typical usage of the API starts by the creation of a
ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine
can be obtained.Through the services obtained from such a
ProcessEngine
, BPM and workflow operation
can be executed:RepositoryService
:
Manages Deployment
sRuntimeService
:
For starting and searching ProcessInstance
sTaskService
:
Exposes operations to manage human (standalone) Task
s,
such as claiming, completing and assigning tasksIdentityService
:
Used for managing User
s,
Group
s and the relations between themManagementService
:
Exposes engine admin and maintenance operations,
which have no relation to the runtime execution of business processesHistoryService
:
Exposes information about ongoing and past process instances.FormService
:
Access to form data and rendered forms for starting new process instances and completing tasks.API implementation classes, which shouldn't directly be used by end-users.
-
Uses of Attachment in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionTaskService.createAttachment
(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content) Add a new attachment to a task and/or a process instance and use an input stream to provide the content please use method in runtime service to operate on process instance.TaskService.createAttachment
(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, String url) Add a new attachment to a task and/or a process instance and use an url as the content please use method in runtime service to operate on process instance Either taskId or processInstanceId has to be providedTaskService.getAttachment
(String attachmentId) Retrieve a particular attachmentTaskService.getTaskAttachment
(String taskId, String attachmentId) Retrieve a particular attachment to the given task id and attachment idModifier and TypeMethodDescriptionTaskService.getProcessInstanceAttachments
(String processInstanceId) The list of attachments associated to a process instanceTaskService.getTaskAttachments
(String taskId) The list of attachments associated to a taskModifier and TypeMethodDescriptionvoid
TaskService.saveAttachment
(Attachment attachment) Update the name and decription of an attachment -
Uses of Attachment in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionTaskServiceImpl.createAttachment
(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content) TaskServiceImpl.createAttachment
(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, String url) TaskServiceImpl.getAttachment
(String attachmentId) TaskServiceImpl.getTaskAttachment
(String taskId, String attachmentId) Modifier and TypeMethodDescriptionTaskServiceImpl.getProcessInstanceAttachments
(String processInstanceId) TaskServiceImpl.getTaskAttachments
(String taskId) -
Uses of Attachment in org.camunda.bpm.engine.impl.cmd
Modifier and TypeMethodDescriptionCreateAttachmentCmd.execute
(CommandContext commandContext) GetAttachmentCmd.execute
(CommandContext commandContext) GetTaskAttachmentCmd.execute
(CommandContext commandContext) Modifier and TypeMethodDescriptionGetProcessInstanceAttachmentsCmd.execute
(CommandContext commandContext) GetTaskAttachmentsCmd.execute
(CommandContext commandContext) -
Uses of Attachment in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeMethodDescriptionAttachmentManager.findAttachmentByTaskIdAndAttachmentId
(String taskId, String attachmentId) Modifier and TypeMethodDescriptionAttachmentManager.findAttachmentsByProcessInstanceId
(String processInstanceId) AttachmentManager.findAttachmentsByTaskId
(String taskId) -
Uses of Attachment in org.camunda.bpm.engine.rest.dto.task
Modifier and TypeMethodDescriptionstatic AttachmentDto
AttachmentDto.fromAttachment
(Attachment attachment)