Class LdapGroupQuery

java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,​PlatformGroup>
com.flowable.idm.engine.ldap.LdapGroupQuery
All Implemented Interfaces:
PlatformGroupQuery, java.io.Serializable, org.flowable.common.engine.api.query.Query<PlatformGroupQuery,​PlatformGroup>, org.flowable.common.engine.impl.interceptor.Command<java.lang.Object>

public class LdapGroupQuery
extends org.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,​PlatformGroup>
implements PlatformGroupQuery
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject

    org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultType

    Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query

    org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static org.springframework.ldap.core.AttributesMapper<PlatformGroup> COUNTING_ATTRIBUTES_MAPPER
    An AttributesMapper that would be used only for the count query.
    protected java.util.Map<java.lang.String,​org.springframework.ldap.filter.Filter> filtersMap  
    protected static org.flowable.common.engine.api.query.QueryProperty GROUP_ID  
    protected static org.flowable.common.engine.api.query.QueryProperty GROUP_NAME  
    protected static org.flowable.common.engine.api.query.QueryProperty GROUP_TYPE  
    protected java.lang.String groupMember  
    protected java.util.List<java.lang.String> groupMembers  
    protected LdapConfigurationApi ldapConfiguration  
    protected org.slf4j.Logger logger  
    protected java.lang.String tenantId  

    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, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByColumnMap, orderByColumns, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected LdapGroupQuery​(LdapConfigurationApi ldapConfiguration)  
  • Method Summary

    Modifier and Type Method Description
    protected org.springframework.ldap.filter.OrFilter createFilter​(java.util.Collection<java.lang.String> attributeNames, java.lang.String value, java.util.function.BiFunction<java.lang.String,​java.lang.String,​org.springframework.ldap.filter.Filter> filterCreator)  
    long executeCount​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)  
    java.util.List<PlatformGroup> executeList​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)  
    protected DistinguishedNameProvider getDistinguishedNameProvider()  
    protected org.springframework.ldap.core.AttributesMapper<PlatformGroup> getGroupAttributesMapper()  
    protected LdapGroupProperties.Mappings getGroupMappings()  
    protected LdapGroupProperties getGroupProperties()  
    protected org.springframework.ldap.core.LdapOperations getLdapOperation()  
    PlatformGroupQuery groupId​(java.lang.String groupId)
    Only select PlatformGroups with the given id.
    PlatformGroupQuery groupIds​(java.util.List<java.lang.String> groupIds)
    Only select PlatformGroups with the given ids.
    PlatformGroupQuery groupKey​(java.lang.String groupKey)
    Only select PlatformGroups which have the given key.
    PlatformGroupQuery groupMember​(java.lang.String groupMemberUserId)
    Only selects PlatformGroups where the given user is a member of.
    PlatformGroupQuery groupMembers​(java.util.List<java.lang.String> groupMemberUserIds)
    Only selects PlatformGroups where the given users are a member of.
    PlatformGroupQuery groupName​(java.lang.String groupName)
    Only select PlatformGroups with the given name.
    PlatformGroupQuery groupNameLike​(java.lang.String groupNameLike)
    Only select PlatformGroups where the name matches the given parameter.
    PlatformGroupQuery groupNameLikeIgnoreCase​(java.lang.String groupNameLikeIgnoreCase)
    Only select PlatformGroups where the name matches the given parameter (ignoring case).
    PlatformGroupQuery groupTenantId​(java.lang.String tenantId)
    Only select PlatformGroups which have the given tenant id.
    PlatformGroupQuery groupType​(java.lang.String groupType)
    Only select PlatformGroups which have the given type.
    protected org.springframework.ldap.filter.Filter memberFilter​(java.util.Collection<java.lang.String> memberDns)  
    PlatformGroupQuery orderByGroupId()
    Order by group id (needs to be followed by Query.asc() or Query.desc()).
    PlatformGroupQuery orderByGroupName()
    Order by group name (needs to be followed by Query.asc() or Query.desc()).
    PlatformGroupQuery orderByGroupType()
    Order by group type (needs to be followed by Query.asc() or Query.desc()).
    protected org.springframework.ldap.filter.Filter prepareQueryFilter()  
    protected PlatformGroupQuery with​(java.lang.String filterKey, java.util.Collection<java.lang.String> attributeNames, java.lang.String value, java.util.function.BiFunction<java.lang.String,​java.lang.String,​org.springframework.ldap.filter.Filter> filterCreator)  
    protected PlatformGroupQuery withFilter​(java.lang.String filterKey, org.springframework.ldap.filter.Filter query)  
    PlatformGroupQuery withoutTenantId()
    Only select PlatformGroups 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

    Methods inherited from interface org.flowable.common.engine.api.query.Query

    asc, count, desc, list, listPage, orderBy, orderBy, singleResult