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.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected final BatchServiceConfigurationprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields 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
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.longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()getType()Only select batch parts with the given idbooleanbooleanOrder 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, getSafeList, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods 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
-
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:
executeCountin classAbstractQuery<BatchPartQuery,BatchPart>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<BatchPartQuery,BatchPart>
-
id
Description copied from interface:BatchPartQueryOnly select batch parts with the given id- Specified by:
idin interfaceBatchPartQuery
-
batchId
Description copied from interface:BatchPartQueryOnly select batch parts with the given batch id- Specified by:
batchIdin interfaceBatchPartQuery
-
type
Description copied from interface:BatchPartQueryOnly select batch parts with the given type.- Specified by:
typein interfaceBatchPartQuery
-
searchKey
Description copied from interface:BatchPartQueryOnly select batch parts with the given search key.- Specified by:
searchKeyin interfaceBatchPartQuery
-
searchKey2
Description copied from interface:BatchPartQueryOnly select batch parts with the given search key.- Specified by:
searchKey2in interfaceBatchPartQuery
-
batchType
Description copied from interface:BatchPartQueryOnly select batch parts with the given batch type.- Specified by:
batchTypein interfaceBatchPartQuery
-
batchSearchKey
Description copied from interface:BatchPartQueryOnly select batch parts with the given batch search key.- Specified by:
batchSearchKeyin interfaceBatchPartQuery
-
batchSearchKey2
Description copied from interface:BatchPartQueryOnly select batch parts with the batch given search key.- Specified by:
batchSearchKey2in interfaceBatchPartQuery
-
status
Description copied from interface:BatchPartQueryOnly select batch parts with the given status.- Specified by:
statusin interfaceBatchPartQuery
-
scopeId
Description copied from interface:BatchPartQueryOnly select batch parts with the given scope id.- Specified by:
scopeIdin interfaceBatchPartQuery
-
subScopeId
Description copied from interface:BatchPartQueryOnly select batch parts with the given sub scope id.- Specified by:
subScopeIdin interfaceBatchPartQuery
-
scopeType
Description copied from interface:BatchPartQueryOnly select batch parts with the given scope type.- Specified by:
scopeTypein interfaceBatchPartQuery
-
tenantId
Description copied from interface:BatchPartQueryOnly select batch parts with the given tenant id.- Specified by:
tenantIdin interfaceBatchPartQuery
-
tenantIdLike
Description copied from interface:BatchPartQueryOnly select batch parts with a tenant id like the given one.- Specified by:
tenantIdLikein interfaceBatchPartQuery
-
withoutTenantId
Description copied from interface:BatchPartQueryOnly select batch parts that do not have a tenant id.- Specified by:
withoutTenantIdin interfaceBatchPartQuery
-
completed
Description copied from interface:BatchPartQueryOnly select batch parts that have been completed.- Specified by:
completedin interfaceBatchPartQuery
-
orderByBatchId
Description copied from interface:BatchPartQueryOrder by batch id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByBatchIdin interfaceBatchPartQuery
-
orderByCreateTime
Description copied from interface:BatchPartQueryOrder by batch part create time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCreateTimein interfaceBatchPartQuery
-
getId
-
getType
-
getBatchId
-
getSearchKey
-
getSearchKey2
-
getBatchType
-
getBatchSearchKey
-
getBatchSearchKey2
-
getStatus
-
getScopeId
-
getSubScopeId
-
getScopeType
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
isCompleted
public boolean isCompleted()
-