Interface DocumentDeploymentQuery

All Superinterfaces:
org.flowable.common.engine.api.query.Query<DocumentDeploymentQuery,DocumentDeployment>
All Known Implementing Classes:
DocumentDeploymentQueryImpl

public interface DocumentDeploymentQuery extends org.flowable.common.engine.api.query.Query<DocumentDeploymentQuery,DocumentDeployment>
Allows programmatic querying of DocumentDeployments. 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
  • Method Details

    • deploymentId

      DocumentDeploymentQuery deploymentId(String deploymentId)
      Only select deployments with the given deployment id.
    • deploymentIds

      DocumentDeploymentQuery deploymentIds(List<String> deploymentIds)
      Only select deployments with the given deployment ids.
    • deploymentName

      DocumentDeploymentQuery deploymentName(String name)
      Only select deployments with the given name.
    • deploymentNameLike

      DocumentDeploymentQuery deploymentNameLike(String nameLike)
      Only select deployments with a name like the given string.
    • deploymentKey

      DocumentDeploymentQuery deploymentKey(String key)
      Only select deployments with the given key.
    • deploymentCategory

      DocumentDeploymentQuery deploymentCategory(String category)
      Only select deployments with the given category.
    • deploymentCategoryNotEquals

      DocumentDeploymentQuery deploymentCategoryNotEquals(String categoryNotEquals)
      Only select deployments that have a different category then the given one.
    • deploymentTenantId

      DocumentDeploymentQuery deploymentTenantId(String tenantId)
      Only select deployment that have the given tenant id.
    • deploymentTenantIdLike

      DocumentDeploymentQuery deploymentTenantIdLike(String tenantIdLike)
      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

      DocumentDeploymentQuery documentDefinitionKey(String key)
      Only select deployments with the given document definition key.
    • documentDefinitionKeyLike

      DocumentDeploymentQuery documentDefinitionKeyLike(String keyLike)
      Only select deployments with a document definition key like the given string.
    • parentDeploymentId

      DocumentDeploymentQuery parentDeploymentId(String deploymentParentId)
      Only select deployment that have the given deployment parent id.
    • parentDeploymentIdLike

      DocumentDeploymentQuery parentDeploymentIdLike(String deploymentParentIdLike)
      Only select deployments with a deployment parent id like the given one.
    • latest

      Only select the latest deployments per deployment key.
    • orderByDeploymentId

      DocumentDeploymentQuery orderByDeploymentId()
      Order by deployment id (needs to be followed by Query.asc() or Query.desc()).
    • orderByDeploymentName

      DocumentDeploymentQuery orderByDeploymentName()
      Order by deployment name (needs to be followed by Query.asc() or Query.desc()).
    • orderByDeploymentTime

      DocumentDeploymentQuery orderByDeploymentTime()
      Order by deployment time (needs to be followed by Query.asc() or Query.desc()).
    • orderByTenantId

      DocumentDeploymentQuery orderByTenantId()
      Order by tenant id (needs to be followed by Query.asc() or Query.desc()).