Package | Description |
---|---|
org.camunda.bpm.engine |
Public API of the camunda BPM engine.
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. |
org.camunda.bpm.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
org.camunda.bpm.engine.impl.cmd | |
org.camunda.bpm.engine.impl.persistence.entity | |
org.camunda.bpm.engine.rest.dto.task |
Modifier and Type | Method and Description |
---|---|
Attachment |
TaskService.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.
|
Attachment |
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 provided
|
Attachment |
TaskService.getAttachment(String attachmentId)
Retrieve a particular attachment
|
Attachment |
TaskService.getTaskAttachment(String taskId,
String attachmentId)
Retrieve a particular attachment to the given task id and attachment id
|
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
TaskService.getProcessInstanceAttachments(String processInstanceId)
The list of attachments associated to a process instance
|
List<Attachment> |
TaskService.getTaskAttachments(String taskId)
The list of attachments associated to a task
|
Modifier and Type | Method and Description |
---|---|
void |
TaskService.saveAttachment(Attachment attachment)
Update the name and decription of an attachment
|
Modifier and Type | Method and Description |
---|---|
Attachment |
TaskServiceImpl.createAttachment(String attachmentType,
String taskId,
String processInstanceId,
String attachmentName,
String attachmentDescription,
InputStream content) |
Attachment |
TaskServiceImpl.createAttachment(String attachmentType,
String taskId,
String processInstanceId,
String attachmentName,
String attachmentDescription,
String url) |
Attachment |
TaskServiceImpl.getAttachment(String attachmentId) |
Attachment |
TaskServiceImpl.getTaskAttachment(String taskId,
String attachmentId) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
TaskServiceImpl.getProcessInstanceAttachments(String processInstanceId) |
List<Attachment> |
TaskServiceImpl.getTaskAttachments(String taskId) |
Modifier and Type | Method and Description |
---|---|
void |
TaskServiceImpl.saveAttachment(Attachment attachment) |
Modifier and Type | Field and Description |
---|---|
protected Attachment |
SaveAttachmentCmd.attachment |
Modifier and Type | Method and Description |
---|---|
Attachment |
GetTaskAttachmentCmd.execute(CommandContext commandContext) |
Attachment |
CreateAttachmentCmd.execute(CommandContext commandContext) |
Attachment |
GetAttachmentCmd.execute(CommandContext commandContext) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
GetProcessInstanceAttachmentsCmd.execute(CommandContext commandContext) |
List<Attachment> |
GetTaskAttachmentsCmd.execute(CommandContext commandContext) |
Constructor and Description |
---|
SaveAttachmentCmd(Attachment attachment) |
Modifier and Type | Class and Description |
---|---|
class |
AttachmentEntity |
Modifier and Type | Method and Description |
---|---|
Attachment |
AttachmentManager.findAttachmentByTaskIdAndAttachmentId(String taskId,
String attachmentId) |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
AttachmentManager.findAttachmentsByProcessInstanceId(String processInstanceId) |
List<Attachment> |
AttachmentManager.findAttachmentsByTaskId(String taskId) |
Modifier and Type | Method and Description |
---|---|
static AttachmentDto |
AttachmentDto.fromAttachment(Attachment attachment) |
Copyright © 2022. All rights reserved.