Class WorkInstanceInfoQueryImpl<Q extends WorkInstanceInfoQuery<Q,R>,R extends WorkInstanceInfo>
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<Q,R>
com.flowable.platform.engine.impl.work.WorkInstanceInfoQueryImpl<Q,R>
- All Implemented Interfaces:
WorkInstanceInfoQuery<Q,,R> Serializable,Query<Q,,R> Command<Object>
- Direct Known Subclasses:
HistoricWorkInstanceQueryImpl,WorkInstanceQueryImpl
public abstract class WorkInstanceInfoQueryImpl<Q extends WorkInstanceInfoQuery<Q,R>,R extends WorkInstanceInfo>
extends AbstractQuery<Q,R>
implements WorkInstanceInfoQuery<Q,R>
- 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 Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected static final ListQueryParameterObject.OrderByprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessibleByUserOrGroups(String userId, Collection<String> groupKeys) Only select work instances accessible by the give user or groupsassigneeUserId(String userId) Only select work instance assigned to the given useridbusinessKey(String businessKey) Only select work instance with the given businessKeybusinessStatus(String businessStatus) Only select work instance with the given businessStatusprotected voiddefinitionCategories(Collection<String> definitionCategories) Only select work instances with the given definition categoriesdefinitionCategory(String definitionCategory) Only select work instances with the given definition categorydefinitionId(String definitionId) Only select work instances with the given definition iddefinitionKey(String definitionKey) Only select work instances with the given definition keydefinitionName(String definitionName) Only select work instances with the given definition namegetId()getName()getState()getType()Only select work instances with the given idWhether translations for the work instances should also be fetched.booleanOnly select work instances with the given namesearchText(String searchText) Only select work instances with the given search textprotected voidstartUserId(String startUserId) Only select work instances with the given start user idOnly select work instances with the given stateOnly select work instances with the given tenantIdOnly select work instances with the given typeMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, count, desc, direction, execute, executeCount, executeList, executeSingleResult, 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, setMaxResults, setNullHandlingColumn, setParameter
-
Field Details
-
DEFAULT_ORDER_BY
-
id
-
name
-
definitionId
-
definitionName
-
definitionKey
-
definitionCategory
-
definitionCategories
-
state
-
type
-
startUserId
-
searchText
-
tenantId
-
accessibleByUser
-
accessibleByGroups
-
safeAccessibleByGroups
-
includeTranslations
protected boolean includeTranslations -
assigneeUserId
-
businessKey
-
businessStatus
-
-
Constructor Details
-
WorkInstanceInfoQueryImpl
-
-
Method Details
-
id
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given id- Specified by:
idin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
name
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given name- Specified by:
namein interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
definitionId
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given definition id- Specified by:
definitionIdin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
definitionName
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given definition name- Specified by:
definitionNamein interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
definitionKey
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given definition key- Specified by:
definitionKeyin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
definitionCategory
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given definition category- Specified by:
definitionCategoryin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
definitionCategories
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given definition categories- Specified by:
definitionCategoriesin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
state
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given state- Specified by:
statein interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
type
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given type- Specified by:
typein interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
startUserId
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given start user id- Specified by:
startUserIdin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
searchText
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given search text- Specified by:
searchTextin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
tenantId
Description copied from interface:WorkInstanceInfoQueryOnly select work instances with the given tenantId- Specified by:
tenantIdin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
accessibleByUserOrGroups
Description copied from interface:WorkInstanceInfoQueryOnly select work instances accessible by the give user or groups- Specified by:
accessibleByUserOrGroupsin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
includeTranslation
Description copied from interface:WorkInstanceInfoQueryWhether translations for the work instances should also be fetched.- Specified by:
includeTranslationin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
assigneeUserId
Description copied from interface:WorkInstanceInfoQueryOnly select work instance assigned to the given userid- Specified by:
assigneeUserIdin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
checkQueryOk
protected void checkQueryOk()- Overrides:
checkQueryOkin classAbstractQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
businessKey
Description copied from interface:WorkInstanceInfoQueryOnly select work instance with the given businessKey- Specified by:
businessKeyin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
businessStatus
Description copied from interface:WorkInstanceInfoQueryOnly select work instance with the given businessStatus- Specified by:
businessStatusin interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
-
setSafeLists
protected void setSafeLists() -
getId
-
getName
-
getDefinitionId
-
getDefinitionName
-
getDefinitionKey
-
getDefinitionCategory
-
getDefinitionCategories
-
getState
-
getType
-
getStartUserId
-
getSearchText
-
getTenantId
-
getAccessibleByUser
-
getAccessibleByGroups
-
getSafeAccessibleByGroups
-
isIncludeTranslations
public boolean isIncludeTranslations() -
getAssigneeUserId
-