Uses of Interface
org.camunda.bpm.engine.repository.ProcessDefinition
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.Classes related to the
FormService
.API implementation classes, which shouldn't directly be used by end-users.
Classes related to the
ManagementService
.Classes related to the
RepositoryService
.-
Uses of ProcessDefinition in org.camunda.bpm.engine
Modifier and TypeMethodDescriptionRepositoryService.getProcessDefinition
(String processDefinitionId) Returns theProcessDefinition
including all BPMN information like additional Properties (e.g. -
Uses of ProcessDefinition in org.camunda.bpm.engine.cdi
-
Uses of ProcessDefinition in org.camunda.bpm.engine.cdi.impl.event
Modifier and TypeFieldDescriptionprotected final ProcessDefinition
CdiBusinessProcessEvent.processDefinition
ModifierConstructorDescriptionCdiBusinessProcessEvent
(String activityId, String transitionName, ProcessDefinition processDefinition, DelegateExecution execution, BusinessProcessEventType type, Date timeStamp) -
Uses of ProcessDefinition in org.camunda.bpm.engine.cdi.jsf
-
Uses of ProcessDefinition in org.camunda.bpm.engine.form
Modifier and TypeMethodDescriptionStartFormData.getProcessDefinition()
The process definition for which this form is starting a new process instance -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl
Modifier and TypeMethodDescriptionRepositoryServiceImpl.getProcessDefinition
(String processDefinitionId) Modifier and TypeMethodDescriptionProcessDefinitionQueryImpl.executeList
(CommandContext commandContext, Page page) Modifier and TypeMethodDescriptionprotected void
ProcessDefinitionQueryImpl.addProcessDefinitionToCacheAndRetrieveDocumentation
(List<ProcessDefinition> list) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.application
Modifier and TypeMethodDescriptionprotected List<ProcessDefinition>
ProcessApplicationManager.getDeployedProcessDefinitionArtifacts
(DeploymentEntity deployment) Modifier and TypeMethodDescriptionprotected void
ProcessApplicationManager.logProcessDefinitionRegistrations
(StringBuilder builder, List<ProcessDefinition> processDefinitions) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.batch.removaltime
Modifier and TypeMethodDescriptionprotected ProcessDefinition
ProcessSetRemovalTimeJobHandler.findProcessDefinitionById
(String processDefinitionId, CommandContext commandContext) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.bpmn.deployer
Modifier and TypeMethodDescriptionprotected void
BpmnDeployer.createJobDefinition
(ProcessDefinition processDefinition, JobDeclaration<?, ?> jobDeclaration) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.bpmn.parser
Modifier and TypeMethodDescriptionprotected void
BpmnParse.addJobDeclarationToProcessDefinition
(JobDeclaration<?, ?> jobDeclaration, ProcessDefinition processDefinition) protected void
BpmnParse.parseProcessDefinitionCustomExtensions
(Element scopeElement, ProcessDefinition definition) protected void
BpmnParse.parseStartAuthorization
(Element scopeElement, ProcessDefinition definition) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.cfg
Modifier and TypeMethodDescriptionvoid
CommandChecker.checkCreateMigrationPlan
(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition) void
CommandChecker.checkCreateProcessInstance
(ProcessDefinition processDefinition) Checks if it is allowed to create an instance of the given process definition.void
CommandChecker.checkMigrateProcessInstance
(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition) void
CommandChecker.checkReadProcessDefinition
(ProcessDefinition processDefinition) Checks if it is allowed to read the given process definition. -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.cfg.auth
Modifier and TypeMethodDescriptionvoid
AuthorizationCommandChecker.checkCreateMigrationPlan
(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition) void
AuthorizationCommandChecker.checkCreateProcessInstance
(ProcessDefinition processDefinition) void
AuthorizationCommandChecker.checkMigrateProcessInstance
(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition) void
AuthorizationCommandChecker.checkReadProcessDefinition
(ProcessDefinition processDefinition) DefaultAuthorizationProvider.newProcessDefinition
(ProcessDefinition processDefinition) ResourceAuthorizationProvider.newProcessDefinition
(ProcessDefinition processDefinition) Invoked whenever a new process definition is created -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.cfg.multitenancy
Modifier and TypeFieldDescriptionprotected ProcessDefinition
TenantIdProviderProcessInstanceContext.processDefinition
Modifier and TypeMethodDescriptionvoid
TenantCommandChecker.checkCreateMigrationPlan
(ProcessDefinition sourceProcessDefinition, ProcessDefinition targetProcessDefinition) void
TenantCommandChecker.checkCreateProcessInstance
(ProcessDefinition processDefinition) void
TenantCommandChecker.checkMigrateProcessInstance
(ExecutionEntity processInstance, ProcessDefinition targetProcessDefinition) void
TenantCommandChecker.checkReadProcessDefinition
(ProcessDefinition processDefinition) ModifierConstructorDescriptionTenantIdProviderProcessInstanceContext
(ProcessDefinition processDefinition, VariableMap variables) TenantIdProviderProcessInstanceContext
(ProcessDefinition processDefinition, VariableMap variables, DelegateCaseExecution superCaseExecution) TenantIdProviderProcessInstanceContext
(ProcessDefinition processDefinition, VariableMap variables, DelegateExecution superExecution) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.cmd
Modifier and TypeMethodDescriptionprotected ProcessDefinition
DeleteProcessDefinitionsByIdsCmd.getSingleProcessDefinition
(CommandContext commandContext) Modifier and TypeMethodDescriptionprotected List<? extends ProcessDefinition>
DeployCmd.getDeployedProcesses
(CommandContext commandContext, DeploymentWithDefinitions deployment) Modifier and TypeMethodDescriptionprotected void
RestartProcessInstancesCmd.applyProperties
(ProcessInstantiationBuilderImpl instantiationBuilder, ProcessDefinition processDefinition, HistoricProcessInstance processInstance) protected void
RestartProcessInstancesCmd.checkAuthorization
(CommandContext commandContext, ProcessDefinition processDefinition) protected void
AbstractModificationCmd.writeUserOperationLog
(CommandContext commandContext, ProcessDefinition processDefinition, int numInstances, boolean async, String annotation) protected void
AbstractRestartProcessInstanceCmd.writeUserOperationLog
(CommandContext commandContext, ProcessDefinition processDefinition, int numInstances, boolean async) Modifier and TypeMethodDescriptionprotected Set<org.camunda.bpm.engine.impl.cmd.DeleteProcessDefinitionsByIdsCmd.ProcessDefinitionGroup>
DeleteProcessDefinitionsByIdsCmd.groupByKeyAndTenant
(List<ProcessDefinition> processDefinitions) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.form
Modifier and TypeMethodDescriptionvoid
StartFormDataImpl.setProcessDefinition
(ProcessDefinition processDefinition) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.history
Modifier and TypeMethodDescriptionDefaultHistoryRemovalTimeProvider.calculateRemovalTime
(HistoricProcessInstanceEventEntity historicRootProcessInstance, ProcessDefinition processDefinition) HistoryRemovalTimeProvider.calculateRemovalTime
(HistoricProcessInstanceEventEntity historicRootProcessInstance, ProcessDefinition processDefinition) Calculates the removal time of historic entities related to processes. -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.history.producer
Modifier and TypeMethodDescriptionprotected ProcessDefinition
DefaultHistoryEventProducer.findProcessDefinitionById
(String processDefinitionId) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.jobexecutor
Modifier and TypeMethodDescriptionvoid
JobExecutorLogger.ignoringSuspendedJob
(ProcessDefinition processDefinition) protected void
TimerStartEventJobHandler.startProcessInstance
(CommandContext commandContext, String tenantId, ProcessDefinition processDefinition) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.persistence.deploy.cache
Modifier and TypeMethodDescriptionprotected List<ProcessDefinition>
BpmnModelInstanceCache.getAllDefinitionsForDeployment
(String deploymentId) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.persistence.entity
Modifier and TypeClassDescriptionclass
class
Modifier and TypeMethodDescriptionProcessDefinitionManager.findDefinitionsByIds
(Set<String> processDefinitionIds) ProcessDefinitionManager.findDefinitionsByKeyAndTenantId
(String processDefinitionKey, String tenantId, boolean isTenantIdSet) ProcessDefinitionManager.findProcessDefinitionsByDeploymentId
(String deploymentId) ProcessDefinitionManager.findProcessDefinitionsByKey
(String processDefinitionKey) ProcessDefinitionManager.findProcessDefinitionsByKeyIn
(String... keys) ProcessDefinitionManager.findProcessDefinitionsByQueryCriteria
(ProcessDefinitionQueryImpl processDefinitionQuery, Page page) ProcessDefinitionManager.findProcessDefinitionsStartableByUser
(String user) DeploymentEntity.getDeployedProcessDefinitions()
ProcessApplicationDeploymentImpl.getDeployedProcessDefinitions()
Modifier and TypeMethodDescriptionprotected void
ProcessDefinitionManager.createDefaultAuthorizations
(ProcessDefinition processDefinition) void
ProcessDefinitionManager.deleteProcessDefinition
(ProcessDefinition processDefinition, String processDefinitionId, boolean cascadeToHistory, boolean cascadeToInstances, boolean skipCustomListeners, boolean skipIoMappings) Deletes the given process definition from the database and cache.protected void
ProcessDefinitionManager.deleteTimerStartEventsForProcessDefinition
(ProcessDefinition processDefinition) Deletes the timer start events for the given process definition. -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.repository
ModifierConstructorDescriptionCalledProcessDefinitionImpl
(ProcessDefinition definition, String callingProcessDefinitionId) -
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.runtime
-
Uses of ProcessDefinition in org.camunda.bpm.engine.impl.util
Modifier and TypeMethodDescriptionstatic ProcessDefinition
CallableElementUtil.getStaticallyBoundProcessDefinition
(String callingProcessDefinitionId, String activityId, BaseCallableElement callableElement, String tenantId) -
Uses of ProcessDefinition in org.camunda.bpm.engine.management
-
Uses of ProcessDefinition in org.camunda.bpm.engine.repository
Modifier and TypeMethodDescriptionDeploymentWithDefinitions.getDeployedProcessDefinitions()
Returns the process definitions, which are deployed with that deployment. -
Uses of ProcessDefinition in org.camunda.bpm.engine.rest.dto.repository
Modifier and TypeMethodDescriptionstatic ProcessDefinitionDto
ProcessDefinitionDto.fromProcessDefinition
(ProcessDefinition definition) -
Uses of ProcessDefinition in org.camunda.bpm.engine.rest.hal.processDefinition
Modifier and TypeMethodDescriptionstatic HalProcessDefinition
HalProcessDefinition.fromProcessDefinition
(ProcessDefinition processDefinition, ProcessEngine processEngine) -
Uses of ProcessDefinition in org.camunda.bpm.engine.test.assertions.bpmn
Modifier and TypeMethodDescriptionprotected ProcessDefinition
ProcessDefinitionAssert.getCurrent()
static ProcessDefinition
BpmnAwareTests.processDefinition()
Helper method to easily access the process definition on which the last asserted process instance is based.static ProcessDefinition
BpmnAwareTests.processDefinition
(String processDefinitionKey) Helper method to easily access the process definition with the given processDefinitionKey.static ProcessDefinition
BpmnAwareTests.processDefinition
(ProcessDefinitionQuery processDefinitionQuery) Helper method to easily access the process definition compliant to a given process definition query.static ProcessDefinition
BpmnAwareTests.processDefinition
(ProcessInstance processInstance) Helper method to easily access the process definition on which the given process instance is based.Modifier and TypeMethodDescriptionstatic ProcessDefinitionAssert
BpmnAwareTests.assertThat
(ProcessDefinition actual) Assert that...protected static ProcessDefinitionAssert
ProcessDefinitionAssert.assertThat
(ProcessEngine engine, ProcessDefinition actual) protected String
ProcessDefinitionAssert.toString
(ProcessDefinition processDefinition) ModifierConstructorDescriptionprotected
ProcessDefinitionAssert
(ProcessEngine engine, ProcessDefinition actual)