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:
- Serialized Form
-
-
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
Fields Modifier and Type Field Description protected Stringidprotected List<String>idsprotected Stringkeyprotected List<String>keysprotected Stringnameprotected StringnameLikeprotected StringnameLikeIgnoreCaseprotected StringtenantIdprotected Stringtypeprotected StringuserIdprotected List<String>userIdsprotected booleanwithoutTenantId-
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
Constructors Constructor Description PlatformGroupQueryImpl()PlatformGroupQueryImpl(CommandContext commandContext)PlatformGroupQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
-
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 Detail
-
id
protected String id
-
name
protected String name
-
nameLike
protected String nameLike
-
nameLikeIgnoreCase
protected String nameLikeIgnoreCase
-
type
protected String type
-
key
protected String key
-
tenantId
protected String tenantId
-
withoutTenantId
protected boolean withoutTenantId
-
userId
protected String userId
-
-
Constructor Detail
-
PlatformGroupQueryImpl
public PlatformGroupQueryImpl()
-
PlatformGroupQueryImpl
public PlatformGroupQueryImpl(CommandContext commandContext)
-
PlatformGroupQueryImpl
public PlatformGroupQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
groupId
public PlatformGroupQuery groupId(String id)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given id.- Specified by:
groupIdin interfacePlatformGroupQuery
-
groupIds
public PlatformGroupQuery groupIds(List<String> ids)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given ids.- Specified by:
groupIdsin interfacePlatformGroupQuery
-
groupName
public PlatformGroupQuery groupName(String name)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given name.- Specified by:
groupNamein interfacePlatformGroupQuery
-
groupNameLike
public PlatformGroupQuery groupNameLike(String nameLike)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups where the name matches the given parameter. The syntax to use is that of SQL, eg. %test%.- Specified by:
groupNameLikein interfacePlatformGroupQuery
-
groupNameLikeIgnoreCase
public PlatformGroupQuery groupNameLikeIgnoreCase(String nameLikeIgnoreCase)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups where the name matches the given parameter (ignoring case). The syntax to use is that of SQL, eg. %test%.- Specified by:
groupNameLikeIgnoreCasein interfacePlatformGroupQuery
-
groupType
public PlatformGroupQuery groupType(String type)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given type.- Specified by:
groupTypein interfacePlatformGroupQuery
-
groupKey
public PlatformGroupQuery groupKey(String groupKey)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given key.- Specified by:
groupKeyin interfacePlatformGroupQuery
-
groupKeys
public PlatformGroupQuery groupKeys(List<String> groupKeys)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given keys.- Specified by:
groupKeysin interfacePlatformGroupQuery
-
groupTenantId
public PlatformGroupQuery groupTenantId(String tenantId)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given tenant id.- Specified by:
groupTenantIdin interfacePlatformGroupQuery
-
withoutTenantId
public PlatformGroupQuery withoutTenantId()
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have no tenant id.- Specified by:
withoutTenantIdin interfacePlatformGroupQuery
-
groupMember
public PlatformGroupQuery groupMember(String userId)
Description copied from interface:PlatformGroupQueryOnly selectsPlatformGroups where the given user is a member of.- Specified by:
groupMemberin interfacePlatformGroupQuery
-
groupMembers
public PlatformGroupQuery groupMembers(List<String> userIds)
Description copied from interface:PlatformGroupQueryOnly selectsPlatformGroups where the given users are a member of.- Specified by:
groupMembersin interfacePlatformGroupQuery
-
orderByGroupId
public PlatformGroupQuery orderByGroupId()
Description copied from interface:PlatformGroupQueryOrder by group id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupIdin interfacePlatformGroupQuery
-
orderByGroupName
public PlatformGroupQuery orderByGroupName()
Description copied from interface:PlatformGroupQueryOrder by group name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupNamein interfacePlatformGroupQuery
-
orderByGroupType
public PlatformGroupQuery orderByGroupType()
Description copied from interface:PlatformGroupQueryOrder by group type (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupTypein interfacePlatformGroupQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<PlatformGroupQuery,PlatformGroup>
-
executeList
public List<PlatformGroup> executeList(CommandContext commandContext)
- Specified by:
executeListin classAbstractQuery<PlatformGroupQuery,PlatformGroup>
-
getId
public String getId()
- Specified by:
getIdin interfaceCacheAwareQuery<PlatformGroupEntity>
-
getName
public String getName()
-
getNameLike
public String getNameLike()
-
getNameLikeIgnoreCase
public String getNameLikeIgnoreCase()
-
getType
public String getType()
-
getKey
public String getKey()
-
getTenantId
public String getTenantId()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getUserId
public String getUserId()
-
-