Package com.flowable.form.engine.impl
Class FormDefinitionQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<FormDefinitionQuery,FormDefinition>
-
- com.flowable.form.engine.impl.FormDefinitionQueryImpl
-
- All Implemented Interfaces:
Serializable
,Query<FormDefinitionQuery,FormDefinition>
,Command<Object>
,FormDefinitionQuery
public class FormDefinitionQueryImpl extends AbstractQuery<FormDefinitionQuery,FormDefinition> implements FormDefinitionQuery
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
-
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
-
Field Summary
Fields Modifier and Type Field Description protected String
category
protected String
categoryLike
protected String
categoryNotEquals
protected String
deploymentId
protected Set<String>
deploymentIds
protected String
id
protected Set<String>
ids
protected String
key
protected String
keyLike
protected boolean
latest
protected String
name
protected String
nameLike
protected String
parentDeploymentId
protected String
resourceName
protected String
resourceNameLike
protected String
tenantId
protected String
tenantIdLike
protected Integer
version
protected Integer
versionGt
protected Integer
versionGte
protected Integer
versionLt
protected Integer
versionLte
protected boolean
withoutTenantId
-
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
-
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
-
Constructor Summary
Constructors Constructor Description FormDefinitionQueryImpl()
FormDefinitionQueryImpl(CommandContext commandContext)
FormDefinitionQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
-
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
-
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
-
-
-
Field Detail
-
id
protected String id
-
category
protected String category
-
categoryLike
protected String categoryLike
-
categoryNotEquals
protected String categoryNotEquals
-
name
protected String name
-
nameLike
protected String nameLike
-
deploymentId
protected String deploymentId
-
parentDeploymentId
protected String parentDeploymentId
-
key
protected String key
-
keyLike
protected String keyLike
-
resourceName
protected String resourceName
-
resourceNameLike
protected String resourceNameLike
-
version
protected Integer version
-
versionGt
protected Integer versionGt
-
versionGte
protected Integer versionGte
-
versionLt
protected Integer versionLt
-
versionLte
protected Integer versionLte
-
latest
protected boolean latest
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Detail
-
FormDefinitionQueryImpl
public FormDefinitionQueryImpl()
-
FormDefinitionQueryImpl
public FormDefinitionQueryImpl(CommandContext commandContext)
-
FormDefinitionQueryImpl
public FormDefinitionQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
formId
public FormDefinitionQueryImpl formId(String formId)
- Specified by:
formId
in interfaceFormDefinitionQuery
-
formIds
public FormDefinitionQuery formIds(Set<String> formIds)
- Specified by:
formIds
in interfaceFormDefinitionQuery
-
formCategory
public FormDefinitionQueryImpl formCategory(String category)
- Specified by:
formCategory
in interfaceFormDefinitionQuery
-
formCategoryLike
public FormDefinitionQueryImpl formCategoryLike(String categoryLike)
- Specified by:
formCategoryLike
in interfaceFormDefinitionQuery
-
formCategoryNotEquals
public FormDefinitionQueryImpl formCategoryNotEquals(String categoryNotEquals)
- Specified by:
formCategoryNotEquals
in interfaceFormDefinitionQuery
-
formName
public FormDefinitionQueryImpl formName(String name)
- Specified by:
formName
in interfaceFormDefinitionQuery
-
formNameLike
public FormDefinitionQueryImpl formNameLike(String nameLike)
- Specified by:
formNameLike
in interfaceFormDefinitionQuery
-
deploymentId
public FormDefinitionQueryImpl deploymentId(String deploymentId)
- Specified by:
deploymentId
in interfaceFormDefinitionQuery
-
deploymentIds
public FormDefinitionQueryImpl deploymentIds(Set<String> deploymentIds)
- Specified by:
deploymentIds
in interfaceFormDefinitionQuery
-
parentDeploymentId
public FormDefinitionQuery parentDeploymentId(String parentDeploymentId)
- Specified by:
parentDeploymentId
in interfaceFormDefinitionQuery
-
formDefinitionKey
public FormDefinitionQueryImpl formDefinitionKey(String key)
- Specified by:
formDefinitionKey
in interfaceFormDefinitionQuery
-
formDefinitionKeyLike
public FormDefinitionQueryImpl formDefinitionKeyLike(String keyLike)
- Specified by:
formDefinitionKeyLike
in interfaceFormDefinitionQuery
-
formResourceName
public FormDefinitionQueryImpl formResourceName(String resourceName)
- Specified by:
formResourceName
in interfaceFormDefinitionQuery
-
formResourceNameLike
public FormDefinitionQueryImpl formResourceNameLike(String resourceNameLike)
- Specified by:
formResourceNameLike
in interfaceFormDefinitionQuery
-
formVersion
public FormDefinitionQueryImpl formVersion(Integer version)
- Specified by:
formVersion
in interfaceFormDefinitionQuery
-
formVersionGreaterThan
public FormDefinitionQuery formVersionGreaterThan(Integer formVersion)
- Specified by:
formVersionGreaterThan
in interfaceFormDefinitionQuery
-
formVersionGreaterThanOrEquals
public FormDefinitionQuery formVersionGreaterThanOrEquals(Integer formVersion)
- Specified by:
formVersionGreaterThanOrEquals
in interfaceFormDefinitionQuery
-
formVersionLowerThan
public FormDefinitionQuery formVersionLowerThan(Integer formVersion)
- Specified by:
formVersionLowerThan
in interfaceFormDefinitionQuery
-
formVersionLowerThanOrEquals
public FormDefinitionQuery formVersionLowerThanOrEquals(Integer formVersion)
- Specified by:
formVersionLowerThanOrEquals
in interfaceFormDefinitionQuery
-
checkVersion
protected void checkVersion(Integer version)
-
latestVersion
public FormDefinitionQueryImpl latestVersion()
- Specified by:
latestVersion
in interfaceFormDefinitionQuery
-
formTenantId
public FormDefinitionQuery formTenantId(String tenantId)
- Specified by:
formTenantId
in interfaceFormDefinitionQuery
-
formTenantIdLike
public FormDefinitionQuery formTenantIdLike(String tenantIdLike)
- Specified by:
formTenantIdLike
in interfaceFormDefinitionQuery
-
formWithoutTenantId
public FormDefinitionQuery formWithoutTenantId()
- Specified by:
formWithoutTenantId
in interfaceFormDefinitionQuery
-
orderByDeploymentId
public FormDefinitionQuery orderByDeploymentId()
- Specified by:
orderByDeploymentId
in interfaceFormDefinitionQuery
-
orderByFormDefinitionKey
public FormDefinitionQuery orderByFormDefinitionKey()
- Specified by:
orderByFormDefinitionKey
in interfaceFormDefinitionQuery
-
orderByFormCategory
public FormDefinitionQuery orderByFormCategory()
- Specified by:
orderByFormCategory
in interfaceFormDefinitionQuery
-
orderByFormId
public FormDefinitionQuery orderByFormId()
- Specified by:
orderByFormId
in interfaceFormDefinitionQuery
-
orderByFormVersion
public FormDefinitionQuery orderByFormVersion()
- Specified by:
orderByFormVersion
in interfaceFormDefinitionQuery
-
orderByFormName
public FormDefinitionQuery orderByFormName()
- Specified by:
orderByFormName
in interfaceFormDefinitionQuery
-
orderByTenantId
public FormDefinitionQuery orderByTenantId()
- Specified by:
orderByTenantId
in interfaceFormDefinitionQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<FormDefinitionQuery,FormDefinition>
-
executeList
public List<FormDefinition> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<FormDefinitionQuery,FormDefinition>
-
getDeploymentId
public String getDeploymentId()
-
getParentDeploymentId
public String getParentDeploymentId()
-
getId
public String getId()
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getKey
public String getKey()
-
getKeyLike
public String getKeyLike()
-
getVersion
public Integer getVersion()
-
getVersionGt
public Integer getVersionGt()
-
getVersionGte
public Integer getVersionGte()
-
getVersionLt
public Integer getVersionLt()
-
getVersionLte
public Integer getVersionLte()
-
isLatest
public boolean isLatest()
-
getCategory
public String getCategory()
-
getCategoryLike
public String getCategoryLike()
-
getResourceName
public String getResourceName()
-
getResourceNameLike
public String getResourceNameLike()
-
getCategoryNotEquals
public String getCategoryNotEquals()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
-