Package com.flowable.core.content.api
Interface DocumentDeploymentQuery
- All Superinterfaces:
Query<DocumentDeploymentQuery,
DocumentDeployment>
- All Known Implementing Classes:
DocumentDeploymentQueryImpl
Allows programmatic querying of
DocumentDeployment
s.
Note that it is impossible to retrieve the deployment resources through the results of this operation, since that would cause a huge transfer of (possibly) unneeded bytes over the wire.
To retrieve the actual bytes of a deployment resource use the operations on the DocumentRepositoryService.getDeploymentResourceNames(String)
and
DocumentRepositoryService.getResourceAsStream(String, String)
- Author:
- Tijs Rademakers
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentCategory
(String category) Only select deployments with the given category.deploymentCategoryNotEquals
(String categoryNotEquals) Only select deployments that have a different category then the given one.deploymentId
(String deploymentId) Only select deployments with the given deployment id.deploymentIds
(List<String> deploymentIds) Only select deployments with the given deployment ids.deploymentKey
(String key) Only select deployments with the given key.deploymentName
(String name) Only select deployments with the given name.deploymentNameLike
(String nameLike) Only select deployments with a name like the given string.deploymentTenantId
(String tenantId) Only select deployment that have the given tenant id.deploymentTenantIdLike
(String tenantIdLike) Only select deployments with a tenant id like the given one.Only select deployments that do not have a tenant id.Only select deployments with the given document definition key.documentDefinitionKeyLike
(String keyLike) Only select deployments with a document definition key like the given string.latest()
Only select the latest deployments per deployment key.Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
).Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).parentDeploymentId
(String deploymentParentId) Only select deployment that have the given deployment parent id.parentDeploymentIdLike
(String deploymentParentIdLike) Only select deployments with a deployment parent id like the given one.
-
Method Details
-
deploymentId
Only select deployments with the given deployment id. -
deploymentIds
Only select deployments with the given deployment ids. -
deploymentName
Only select deployments with the given name. -
deploymentNameLike
Only select deployments with a name like the given string. -
deploymentKey
Only select deployments with the given key. -
deploymentCategory
Only select deployments with the given category. -
deploymentCategoryNotEquals
Only select deployments that have a different category then the given one. -
deploymentTenantId
Only select deployment that have the given tenant id. -
deploymentTenantIdLike
Only select deployments with a tenant id like the given one. -
deploymentWithoutTenantId
DocumentDeploymentQuery deploymentWithoutTenantId()Only select deployments that do not have a tenant id. -
documentDefinitionKey
Only select deployments with the given document definition key. -
documentDefinitionKeyLike
Only select deployments with a document definition key like the given string. -
parentDeploymentId
Only select deployment that have the given deployment parent id. -
parentDeploymentIdLike
Only select deployments with a deployment parent id like the given one. -
latest
DocumentDeploymentQuery latest()Only select the latest deployments per deployment key. -
orderByDeploymentId
DocumentDeploymentQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDeploymentName
DocumentDeploymentQuery orderByDeploymentName()Order by deployment name (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDeploymentTime
DocumentDeploymentQuery orderByDeploymentTime()Order by deployment time (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
DocumentDeploymentQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).
-