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.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection<String>
protected String
protected String
protected String
protected String
protected static final ListQueryParameterObject.OrderBy
protected Collection<String>
protected String
protected String
protected String
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
protected String
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, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
-
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 void
definitionCategories
(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.boolean
Only select work instances with the given namesearchText
(String searchText) Only select work instances with the given search textprotected void
startUserId
(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, 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
-
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:WorkInstanceInfoQuery
Only select work instances with the given id- Specified by:
id
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
name
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given name- Specified by:
name
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
definitionId
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given definition id- Specified by:
definitionId
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
definitionName
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given definition name- Specified by:
definitionName
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
definitionKey
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given definition key- Specified by:
definitionKey
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
definitionCategory
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given definition category- Specified by:
definitionCategory
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
definitionCategories
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given definition categories- Specified by:
definitionCategories
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
state
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given state- Specified by:
state
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
type
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given type- Specified by:
type
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
startUserId
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given start user id- Specified by:
startUserId
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
searchText
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given search text- Specified by:
searchText
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
tenantId
Description copied from interface:WorkInstanceInfoQuery
Only select work instances with the given tenantId- Specified by:
tenantId
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
accessibleByUserOrGroups
Description copied from interface:WorkInstanceInfoQuery
Only select work instances accessible by the give user or groups- Specified by:
accessibleByUserOrGroups
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
includeTranslation
Description copied from interface:WorkInstanceInfoQuery
Whether translations for the work instances should also be fetched.- Specified by:
includeTranslation
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
assigneeUserId
Description copied from interface:WorkInstanceInfoQuery
Only select work instance assigned to the given userid- Specified by:
assigneeUserId
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
checkQueryOk
protected void checkQueryOk()- Overrides:
checkQueryOk
in classAbstractQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
businessKey
Description copied from interface:WorkInstanceInfoQuery
Only select work instance with the given businessKey- Specified by:
businessKey
in interfaceWorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,
R>, R extends WorkInstanceInfo>
-
businessStatus
Description copied from interface:WorkInstanceInfoQuery
Only select work instance with the given businessStatus- Specified by:
businessStatus
in 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
-