Package org.flowable.idm.engine.impl
Class GroupQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<GroupQuery,Group>
org.flowable.idm.engine.impl.GroupQueryImpl
- All Implemented Interfaces:
Serializable,CacheAwareQuery<GroupEntity>,Query<GroupQuery,,Group> Command<Object>,GroupQuery
public class GroupQueryImpl
extends AbstractQuery<GroupQuery,Group>
implements GroupQuery, CacheAwareQuery<GroupEntity>
- 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 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
ConstructorsConstructorDescriptionGroupQueryImpl(CommandContext commandContext) GroupQueryImpl(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()getType()Only selectGroups with the given id.Only selectGroups with the given ids.groupMember(String userId) Only selectsGroups where the given user is a member of.groupMembers(List<String> userIds) Only selectsGroups where the given users are a member of.Only selectGroups with the given name.groupNameLike(String nameLike) Only selectGroups where the name matches the given parameter.groupNameLikeIgnoreCase(String nameLikeIgnoreCase) Only selectGroups where the name matches the given parameter (ignoring case).Only selectGroups which have the given type.Order by group id (needs to be followed byQuery.asc()orQuery.desc()).Order by group name (needs to be followed byQuery.asc()orQuery.desc()).Order by group type (needs to be followed byQuery.asc()orQuery.desc()).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
-
nameLike
-
nameLikeIgnoreCase
-
type
-
userId
-
userIds
-
-
Constructor Details
-
GroupQueryImpl
public GroupQueryImpl() -
GroupQueryImpl
-
GroupQueryImpl
-
-
Method Details
-
groupId
Description copied from interface:GroupQueryOnly selectGroups with the given id.- Specified by:
groupIdin interfaceGroupQuery
-
groupIds
Description copied from interface:GroupQueryOnly selectGroups with the given ids.- Specified by:
groupIdsin interfaceGroupQuery
-
groupName
Description copied from interface:GroupQueryOnly selectGroups with the given name.- Specified by:
groupNamein interfaceGroupQuery
-
groupNameLike
Description copied from interface:GroupQueryOnly selectGroups where the name matches the given parameter. The syntax to use is that of SQL, eg. %test%.- Specified by:
groupNameLikein interfaceGroupQuery
-
groupNameLikeIgnoreCase
Description copied from interface:GroupQueryOnly selectGroups where the name matches the given parameter (ignoring case). The syntax to use is that of SQL, eg. %test%.- Specified by:
groupNameLikeIgnoreCasein interfaceGroupQuery
-
groupType
Description copied from interface:GroupQueryOnly selectGroups which have the given type.- Specified by:
groupTypein interfaceGroupQuery
-
groupMember
Description copied from interface:GroupQueryOnly selectsGroups where the given user is a member of.- Specified by:
groupMemberin interfaceGroupQuery
-
groupMembers
Description copied from interface:GroupQueryOnly selectsGroups where the given users are a member of.- Specified by:
groupMembersin interfaceGroupQuery
-
orderByGroupId
Description copied from interface:GroupQueryOrder by group id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupIdin interfaceGroupQuery
-
orderByGroupName
Description copied from interface:GroupQueryOrder by group name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupNamein interfaceGroupQuery
-
orderByGroupType
Description copied from interface:GroupQueryOrder by group type (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupTypein interfaceGroupQuery
-
executeCount
- Specified by:
executeCountin classAbstractQuery<GroupQuery,Group>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<GroupQuery,Group>
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<GroupEntity>
-
getIds
-
getName
-
getNameLike
-
getNameLikeIgnoreCase
-
getType
-
getUserId
-
getUserIds
-