Package org.flowable.idm.engine.impl
Class PrivilegeQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<PrivilegeQuery,Privilege>
org.flowable.idm.engine.impl.PrivilegeQueryImpl
- All Implemented Interfaces:
Serializable
,CacheAwareQuery<PrivilegeEntity>
,Query<PrivilegeQuery,
,Privilege> Command<Object>
,PrivilegeQuery
public class PrivilegeQueryImpl
extends AbstractQuery<PrivilegeQuery,Privilege>
implements PrivilegeQuery, CacheAwareQuery<PrivilegeEntity>
- Author:
- Joram Barrez
- 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 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, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorsConstructorDescriptionPrivilegeQueryImpl
(CommandContext commandContext) PrivilegeQueryImpl
(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionlong
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()
getIds()
getName()
Only selectPrivilege
s with the given group id.Only selectPrivilege
s with the given group ids.privilegeId
(String id) Only selectPrivilege
s with the given id/privilegeIds
(List<String> ids) Only selectPrivilege
s with the given ids/privilegeName
(String name) Only selectPrivilege
s with the given namevoid
setGroupId
(String groupId) void
setGroupIds
(List<String> groupIds) void
void
void
void
Only selectPrivilege
s with the given user 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, 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
Field Details
-
id
-
ids
-
name
-
userId
-
groupId
-
groupIds
-
-
Constructor Details
-
PrivilegeQueryImpl
public PrivilegeQueryImpl() -
PrivilegeQueryImpl
-
PrivilegeQueryImpl
-
-
Method Details
-
privilegeId
Description copied from interface:PrivilegeQuery
Only selectPrivilege
s with the given id/- Specified by:
privilegeId
in interfacePrivilegeQuery
-
privilegeIds
Description copied from interface:PrivilegeQuery
Only selectPrivilege
s with the given ids/- Specified by:
privilegeIds
in interfacePrivilegeQuery
-
privilegeName
Description copied from interface:PrivilegeQuery
Only selectPrivilege
s with the given name- Specified by:
privilegeName
in interfacePrivilegeQuery
-
userId
Description copied from interface:PrivilegeQuery
Only selectPrivilege
s with the given user id.- Specified by:
userId
in interfacePrivilegeQuery
-
groupId
Description copied from interface:PrivilegeQuery
Only selectPrivilege
s with the given group id.- Specified by:
groupId
in interfacePrivilegeQuery
-
groupIds
Description copied from interface:PrivilegeQuery
Only selectPrivilege
s with the given group ids.- Specified by:
groupIds
in interfacePrivilegeQuery
-
getId
- Specified by:
getId
in interfaceCacheAwareQuery<PrivilegeEntity>
-
setId
-
getIds
-
setIds
-
getName
-
setName
-
getUserId
-
setUserId
-
getGroupId
-
setGroupId
-
getGroupIds
-
setGroupIds
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<PrivilegeQuery,
Privilege>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractQuery<PrivilegeQuery,
Privilege>
-