Package com.flowable.form.engine.impl
Class FormCustomComponentDefinitionQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<FormCustomComponentDefinitionQuery,FormCustomComponentDefinition>
com.flowable.form.engine.impl.FormCustomComponentDefinitionQueryImpl
- All Implemented Interfaces:
FormCustomComponentDefinitionQuery
,Serializable
,Query<FormCustomComponentDefinitionQuery,
,FormCustomComponentDefinition> Command<Object>
public class FormCustomComponentDefinitionQueryImpl
extends AbstractQuery<FormCustomComponentDefinitionQuery,FormCustomComponentDefinition>
implements FormCustomComponentDefinitionQuery
- See Also:
-
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
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
protected boolean
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, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorsConstructorDescriptionFormCustomComponentDefinitionQueryImpl
(CommandContext commandContext) FormCustomComponentDefinitionQueryImpl
(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptioncomponentVersion
(String componentVersion) Only select custom components with the given component version.deploymentId
(String deploymentId) Only select custom components that are deployed in a deployment with the given deployment idlong
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) getId()
getKey()
getName()
Only select custom component with the given id.boolean
isLatest()
boolean
Only select custom components with the given key.Only select custom components where the key matches the given parameter.Only select the custom components which are the latest deployed (ie.Only select custom components with the given name.Only select custom components where the name matches the given parameter.Order by custom component key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the name of the custom components (needs to be followed byQuery.asc()
orQuery.desc()
).parentDeploymentId
(String parentDeploymentId) Only select custom components that are deployed in a deployment with the given parent deployment idOnly select custom components that have the given tenant id.tenantIdLike
(String tenantIdLike) Only select custom components with a tenant id like the given one.Only select custom components that do not have a tenant id.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameter
-
Field Details
-
id
-
name
-
nameLike
-
deploymentId
-
parentDeploymentId
-
key
-
keyLike
-
latest
protected boolean latest -
componentVersion
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
-
Constructor Details
-
FormCustomComponentDefinitionQueryImpl
public FormCustomComponentDefinitionQueryImpl() -
FormCustomComponentDefinitionQueryImpl
-
FormCustomComponentDefinitionQueryImpl
-
-
Method Details
-
id
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom component with the given id.- Specified by:
id
in interfaceFormCustomComponentDefinitionQuery
-
name
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components with the given name.- Specified by:
name
in interfaceFormCustomComponentDefinitionQuery
-
nameLike
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%- Specified by:
nameLike
in interfaceFormCustomComponentDefinitionQuery
-
deploymentId
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components that are deployed in a deployment with the given deployment id- Specified by:
deploymentId
in interfaceFormCustomComponentDefinitionQuery
-
parentDeploymentId
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components that are deployed in a deployment with the given parent deployment id- Specified by:
parentDeploymentId
in interfaceFormCustomComponentDefinitionQuery
-
key
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components with the given key.- Specified by:
key
in interfaceFormCustomComponentDefinitionQuery
-
keyLike
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components where the key matches the given parameter. The syntax that should be used is the same as in SQL, eg. %test%- Specified by:
keyLike
in interfaceFormCustomComponentDefinitionQuery
-
latestVersion
Description copied from interface:FormCustomComponentDefinitionQuery
Only select the custom components 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 custom components.- Specified by:
latestVersion
in interfaceFormCustomComponentDefinitionQuery
-
componentVersion
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components with the given component version.- Specified by:
componentVersion
in interfaceFormCustomComponentDefinitionQuery
-
tenantId
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components that have the given tenant id.- Specified by:
tenantId
in interfaceFormCustomComponentDefinitionQuery
-
tenantIdLike
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components with a tenant id like the given one.- Specified by:
tenantIdLike
in interfaceFormCustomComponentDefinitionQuery
-
withoutTenantId
Description copied from interface:FormCustomComponentDefinitionQuery
Only select custom components that do not have a tenant id.- Specified by:
withoutTenantId
in interfaceFormCustomComponentDefinitionQuery
-
orderByKey
Description copied from interface:FormCustomComponentDefinitionQuery
Order by custom component key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByKey
in interfaceFormCustomComponentDefinitionQuery
-
orderByName
Description copied from interface:FormCustomComponentDefinitionQuery
Order by the name of the custom components (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByName
in interfaceFormCustomComponentDefinitionQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<FormCustomComponentDefinitionQuery,
FormCustomComponentDefinition>
-
executeList
- Specified by:
executeList
in classAbstractQuery<FormCustomComponentDefinitionQuery,
FormCustomComponentDefinition>
-
getDeploymentId
-
getParentDeploymentId
-
getId
-
getName
-
getNameLike
-
getKey
-
getKeyLike
-
isLatest
public boolean isLatest() -
getComponentVersion
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId()
-