Class FilterQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.AbstractQuery<FilterQuery,Filter>
-
- org.camunda.bpm.engine.impl.filter.FilterQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable
,FilterQuery
,Command<java.lang.Object>
,Query<FilterQuery,Filter>
public class FilterQueryImpl extends AbstractQuery<FilterQuery,Filter> implements FilterQuery
- Author:
- Sebastian Menski
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
filterId
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.lang.String
owner
protected java.lang.String
resourceType
-
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
-
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
-
Constructor Summary
Constructors Constructor Description FilterQueryImpl()
FilterQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
executeCount(CommandContext commandContext)
java.util.List<Filter>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.FilterQuery
filterId(java.lang.String filterId)
FilterQuery
filterName(java.lang.String name)
FilterQuery
filterNameLike(java.lang.String nameLike)
FilterQuery
filterOwner(java.lang.String owner)
FilterQuery
filterResourceType(java.lang.String resourceType)
FilterQuery
orderByFilterId()
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).FilterQuery
orderByFilterName()
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).FilterQuery
orderByFilterOwner()
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).FilterQuery
orderByFilterResourceType()
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).-
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
-
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Constructor Detail
-
FilterQueryImpl
public FilterQueryImpl()
-
FilterQueryImpl
public FilterQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
filterId
public FilterQuery filterId(java.lang.String filterId)
- Specified by:
filterId
in interfaceFilterQuery
- Parameters:
filterId
- set the filter id to query- Returns:
- this query
-
filterResourceType
public FilterQuery filterResourceType(java.lang.String resourceType)
- Specified by:
filterResourceType
in interfaceFilterQuery
- Parameters:
resourceType
- set the filter resource type to query- Returns:
- this query
-
filterName
public FilterQuery filterName(java.lang.String name)
- Specified by:
filterName
in interfaceFilterQuery
- Parameters:
name
- set the filter name to query- Returns:
- this query
-
filterNameLike
public FilterQuery filterNameLike(java.lang.String nameLike)
- Specified by:
filterNameLike
in interfaceFilterQuery
- Parameters:
nameLike
- set the filter name like to query- Returns:
- this query
-
filterOwner
public FilterQuery filterOwner(java.lang.String owner)
- Specified by:
filterOwner
in interfaceFilterQuery
- Parameters:
owner
- set the filter owner to query- Returns:
- this query
-
orderByFilterId
public FilterQuery orderByFilterId()
Description copied from interface:FilterQuery
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByFilterId
in interfaceFilterQuery
-
orderByFilterResourceType
public FilterQuery orderByFilterResourceType()
Description copied from interface:FilterQuery
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByFilterResourceType
in interfaceFilterQuery
-
orderByFilterName
public FilterQuery orderByFilterName()
Description copied from interface:FilterQuery
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByFilterName
in interfaceFilterQuery
-
orderByFilterOwner
public FilterQuery orderByFilterOwner()
Description copied from interface:FilterQuery
Order by filter id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByFilterOwner
in interfaceFilterQuery
-
executeList
public java.util.List<Filter> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<FilterQuery,Filter>
page
- used if the results must be paged. If null, no paging will be applied.
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<FilterQuery,Filter>
-
-