Package com.flowable.idm.engine.impl
Class PlatformGroupQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,PlatformGroup>
com.flowable.idm.engine.impl.PlatformGroupQueryImpl
- All Implemented Interfaces:
PlatformGroupQuery
,Serializable
,CacheAwareQuery<PlatformGroupEntity>
,Query<PlatformGroupQuery,
,PlatformGroup> Command<Object>
public class PlatformGroupQueryImpl
extends AbstractQuery<PlatformGroupQuery,PlatformGroup>
implements PlatformGroupQuery, CacheAwareQuery<PlatformGroupEntity>
- 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
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected boolean
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, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorDescriptionPlatformGroupQueryImpl
(CommandContext commandContext) PlatformGroupQueryImpl
(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionlong
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) getId()
getIds()
getKey()
getKeys()
getName()
getType()
Only selectPlatformGroup
s with the given id.Only selectPlatformGroup
s with the given ids.Only selectPlatformGroup
s which have the given key.Only selectPlatformGroup
s which have the given keys.groupMember
(String userId) Only selectsPlatformGroup
s where the given user is a member of.groupMembers
(List<String> userIds) Only selectsPlatformGroup
s where the given users are a member of.Only selectPlatformGroup
s with the given name.groupNameLike
(String nameLike) Only selectPlatformGroup
s where the name matches the given parameter.groupNameLikeIgnoreCase
(String nameLikeIgnoreCase) Only selectPlatformGroup
s where the name matches the given parameter (ignoring case).groupTenantId
(String tenantId) Only selectPlatformGroup
s which have the given tenant id.Only selectPlatformGroup
s which have the given type.boolean
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()
).Only selectPlatformGroup
s which have no tenant id.Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, 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
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
-
nameLike
-
nameLikeIgnoreCase
-
type
-
key
-
keys
-
tenantId
-
withoutTenantId
protected boolean withoutTenantId -
userId
-
userIds
-
-
Constructor Details
-
PlatformGroupQueryImpl
public PlatformGroupQueryImpl() -
PlatformGroupQueryImpl
-
PlatformGroupQueryImpl
-
-
Method Details
-
groupId
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s with the given id.- Specified by:
groupId
in interfacePlatformGroupQuery
-
groupIds
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s with the given ids.- Specified by:
groupIds
in interfacePlatformGroupQuery
-
groupName
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s with the given name.- Specified by:
groupName
in interfacePlatformGroupQuery
-
groupNameLike
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %test%.- Specified by:
groupNameLike
in interfacePlatformGroupQuery
-
groupNameLikeIgnoreCase
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s where the name matches the given parameter (ignoring case). The syntax to use is that of SQL, eg. %test%.- Specified by:
groupNameLikeIgnoreCase
in interfacePlatformGroupQuery
-
groupType
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given type.- Specified by:
groupType
in interfacePlatformGroupQuery
-
groupKey
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given key.- Specified by:
groupKey
in interfacePlatformGroupQuery
-
groupKeys
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given keys.- Specified by:
groupKeys
in interfacePlatformGroupQuery
-
groupTenantId
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given tenant id.- Specified by:
groupTenantId
in interfacePlatformGroupQuery
-
withoutTenantId
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have no tenant id.- Specified by:
withoutTenantId
in interfacePlatformGroupQuery
-
groupMember
Description copied from interface:PlatformGroupQuery
Only selectsPlatformGroup
s where the given user is a member of.- Specified by:
groupMember
in interfacePlatformGroupQuery
-
groupMembers
Description copied from interface:PlatformGroupQuery
Only selectsPlatformGroup
s where the given users are a member of.- Specified by:
groupMembers
in interfacePlatformGroupQuery
-
orderByGroupId
Description copied from interface:PlatformGroupQuery
Order by group id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupId
in interfacePlatformGroupQuery
-
orderByGroupName
Description copied from interface:PlatformGroupQuery
Order by group name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupName
in interfacePlatformGroupQuery
-
orderByGroupType
Description copied from interface:PlatformGroupQuery
Order by group type (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupType
in interfacePlatformGroupQuery
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<PlatformGroupQuery,
PlatformGroup>
-
executeList
- Specified by:
executeList
in classAbstractQuery<PlatformGroupQuery,
PlatformGroup>
-
getId
- Specified by:
getId
in interfaceCacheAwareQuery<PlatformGroupEntity>
-
getIds
-
getName
-
getNameLike
-
getNameLikeIgnoreCase
-
getType
-
getKey
-
getKeys
-
getTenantId
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getUserId
-
getUserIds
-