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
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
id
protected java.util.List<java.lang.String>
ids
protected java.lang.String
key
protected java.lang.String
name
protected java.lang.String
nameLike
protected java.lang.String
nameLikeIgnoreCase
protected java.lang.String
tenantId
protected java.lang.String
type
protected java.lang.String
userId
protected java.util.List<java.lang.String>
userIds
protected boolean
withoutTenantId
-
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
Modifier and Type Method Description long
executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.util.List<PlatformGroup>
executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
java.lang.String
getId()
java.util.List<java.lang.String>
getIds()
java.lang.String
getKey()
java.lang.String
getName()
java.lang.String
getNameLike()
java.lang.String
getNameLikeIgnoreCase()
java.lang.String
getTenantId()
java.lang.String
getType()
java.lang.String
getUserId()
java.util.List<java.lang.String>
getUserIds()
PlatformGroupQuery
groupId(java.lang.String id)
Only selectPlatformGroup
s with the given id.PlatformGroupQuery
groupIds(java.util.List<java.lang.String> ids)
Only selectPlatformGroup
s with the given ids.PlatformGroupQuery
groupKey(java.lang.String groupKey)
Only selectPlatformGroup
s which have the given key.PlatformGroupQuery
groupMember(java.lang.String userId)
Only selectsPlatformGroup
s where the given user is a member of.PlatformGroupQuery
groupMembers(java.util.List<java.lang.String> userIds)
Only selectsPlatformGroup
s where the given users are a member of.PlatformGroupQuery
groupName(java.lang.String name)
Only selectPlatformGroup
s with the given name.PlatformGroupQuery
groupNameLike(java.lang.String nameLike)
Only selectPlatformGroup
s where the name matches the given parameter.PlatformGroupQuery
groupNameLikeIgnoreCase(java.lang.String nameLikeIgnoreCase)
Only selectPlatformGroup
s where the name matches the given parameter (ignoring case).PlatformGroupQuery
groupTenantId(java.lang.String tenantId)
Only selectPlatformGroup
s which have the given tenant id.PlatformGroupQuery
groupType(java.lang.String type)
Only selectPlatformGroup
s which have the given type.boolean
isWithoutTenantId()
PlatformGroupQuery
orderByGroupId()
Order by group id (needs to be followed byQuery.asc()
orQuery.desc()
).PlatformGroupQuery
orderByGroupName()
Order by group name (needs to be followed byQuery.asc()
orQuery.desc()
).PlatformGroupQuery
orderByGroupType()
Order by group type (needs to be followed byQuery.asc()
orQuery.desc()
).PlatformGroupQuery
withoutTenantId()
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, 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 Details
-
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 Details
-
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 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
-
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
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeCount
in 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:
executeList
in classorg.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,PlatformGroup>
-
getId
public java.lang.String getId()- Specified by:
getId
in 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()
-