# Uses of Interface
org.flowable.batch.api.BatchPartQuery

Packages that use BatchPartQuery
Package
Description
org.flowable.batch.api
org.flowable.cmmn.api
org.flowable.engine
Public API of the Flowable 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`s.
`RuntimeService`: For starting and searching `ProcessInstance`s.
`TaskService`: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.
`IdentityService`: Used for managing users, groups and the relations between them.
`ManagementService`: Exposes engine administration and maintenance operations, which have no relation to the runtime exection of business processes.
`HistoryService`: Exposes information about ongoing and past process instances.
`FormService`: Access to form data and rendered forms for starting new process instances and completing tasks.

- ## Uses of BatchPartQuery in org.flowable.batch.api

  Methods in org.flowable.batch.api that return BatchPartQuery
  Modifier and Type
  Method
  Description
  `BatchPartQuery`
  BatchPartQuery.`batchId(String batchId)`
  Only select batch parts with the given batch id
  `BatchPartQuery`
  BatchPartQuery.`batchSearchKey(String searchKey)`
  Only select batch parts with the given batch search key.
  `BatchPartQuery`
  BatchPartQuery.`batchSearchKey2(String searchKey2)`
  Only select batch parts with the batch given search key.
  `BatchPartQuery`
  BatchPartQuery.`batchType(String batchType)`
  Only select batch parts with the given batch type.
  `BatchPartQuery`
  BatchPartQuery.`completed()`
  Only select batch parts that have been completed.
  `BatchPartQuery`
  BatchPartQuery.`id(String id)`
  Only select batch parts with the given id
  `BatchPartQuery`
  BatchPartQuery.`orderByBatchId()`
  Order by batch id (needs to be followed by `Query.asc()` or `Query.desc()`).
  `BatchPartQuery`
  BatchPartQuery.`orderByCreateTime()`
  Order by batch part create time (needs to be followed by `Query.asc()` or `Query.desc()`).
  `BatchPartQuery`
  BatchPartQuery.`scopeId(String scopeId)`
  Only select batch parts with the given scope id.
  `BatchPartQuery`
  BatchPartQuery.`scopeType(String scopeType)`
  Only select batch parts with the given scope type.
  `BatchPartQuery`
  BatchPartQuery.`searchKey(String searchKey)`
  Only select batch parts with the given search key.
  `BatchPartQuery`
  BatchPartQuery.`searchKey2(String searchKey2)`
  Only select batch parts with the given search key.
  `BatchPartQuery`
  BatchPartQuery.`status(String status)`
  Only select batch parts with the given status.
  `BatchPartQuery`
  BatchPartQuery.`subScopeId(String subScopeId)`
  Only select batch parts with the given sub scope id.
  `BatchPartQuery`
  BatchPartQuery.`tenantId(String tenantId)`
  Only select batch parts with the given tenant id.
  `BatchPartQuery`
  BatchPartQuery.`tenantIdLike(String tenantIdLike)`
  Only select batch parts with a tenant id like the given one.
  `BatchPartQuery`
  BatchPartQuery.`type(String type)`
  Only select batch parts with the given type.
  `BatchPartQuery`
  BatchPartQuery.`withoutTenantId()`
  Only select batch parts that do not have a tenant id.

- ## Uses of BatchPartQuery in org.flowable.cmmn.api

  Methods in org.flowable.cmmn.api that return BatchPartQuery
  Modifier and Type
  Method
  Description
  `BatchPartQuery`
  CmmnManagementService.`createBatchPartQuery()`
  Returns a new BatchPartQuery implementation, that can be used to dynamically query the batch parts.

- ## Uses of BatchPartQuery in org.flowable.engine

  Methods in org.flowable.engine that return BatchPartQuery
  Modifier and Type
  Method
  Description
  `BatchPartQuery`
  ManagementService.`createBatchPartQuery()`
  Returns a new BatchPartQuery implementation, that can be used to dynamically query the batch parts.