## Uses of Interface
org.jbpm.services.api.model.ProcessDefinition

- Packages that use ProcessDefinition
  Package | Description
  --- | ---
  org.jbpm.casemgmt.api |
  org.jbpm.casemgmt.impl |
  org.jbpm.casemgmt.impl.model |
  org.jbpm.kie.services.impl |
  org.jbpm.kie.services.impl.bpmn2 |
  org.jbpm.kie.services.impl.form |
  org.jbpm.kie.services.impl.form.provider |
  org.jbpm.kie.services.impl.model |
  org.jbpm.services.api |
  org.jbpm.services.ejb.impl |
  org.jbpm.test.services |

- - ### Uses of ProcessDefinition in org.jbpm.casemgmt.api

    Methods in org.jbpm.casemgmt.api that return types with arguments of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessDefinition>` | CaseRuntimeDataService.`getProcessDefinitions​(String filter, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process definitions that are not considered as case definitions and are filtered by process id or name.
    `Collection<ProcessDefinition>` | CaseRuntimeDataService.`getProcessDefinitions​(org.kie.api.runtime.query.QueryContext queryContext)` | Returns process definitions that are not considered as case definitions.
    `Collection<ProcessDefinition>` | CaseRuntimeDataService.`getProcessDefinitionsByDeployment​(String deploymentId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns process definitions that are not considered as case definitions that belongs to given deployment.

  - ### Uses of ProcessDefinition in org.jbpm.casemgmt.impl

    Fields in org.jbpm.casemgmt.impl with type parameters of type ProcessDefinition
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Set<ProcessDefinition>` | CaseRuntimeDataServiceImpl.`availableProcesses` |

    Methods in org.jbpm.casemgmt.impl that return types with arguments of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessDefinition>` | CaseRuntimeDataServiceImpl.`getProcessDefinitions​(String filter, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessDefinition>` | CaseRuntimeDataServiceImpl.`getProcessDefinitions​(org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessDefinition>` | CaseRuntimeDataServiceImpl.`getProcessDefinitionsByDeployment​(String deploymentId, org.kie.api.runtime.query.QueryContext queryContext)` |

  - ### Uses of ProcessDefinition in org.jbpm.casemgmt.impl.model

    Methods in org.jbpm.casemgmt.impl.model with parameters of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | ProcessDefinitionComparator.`compare​(ProcessDefinition o1, ProcessDefinition o2)` |

  - ### Uses of ProcessDefinition in org.jbpm.kie.services.impl

    Fields in org.jbpm.kie.services.impl with type parameters of type ProcessDefinition
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Set<ProcessDefinition>` | RuntimeDataServiceImpl.`availableProcesses` |

    Methods in org.jbpm.kie.services.impl that return ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProcessDefinition` | RuntimeDataServiceImpl.`getProcessById​(String processId)` | Deprecated.
    `ProcessDefinition` | RuntimeDataServiceImpl.`getProcessesByDeploymentIdProcessId​(String deploymentId, String processId)` |

    Methods in org.jbpm.kie.services.impl that return types with arguments of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessDefinition>` | RuntimeDataServiceImpl.`getProcesses​(org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessDefinition>` | RuntimeDataServiceImpl.`getProcessesByDeploymentId​(String deploymentId, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessDefinition>` | RuntimeDataServiceImpl.`getProcessesByFilter​(String filter, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<ProcessDefinition>` | RuntimeDataServiceImpl.`getProcessesById​(String processId)` |

    Method parameters in org.jbpm.kie.services.impl with type arguments of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | RuntimeDataServiceImpl.`applySorting​(List<ProcessDefinition> input, org.kie.api.runtime.query.QueryContext queryContext)` |

  - ### Uses of ProcessDefinition in org.jbpm.kie.services.impl.bpmn2

    Methods in org.jbpm.kie.services.impl.bpmn2 that return ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProcessDefinition` | BPMN2DataServiceImpl.`buildProcessDefinition​(String deploymentId, String bpmn2Content, org.kie.api.runtime.KieContainer kieContainer, boolean cache)` |
    `ProcessDefinition` | BPMN2DataServiceImpl.`getProcessDefinition​(String deploymentId, String processId)` |

  - ### Uses of ProcessDefinition in org.jbpm.kie.services.impl.form

    Methods in org.jbpm.kie.services.impl.form with parameters of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | FormProvider.`render​(String name, ProcessDefinition process, Map<String,​Object> renderContext)` |
    `String` | FormProvider.`render​(String name, org.kie.api.task.model.Task task, ProcessDefinition process, Map<String,​Object> renderContext)` |

  - ### Uses of ProcessDefinition in org.jbpm.kie.services.impl.form.provider

    Methods in org.jbpm.kie.services.impl.form.provider with parameters of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | ClasspathFormProvider.`render​(String name, ProcessDefinition process, Map<String,​Object> renderContext)` |
    `String` | ClasspathFormProvider.`render​(String name, org.kie.api.task.model.Task task, ProcessDefinition process, Map<String,​Object> renderContext)` |
    `String` | InMemoryFormProvider.`render​(String name, ProcessDefinition process, Map<String,​Object> renderContext)` |
    `String` | InMemoryFormProvider.`render​(String name, org.kie.api.task.model.Task task, ProcessDefinition process, Map<String,​Object> renderContext)` |

  - ### Uses of ProcessDefinition in org.jbpm.kie.services.impl.model

    Classes in org.jbpm.kie.services.impl.model that implement ProcessDefinition
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ProcessAssetDesc` |

  - ### Uses of ProcessDefinition in org.jbpm.services.api

    Methods in org.jbpm.services.api that return ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProcessDefinition` | DefinitionService.`buildProcessDefinition​(String deploymentId, String bpmn2Content, org.kie.api.runtime.KieContainer kieContainer, boolean cache)` | Performs build operation for given bpmn2content to produce fully populated `ProcessDefinition`
    `ProcessDefinition` | RuntimeDataService.`getProcessById​(String processId)` | Deprecated. will be removed in version 7
    `ProcessDefinition` | DefinitionService.`getProcessDefinition​(String deploymentId, String processId)` | Returns previously built `ProcessDefinition`.
    `ProcessDefinition` | RuntimeDataService.`getProcessesByDeploymentIdProcessId​(String deploymentId, String processId)` | Returns process definition for given deployment and process identifiers

    Methods in org.jbpm.services.api that return types with arguments of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ProcessDefinition>` | RuntimeDataService.`getProcesses​(org.kie.api.runtime.query.QueryContext queryContext)` | Returns all process definitions available
    `Collection<ProcessDefinition>` | RuntimeDataService.`getProcessesByDeploymentId​(String deploymentId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process definitions for given deployment id
    `Collection<ProcessDefinition>` | RuntimeDataService.`getProcessesByFilter​(String filter, org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of process definitions that match the given filter
    `Collection<ProcessDefinition>` | RuntimeDataService.`getProcessesById​(String processId)` | Returns process definitions for given process id regardless of the deployment

  - ### Uses of ProcessDefinition in org.jbpm.services.ejb.impl

    Methods in org.jbpm.services.ejb.impl that return ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProcessDefinition` | DefinitionServiceEJBImpl.`buildProcessDefinition​(String deploymentId, String bpmn2Content, org.kie.api.runtime.KieContainer kieContainer, boolean cache)` |

  - ### Uses of ProcessDefinition in org.jbpm.test.services

    Methods in org.jbpm.test.services that return types with arguments of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<String,​ProcessDefinition>` | AbstractCaseServicesTest.`mapProcesses​(Collection<ProcessDefinition> processes)` |

    Method parameters in org.jbpm.test.services with type arguments of type ProcessDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Map<String,​ProcessDefinition>` | AbstractCaseServicesTest.`mapProcesses​(Collection<ProcessDefinition> processes)` |