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.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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, 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 TypeMethodDescriptionlongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.getId()getIds()getName()Only selectPrivileges with the given group id.Only selectPrivileges with the given group ids.privilegeId(String id) Only selectPrivileges with the given id/privilegeIds(List<String> ids) Only selectPrivileges with the given ids/privilegeName(String name) Only selectPrivileges with the given namevoidsetGroupId(String groupId) voidsetGroupIds(List<String> groupIds) voidvoidvoidvoidOnly selectPrivileges 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, 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, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:PrivilegeQueryOnly selectPrivileges with the given id/- Specified by:
privilegeIdin interfacePrivilegeQuery
-
privilegeIds
Description copied from interface:PrivilegeQueryOnly selectPrivileges with the given ids/- Specified by:
privilegeIdsin interfacePrivilegeQuery
-
privilegeName
Description copied from interface:PrivilegeQueryOnly selectPrivileges with the given name- Specified by:
privilegeNamein interfacePrivilegeQuery
-
userId
Description copied from interface:PrivilegeQueryOnly selectPrivileges with the given user id.- Specified by:
userIdin interfacePrivilegeQuery
-
groupId
Description copied from interface:PrivilegeQueryOnly selectPrivileges with the given group id.- Specified by:
groupIdin interfacePrivilegeQuery
-
groupIds
Description copied from interface:PrivilegeQueryOnly selectPrivileges with the given group ids.- Specified by:
groupIdsin interfacePrivilegeQuery
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<PrivilegeEntity>
-
setId
-
getIds
-
setIds
-
getName
-
setName
-
getUserId
-
setUserId
-
getGroupId
-
setGroupId
-
getGroupIds
-
setGroupIds
-
executeCount
- Specified by:
executeCountin classAbstractQuery<PrivilegeQuery,Privilege>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<PrivilegeQuery,Privilege>
-