Package com.flowable.form.engine.impl
Class FormInstanceQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<FormInstanceQuery,FormInstance>
-
- com.flowable.form.engine.impl.FormInstanceQueryImpl
-
- All Implemented Interfaces:
Serializable
,CacheAwareQuery<FormInstanceEntity>
,Query<FormInstanceQuery,FormInstance>
,Command<Object>
,FormInstanceQuery
public class FormInstanceQueryImpl extends AbstractQuery<FormInstanceQuery,FormInstance> implements FormInstanceQuery, CacheAwareQuery<FormInstanceEntity>, Serializable
- 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
formDefinitionId
protected String
formDefinitionIdLike
protected String
id
protected Set<String>
ids
protected String
processDefinitionId
protected String
processDefinitionIdLike
protected String
processInstanceId
protected String
processInstanceIdLike
protected String
scopeDefinitionId
protected String
scopeId
protected String
scopeType
protected String
submittedBy
protected String
submittedByLike
protected Date
submittedDate
protected Date
submittedDateAfter
protected Date
submittedDateBefore
protected String
taskId
protected String
taskIdLike
protected String
tenantId
protected String
tenantIdLike
protected boolean
withoutTaskId
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 FormInstanceQueryImpl()
FormInstanceQueryImpl(CommandContext commandContext)
FormInstanceQueryImpl(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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
-
-
-
Field Detail
-
id
protected String id
-
formDefinitionId
protected String formDefinitionId
-
formDefinitionIdLike
protected String formDefinitionIdLike
-
taskId
protected String taskId
-
taskIdLike
protected String taskIdLike
-
processInstanceId
protected String processInstanceId
-
processInstanceIdLike
protected String processInstanceIdLike
-
processDefinitionId
protected String processDefinitionId
-
processDefinitionIdLike
protected String processDefinitionIdLike
-
scopeId
protected String scopeId
-
scopeType
protected String scopeType
-
scopeDefinitionId
protected String scopeDefinitionId
-
submittedDate
protected Date submittedDate
-
submittedDateBefore
protected Date submittedDateBefore
-
submittedDateAfter
protected Date submittedDateAfter
-
submittedBy
protected String submittedBy
-
submittedByLike
protected String submittedByLike
-
tenantId
protected String tenantId
-
tenantIdLike
protected String tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId
-
withoutTaskId
protected boolean withoutTaskId
-
-
Constructor Detail
-
FormInstanceQueryImpl
public FormInstanceQueryImpl()
-
FormInstanceQueryImpl
public FormInstanceQueryImpl(CommandContext commandContext)
-
FormInstanceQueryImpl
public FormInstanceQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
id
public FormInstanceQueryImpl id(String id)
- Specified by:
id
in interfaceFormInstanceQuery
-
ids
public FormInstanceQueryImpl ids(Set<String> ids)
- Specified by:
ids
in interfaceFormInstanceQuery
-
formDefinitionId
public FormInstanceQueryImpl formDefinitionId(String formDefinitionId)
- Specified by:
formDefinitionId
in interfaceFormInstanceQuery
-
formDefinitionIdLike
public FormInstanceQueryImpl formDefinitionIdLike(String formDefinitionIdLike)
- Specified by:
formDefinitionIdLike
in interfaceFormInstanceQuery
-
taskId
public FormInstanceQueryImpl taskId(String taskId)
- Specified by:
taskId
in interfaceFormInstanceQuery
-
taskIdLike
public FormInstanceQueryImpl taskIdLike(String taskIdLike)
- Specified by:
taskIdLike
in interfaceFormInstanceQuery
-
processInstanceId
public FormInstanceQueryImpl processInstanceId(String processInstanceId)
- Specified by:
processInstanceId
in interfaceFormInstanceQuery
-
processInstanceIdLike
public FormInstanceQueryImpl processInstanceIdLike(String processInstanceIdLike)
- Specified by:
processInstanceIdLike
in interfaceFormInstanceQuery
-
processDefinitionId
public FormInstanceQueryImpl processDefinitionId(String processDefinitionId)
- Specified by:
processDefinitionId
in interfaceFormInstanceQuery
-
processDefinitionIdLike
public FormInstanceQueryImpl processDefinitionIdLike(String processDefinitionIdLike)
- Specified by:
processDefinitionIdLike
in interfaceFormInstanceQuery
-
scopeId
public FormInstanceQueryImpl scopeId(String scopeId)
- Specified by:
scopeId
in interfaceFormInstanceQuery
-
scopeType
public FormInstanceQueryImpl scopeType(String scopeType)
- Specified by:
scopeType
in interfaceFormInstanceQuery
-
scopeDefinitionId
public FormInstanceQueryImpl scopeDefinitionId(String scopeDefinitionId)
- Specified by:
scopeDefinitionId
in interfaceFormInstanceQuery
-
submittedDate
public FormInstanceQueryImpl submittedDate(Date submittedDate)
- Specified by:
submittedDate
in interfaceFormInstanceQuery
-
submittedDateBefore
public FormInstanceQueryImpl submittedDateBefore(Date submittedDateBefore)
- Specified by:
submittedDateBefore
in interfaceFormInstanceQuery
-
submittedDateAfter
public FormInstanceQueryImpl submittedDateAfter(Date submittedDateAfter)
- Specified by:
submittedDateAfter
in interfaceFormInstanceQuery
-
submittedBy
public FormInstanceQueryImpl submittedBy(String submittedBy)
- Specified by:
submittedBy
in interfaceFormInstanceQuery
-
submittedByLike
public FormInstanceQueryImpl submittedByLike(String submittedByLike)
- Specified by:
submittedByLike
in interfaceFormInstanceQuery
-
tenantId
public FormInstanceQueryImpl tenantId(String tenantId)
- Specified by:
tenantId
in interfaceFormInstanceQuery
-
tenantIdLike
public FormInstanceQueryImpl tenantIdLike(String tenantIdLike)
- Specified by:
tenantIdLike
in interfaceFormInstanceQuery
-
withoutTenantId
public FormInstanceQueryImpl withoutTenantId()
- Specified by:
withoutTenantId
in interfaceFormInstanceQuery
-
withoutTaskId
public FormInstanceQueryImpl withoutTaskId()
- Specified by:
withoutTaskId
in interfaceFormInstanceQuery
-
orderBySubmittedDate
public FormInstanceQuery orderBySubmittedDate()
- Specified by:
orderBySubmittedDate
in interfaceFormInstanceQuery
-
orderByTenantId
public FormInstanceQuery orderByTenantId()
- Specified by:
orderByTenantId
in interfaceFormInstanceQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<FormInstanceQuery,FormInstance>
-
executeList
public List<FormInstance> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<FormInstanceQuery,FormInstance>
-
getId
public String getId()
- Specified by:
getId
in interfaceCacheAwareQuery<FormInstanceEntity>
-
getFormDefinitionId
public String getFormDefinitionId()
-
getFormDefinitionIdLike
public String getFormDefinitionIdLike()
-
getTaskId
public String getTaskId()
-
getTaskIdLike
public String getTaskIdLike()
-
getProcessInstanceId
public String getProcessInstanceId()
-
getProcessInstanceIdLike
public String getProcessInstanceIdLike()
-
getProcessDefinitionId
public String getProcessDefinitionId()
-
getProcessDefinitionIdLike
public String getProcessDefinitionIdLike()
-
getScopeId
public String getScopeId()
-
getScopeType
public String getScopeType()
-
getScopeDefinitionId
public String getScopeDefinitionId()
-
getSubmittedDate
public Date getSubmittedDate()
-
getSubmittedDateBefore
public Date getSubmittedDateBefore()
-
getSubmittedDateAfter
public Date getSubmittedDateAfter()
-
getSubmittedBy
public String getSubmittedBy()
-
getSubmittedByLike
public String getSubmittedByLike()
-
getTenantId
public String getTenantId()
-
getTenantIdLike
public String getTenantIdLike()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
isWithoutTaskId
public boolean isWithoutTaskId()
-
-