Package com.flowable.idm.engine.ldap
Class AbstractLdapQuery<T extends Query<?,?>,U>
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<T,U>
com.flowable.idm.engine.ldap.AbstractLdapQuery<T,U>
- All Implemented Interfaces:
Serializable
,Query<T,
,U> Command<Object>
- Direct Known Subclasses:
LdapGroupQuery
,LdapUserQuery
- Author:
- Filip Hrisafov
- See Also:
-
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 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
ModifierConstructorDescriptionprotected
AbstractLdapQuery
(LdapConfigurationApi ldapConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected DirContextProcessor
createDirContextProcessorForSort
(SortMode sortMode) protected OrFilter
createFilter
(Collection<String> attributeNames, String value, BiFunction<String, String, Filter> filterCreator) protected SearchControls
long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) protected abstract AttributesMapper<U>
protected abstract String
protected LdapOperations
protected abstract String
protected abstract SortProperties
getSort()
protected abstract Collection<String>
getSortAttributes
(String sortProperty) protected abstract String
getSortProperty
(String columnName) protected abstract T
getThis()
protected abstract Filter
protected T
withFilter
(String filterKey, Filter query) 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
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
ldapConfiguration
-
filtersMap
-
-
Constructor Details
-
AbstractLdapQuery
-
-
Method Details
-
executeList
- Specified by:
executeList
in classAbstractQuery<T extends Query<?,
?>, U>
-
executeCount
- Specified by:
executeCount
in classAbstractQuery<T extends Query<?,
?>, U>
-
withFilter
-
createFilter
protected OrFilter createFilter(Collection<String> attributeNames, String value, BiFunction<String, String, Filter> filterCreator) -
getLdapOperations
-
createSearchControlsForQuery
-
createDirContextProcessorForSort
-
prepareQueryFilter
-
getQueryBase
-
getAttributesMapper
-
getDistinguishedName
-
getSort
-
getSortProperty
-
getSortAttributes
-
getThis
-