Package org.flowable.form.api
Interface FormDefinitionQuery
- All Superinterfaces:
- Query<FormDefinitionQuery,- FormDefinition> 
Allows programmatic querying of 
FormDefinitions.- Author:
- Tijs Rademakers, Joram Barrez
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.QueryQuery.NullHandlingOnOrder
- 
Method SummaryModifier 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- 
formIdOnly select form with the given id.
- 
formIdsOnly select forms with the given ids.
- 
formCategoryOnly select forms with the given category.
- 
formCategoryLikeOnly select forms where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%
- 
formCategoryNotEqualsOnly select deployments that have a different category then the given one.- See Also:
 
- 
formNameOnly select forms with the given name.
- 
formNameLikeOnly select forms where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%
- 
deploymentIdOnly select forms that are deployed in a deployment with the given deployment id
- 
deploymentIdsSelect forms that are deployed in deployments with the given set of ids
- 
parentDeploymentIdOnly select forms that are deployed in a deployment with the given parent deployment id
- 
formDefinitionKeyOnly select form with the given key.
- 
formDefinitionKeyLikeOnly select forms where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%
- 
formVersionOnly select form with a certain version. Particularly useful when used in combination withformDefinitionKey(String)
- 
formVersionGreaterThanOnly select forms which version are greater than a certain version.
- 
formVersionGreaterThanOrEqualsOnly select forms which version are greater than or equals a certain version.
- 
formVersionLowerThanOnly select forms which version are lower than a certain version.
- 
formVersionLowerThanOrEqualsOnly select forms which version are lower than or equals a certain version.
- 
latestVersionFormDefinitionQuery 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 with- formVersion(Integer)or- deploymentId(String)
 
- 
formResourceNameOnly select form with the given resource name.
- 
formResourceNameLikeOnly select form with a resource name like the given .
- 
formTenantIdOnly select forms that have the given tenant id.
- 
formTenantIdLikeOnly select forms with a tenant id like the given one.
- 
formWithoutTenantIdFormDefinitionQuery formWithoutTenantId()Only select forms that do not have a tenant id.
- 
orderByFormCategoryFormDefinitionQuery orderByFormCategory()Order by the category of the forms (needs to be followed byQuery.asc()orQuery.desc()).
- 
orderByFormDefinitionKeyFormDefinitionQuery orderByFormDefinitionKey()Order by form definition key (needs to be followed byQuery.asc()orQuery.desc()).
- 
orderByFormIdFormDefinitionQuery orderByFormId()Order by the id of the forms (needs to be followed byQuery.asc()orQuery.desc()).
- 
orderByFormVersionFormDefinitionQuery orderByFormVersion()Order by the version of the forms (needs to be followed byQuery.asc()orQuery.desc()).
- 
orderByFormNameFormDefinitionQuery orderByFormName()Order by the name of the forms (needs to be followed byQuery.asc()orQuery.desc()).
- 
orderByDeploymentIdFormDefinitionQuery orderByDeploymentId()Order by deployment id (needs to be followed byQuery.asc()orQuery.desc()).
- 
orderByTenantIdFormDefinitionQuery orderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).
 
-