Package org.flowable.form.api
Interface FormDefinitionQuery
- All Superinterfaces:
Query<FormDefinitionQuery,
FormDefinition>
Allows programmatic querying of
FormDefinition
s.- Author:
- Tijs Rademakers, Joram Barrez
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentId
(String deploymentId) Only select forms that are deployed in a deployment with the given deployment iddeploymentIds
(Set<String> deploymentIds) Select forms that are deployed in deployments with the given set of idsformCategory
(String formCategory) Only select forms with the given category.formCategoryLike
(String formCategoryLike) Only select forms where the category matches the given parameter.formCategoryNotEquals
(String categoryNotEquals) Only select deployments that have a different category then the given one.formDefinitionKey
(String formDefinitionKey) Only select form with the given key.formDefinitionKeyLike
(String formDefinitionKeyLike) Only select forms where the key matches the given parameter.Only select form with the given id.Only select forms with the given ids.Only select forms with the given name.formNameLike
(String formNameLike) Only select forms where the name matches the given parameter.formResourceName
(String resourceName) Only select form with the given resource name.formResourceNameLike
(String resourceNameLike) Only select form with a resource name like the given .formTenantId
(String tenantId) Only select forms that have the given tenant id.formTenantIdLike
(String tenantIdLike) Only select forms with a tenant id like the given one.formVersion
(Integer formVersion) Only select form with a certain version.formVersionGreaterThan
(Integer formVersion) Only select forms which version are greater than a certain version.formVersionGreaterThanOrEquals
(Integer formVersion) Only select forms which version are greater than or equals a certain version.formVersionLowerThan
(Integer formVersion) Only select forms which version are lower than a certain version.formVersionLowerThanOrEquals
(Integer formVersion) Only select forms which version are lower than or equals a certain version.Only select forms that do not have a tenant id.Only select the forms which are the latest deployed (ie.Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the category of the forms (needs to be followed byQuery.asc()
orQuery.desc()
).Order by form definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the id of the forms (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the name of the forms (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the version of the forms (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).parentDeploymentId
(String parentDeploymentId) Only select forms that are deployed in a deployment with the given parent deployment id
-
Method Details
-
formId
Only select form with the given id. -
formIds
Only select forms with the given ids. -
formCategory
Only select forms with the given category. -
formCategoryLike
Only select forms where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
formCategoryNotEquals
Only select deployments that have a different category then the given one.- See Also:
-
formName
Only select forms with the given name. -
formNameLike
Only select forms where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
deploymentId
Only select forms that are deployed in a deployment with the given deployment id -
deploymentIds
Select forms that are deployed in deployments with the given set of ids -
parentDeploymentId
Only select forms that are deployed in a deployment with the given parent deployment id -
formDefinitionKey
Only select form with the given key. -
formDefinitionKeyLike
Only select forms where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test% -
formVersion
Only select form with a certain version. Particularly useful when used in combination withformDefinitionKey(String)
-
formVersionGreaterThan
Only select forms which version are greater than a certain version. -
formVersionGreaterThanOrEquals
Only select forms which version are greater than or equals a certain version. -
formVersionLowerThan
Only select forms which version are lower than a certain version. -
formVersionLowerThanOrEquals
Only select forms which version are lower than or equals a certain version. -
latestVersion
FormDefinitionQuery latestVersion()Only select the forms which are the latest deployed (ie. which have the highest version number for the given key). Can also be used without any other criteria (ie. query.latest().list()), which will then give all the latest versions of all the deployed form definitions.- Throws:
FlowableIllegalArgumentException
- if used in combination withformVersion(Integer)
ordeploymentId(String)
-
formResourceName
Only select form with the given resource name. -
formResourceNameLike
Only select form with a resource name like the given . -
formTenantId
Only select forms that have the given tenant id. -
formTenantIdLike
Only select forms with a tenant id like the given one. -
formWithoutTenantId
FormDefinitionQuery formWithoutTenantId()Only select forms that do not have a tenant id. -
orderByFormCategory
FormDefinitionQuery orderByFormCategory()Order by the category of the forms (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByFormDefinitionKey
FormDefinitionQuery orderByFormDefinitionKey()Order by form definition key (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByFormId
FormDefinitionQuery orderByFormId()Order by the id of the forms (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByFormVersion
FormDefinitionQuery orderByFormVersion()Order by the version of the forms (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByFormName
FormDefinitionQuery orderByFormName()Order by the name of the forms (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByDeploymentId
FormDefinitionQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByTenantId
FormDefinitionQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).
-