# Uses of Interface
org.flowable.job.api.JobQuery

Packages that use JobQuery
Package
Description
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.
org.flowable.job.api

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

  Methods in org.flowable.cmmn.api that return JobQuery
  Modifier and Type
  Method
  Description
  `JobQuery`
  CmmnManagementService.`createJobQuery()`
  Returns a new JobQuery implementation, that can be used to query the jobs.

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

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

- ## Uses of JobQuery in org.flowable.job.api

  Methods in org.flowable.job.api that return JobQuery
  Modifier and Type
  Method
  Description
  `JobQuery`
  JobQuery.`locked()`
  Only return jobs that are locked (i.e. they are acquired by an executor).
  `JobQuery`
  JobQuery.`lockOwner(String lockOwner)`
  Only return jobs with the given lock owner.
  `JobQuery`
  JobQuery.`messages()`
  Only select jobs that are messages.
  `JobQuery`
  JobQuery.`timers()`
  Only select jobs that are timers.
  `JobQuery`
  JobQuery.`unlocked()`
  Only return jobs that are not locked.