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,java.io.Serializable,org.flowable.common.engine.api.query.CacheAwareQuery<PlatformGroupEntity>,org.flowable.common.engine.api.query.Query<PlatformGroupQuery,PlatformGroup>,org.flowable.common.engine.impl.interceptor.Command<java.lang.Object>
public class PlatformGroupQueryImpl extends org.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,PlatformGroup> implements PlatformGroupQuery, org.flowable.common.engine.api.query.CacheAwareQuery<PlatformGroupEntity>
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringidprotected java.util.List<java.lang.String>idsprotected java.lang.Stringkeyprotected java.lang.Stringnameprotected java.lang.StringnameLikeprotected java.lang.StringnameLikeIgnoreCaseprotected java.lang.StringtenantIdprotected java.lang.Stringtypeprotected java.lang.StringuserIdprotected java.util.List<java.lang.String>userIdsprotected booleanwithoutTenantId
-
Constructor Summary
Constructors Constructor Description PlatformGroupQueryImpl()PlatformGroupQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)PlatformGroupQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longexecuteCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)java.util.List<PlatformGroup>executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)java.lang.StringgetId()java.util.List<java.lang.String>getIds()java.lang.StringgetKey()java.lang.StringgetName()java.lang.StringgetNameLike()java.lang.StringgetNameLikeIgnoreCase()java.lang.StringgetTenantId()java.lang.StringgetType()java.lang.StringgetUserId()java.util.List<java.lang.String>getUserIds()PlatformGroupQuerygroupId(java.lang.String id)Only selectPlatformGroups with the given id.PlatformGroupQuerygroupIds(java.util.List<java.lang.String> ids)Only selectPlatformGroups with the given ids.PlatformGroupQuerygroupKey(java.lang.String groupKey)Only selectPlatformGroups which have the given key.PlatformGroupQuerygroupMember(java.lang.String userId)Only selectsPlatformGroups where the given user is a member of.PlatformGroupQuerygroupMembers(java.util.List<java.lang.String> userIds)Only selectsPlatformGroups where the given users are a member of.PlatformGroupQuerygroupName(java.lang.String name)Only selectPlatformGroups with the given name.PlatformGroupQuerygroupNameLike(java.lang.String nameLike)Only selectPlatformGroups where the name matches the given parameter.PlatformGroupQuerygroupNameLikeIgnoreCase(java.lang.String nameLikeIgnoreCase)Only selectPlatformGroups where the name matches the given parameter (ignoring case).PlatformGroupQuerygroupTenantId(java.lang.String tenantId)Only selectPlatformGroups which have the given tenant id.PlatformGroupQuerygroupType(java.lang.String type)Only selectPlatformGroups which have the given type.booleanisWithoutTenantId()PlatformGroupQueryorderByGroupId()Order by group id (needs to be followed byQuery.asc()orQuery.desc()).PlatformGroupQueryorderByGroupName()Order by group name (needs to be followed byQuery.asc()orQuery.desc()).PlatformGroupQueryorderByGroupType()Order by group type (needs to be followed byQuery.asc()orQuery.desc()).PlatformGroupQuerywithoutTenantId()Only selectPlatformGroups 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, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
ids
protected java.util.List<java.lang.String> ids
-
name
protected java.lang.String name
-
nameLike
protected java.lang.String nameLike
-
nameLikeIgnoreCase
protected java.lang.String nameLikeIgnoreCase
-
type
protected java.lang.String type
-
key
protected java.lang.String key
-
tenantId
protected java.lang.String tenantId
-
withoutTenantId
protected boolean withoutTenantId
-
userId
protected java.lang.String userId
-
userIds
protected java.util.List<java.lang.String> userIds
-
-
Constructor Detail
-
PlatformGroupQueryImpl
public PlatformGroupQueryImpl()
-
PlatformGroupQueryImpl
public PlatformGroupQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
-
PlatformGroupQueryImpl
public PlatformGroupQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Detail
-
groupId
public PlatformGroupQuery groupId(java.lang.String id)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given id.- Specified by:
groupIdin interfacePlatformGroupQuery
-
groupIds
public PlatformGroupQuery groupIds(java.util.List<java.lang.String> ids)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given ids.- Specified by:
groupIdsin interfacePlatformGroupQuery
-
groupName
public PlatformGroupQuery groupName(java.lang.String name)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given name.- Specified by:
groupNamein interfacePlatformGroupQuery
-
groupNameLike
public PlatformGroupQuery groupNameLike(java.lang.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(java.lang.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(java.lang.String type)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given type.- Specified by:
groupTypein interfacePlatformGroupQuery
-
groupKey
public PlatformGroupQuery groupKey(java.lang.String groupKey)
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given key.- Specified by:
groupKeyin interfacePlatformGroupQuery
-
groupTenantId
public PlatformGroupQuery groupTenantId(java.lang.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(java.lang.String userId)
Description copied from interface:PlatformGroupQueryOnly selectsPlatformGroups where the given user is a member of.- Specified by:
groupMemberin interfacePlatformGroupQuery
-
groupMembers
public PlatformGroupQuery groupMembers(java.util.List<java.lang.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(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Specified by:
executeCountin classorg.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,PlatformGroup>
-
executeList
public java.util.List<PlatformGroup> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Specified by:
executeListin classorg.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,PlatformGroup>
-
getId
public java.lang.String getId()
- Specified by:
getIdin interfaceorg.flowable.common.engine.api.query.CacheAwareQuery<PlatformGroupEntity>
-
getIds
public java.util.List<java.lang.String> getIds()
-
getName
public java.lang.String getName()
-
getNameLike
public java.lang.String getNameLike()
-
getNameLikeIgnoreCase
public java.lang.String getNameLikeIgnoreCase()
-
getType
public java.lang.String getType()
-
getKey
public java.lang.String getKey()
-
getTenantId
public java.lang.String getTenantId()
-
isWithoutTenantId
public boolean isWithoutTenantId()
-
getUserId
public java.lang.String getUserId()
-
getUserIds
public java.util.List<java.lang.String> getUserIds()
-
-