Package org.flowable.batch.service.impl
Class BatchPartQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<BatchPartQuery,BatchPart>
org.flowable.batch.service.impl.BatchPartQueryImpl
- All Implemented Interfaces:
Serializable
,BatchPartQuery
,Query<BatchPartQuery,
,BatchPart> Command<Object>
public class BatchPartQueryImpl
extends AbstractQuery<BatchPartQuery,BatchPart>
implements BatchPartQuery
- Author:
- Filip Hrisafov
- 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 final BatchServiceConfiguration
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
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, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorsConstructorDescriptionBatchPartQueryImpl
(CommandExecutor commandExecutor, BatchServiceConfiguration batchServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionOnly select batch parts with the given batch idbatchSearchKey
(String searchKey) Only select batch parts with the given batch search key.batchSearchKey2
(String searchKey2) Only select batch parts with the batch given search key.Only select batch parts with the given batch type.Only select batch parts that have been completed.long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()
getType()
Only select batch parts with the given idboolean
boolean
Order by batch id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by batch part create time (needs to be followed byQuery.asc()
orQuery.desc()
).Only select batch parts with the given scope id.Only select batch parts with the given scope type.Only select batch parts with the given search key.searchKey2
(String searchKey2) Only select batch parts with the given search key.Only select batch parts with the given status.subScopeId
(String subScopeId) Only select batch parts with the given sub scope id.Only select batch parts with the given tenant id.tenantIdLike
(String tenantIdLike) Only select batch parts with a tenant id like the given one.Only select batch parts with the given type.Only select batch parts 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, 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 Details
-
batchServiceConfiguration
-
id
-
type
-
batchId
-
searchKey
-
searchKey2
-
batchType
-
batchSearchKey
-
batchSearchKey2
-
status
-
scopeId
-
subScopeId
-
scopeType
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
completed
protected boolean completed
-
-
Constructor Details
-
BatchPartQueryImpl
public BatchPartQueryImpl(CommandExecutor commandExecutor, BatchServiceConfiguration batchServiceConfiguration)
-
-
Method Details
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<BatchPartQuery,
BatchPart>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<BatchPartQuery,
BatchPart>
-
id
Description copied from interface:BatchPartQuery
Only select batch parts with the given id- Specified by:
id
in interfaceBatchPartQuery
-
batchId
Description copied from interface:BatchPartQuery
Only select batch parts with the given batch id- Specified by:
batchId
in interfaceBatchPartQuery
-
type
Description copied from interface:BatchPartQuery
Only select batch parts with the given type.- Specified by:
type
in interfaceBatchPartQuery
-
searchKey
Description copied from interface:BatchPartQuery
Only select batch parts with the given search key.- Specified by:
searchKey
in interfaceBatchPartQuery
-
searchKey2
Description copied from interface:BatchPartQuery
Only select batch parts with the given search key.- Specified by:
searchKey2
in interfaceBatchPartQuery
-
batchType
Description copied from interface:BatchPartQuery
Only select batch parts with the given batch type.- Specified by:
batchType
in interfaceBatchPartQuery
-
batchSearchKey
Description copied from interface:BatchPartQuery
Only select batch parts with the given batch search key.- Specified by:
batchSearchKey
in interfaceBatchPartQuery
-
batchSearchKey2
Description copied from interface:BatchPartQuery
Only select batch parts with the batch given search key.- Specified by:
batchSearchKey2
in interfaceBatchPartQuery
-
status
Description copied from interface:BatchPartQuery
Only select batch parts with the given status.- Specified by:
status
in interfaceBatchPartQuery
-
scopeId
Description copied from interface:BatchPartQuery
Only select batch parts with the given scope id.- Specified by:
scopeId
in interfaceBatchPartQuery
-
subScopeId
Description copied from interface:BatchPartQuery
Only select batch parts with the given sub scope id.- Specified by:
subScopeId
in interfaceBatchPartQuery
-
scopeType
Description copied from interface:BatchPartQuery
Only select batch parts with the given scope type.- Specified by:
scopeType
in interfaceBatchPartQuery
-
tenantId
Description copied from interface:BatchPartQuery
Only select batch parts with the given tenant id.- Specified by:
tenantId
in interfaceBatchPartQuery
-
tenantIdLike
Description copied from interface:BatchPartQuery
Only select batch parts with a tenant id like the given one.- Specified by:
tenantIdLike
in interfaceBatchPartQuery
-
withoutTenantId
Description copied from interface:BatchPartQuery
Only select batch parts that do not have a tenant id.- Specified by:
withoutTenantId
in interfaceBatchPartQuery
-
completed
Description copied from interface:BatchPartQuery
Only select batch parts that have been completed.- Specified by:
completed
in interfaceBatchPartQuery
-
orderByBatchId
Description copied from interface:BatchPartQuery
Order by batch id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByBatchId
in interfaceBatchPartQuery
-
orderByCreateTime
Description copied from interface:BatchPartQuery
Order by batch part create time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCreateTime
in interfaceBatchPartQuery
-
getId
-
getType
-
getBatchId
-
getSearchKey
-
getSearchKey2
-
getBatchType
-
getBatchSearchKey
-
getBatchSearchKey2
-
getStatus
-
getScopeId
-
getSubScopeId
-
getScopeType
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
isCompleted
public boolean isCompleted()
-