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 String
id
protected List<String>
ids
protected String
key
protected List<String>
keys
protected String
name
protected String
nameLike
protected String
nameLikeIgnoreCase
protected String
tenantId
protected String
type
protected String
userId
protected List<String>
userIds
protected boolean
withoutTenantId
-
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:PlatformGroupQuery
Only selectPlatformGroup
s with the given id.- Specified by:
groupId
in interfacePlatformGroupQuery
-
groupIds
public PlatformGroupQuery groupIds(List<String> ids)
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s with the given ids.- Specified by:
groupIds
in interfacePlatformGroupQuery
-
groupName
public PlatformGroupQuery groupName(String name)
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s with the given name.- Specified by:
groupName
in interfacePlatformGroupQuery
-
groupNameLike
public PlatformGroupQuery groupNameLike(String nameLike)
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
public PlatformGroupQuery groupNameLikeIgnoreCase(String nameLikeIgnoreCase)
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
public PlatformGroupQuery groupType(String type)
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given type.- Specified by:
groupType
in interfacePlatformGroupQuery
-
groupKey
public PlatformGroupQuery groupKey(String groupKey)
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given key.- Specified by:
groupKey
in interfacePlatformGroupQuery
-
groupKeys
public PlatformGroupQuery groupKeys(List<String> groupKeys)
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given keys.- Specified by:
groupKeys
in interfacePlatformGroupQuery
-
groupTenantId
public PlatformGroupQuery groupTenantId(String tenantId)
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have the given tenant id.- Specified by:
groupTenantId
in interfacePlatformGroupQuery
-
withoutTenantId
public PlatformGroupQuery withoutTenantId()
Description copied from interface:PlatformGroupQuery
Only selectPlatformGroup
s which have no tenant id.- Specified by:
withoutTenantId
in interfacePlatformGroupQuery
-
groupMember
public PlatformGroupQuery groupMember(String userId)
Description copied from interface:PlatformGroupQuery
Only selectsPlatformGroup
s where the given user is a member of.- Specified by:
groupMember
in interfacePlatformGroupQuery
-
groupMembers
public PlatformGroupQuery groupMembers(List<String> userIds)
Description copied from interface:PlatformGroupQuery
Only selectsPlatformGroup
s where the given users are a member of.- Specified by:
groupMembers
in interfacePlatformGroupQuery
-
orderByGroupId
public PlatformGroupQuery orderByGroupId()
Description copied from interface:PlatformGroupQuery
Order by group id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupId
in interfacePlatformGroupQuery
-
orderByGroupName
public PlatformGroupQuery orderByGroupName()
Description copied from interface:PlatformGroupQuery
Order by group name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupName
in interfacePlatformGroupQuery
-
orderByGroupType
public PlatformGroupQuery orderByGroupType()
Description copied from interface:PlatformGroupQuery
Order by group type (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupType
in interfacePlatformGroupQuery
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCount
in classAbstractQuery<PlatformGroupQuery,PlatformGroup>
-
executeList
public List<PlatformGroup> executeList(CommandContext commandContext)
- Specified by:
executeList
in classAbstractQuery<PlatformGroupQuery,PlatformGroup>
-
getId
public String getId()
- Specified by:
getId
in 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()
-
-