Class KeycloakGroupQueryImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.db.ListQueryParameterObject
-
- org.flowable.common.engine.impl.query.AbstractQuery<org.flowable.idm.api.GroupQuery,org.flowable.idm.api.Group>
-
- org.flowable.idm.engine.impl.GroupQueryImpl
-
- org.flowable.ui.idm.service.keycloak.KeycloakGroupQueryImpl
-
- All Implemented Interfaces:
Serializable,org.flowable.common.engine.api.query.CacheAwareQuery<GroupEntity>,org.flowable.common.engine.api.query.Query<org.flowable.idm.api.GroupQuery,org.flowable.idm.api.Group>,org.flowable.common.engine.impl.interceptor.Command<Object>,org.flowable.idm.api.GroupQuery
public class KeycloakGroupQueryImpl extends GroupQueryImpl
- Author:
- Filip Hrisafov
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.springframework.core.ParameterizedTypeReference<List<KeycloakGroupRepresentation>>KEYCLOAK_LIST_OF_GROUPSprotected KeycloakConfigurationkeycloakConfigurationprotected static org.slf4j.LoggerLOGGER-
Fields inherited from class org.flowable.idm.engine.impl.GroupQueryImpl
id, ids, name, nameLike, nameLikeIgnoreCase, type, userId, userIds
-
-
Constructor Summary
Constructors Constructor Description KeycloakGroupQueryImpl(KeycloakConfiguration keycloakConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddGroup(Collection<org.flowable.idm.api.Group> groups, KeycloakGroupRepresentation keycloakGroup)longexecuteCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)List<org.flowable.idm.api.Group>executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)protected org.springframework.web.util.UriComponentsBuilderprepareQuery(String path)protected List<org.flowable.idm.api.Group>queryGroups()-
Methods inherited from class org.flowable.idm.engine.impl.GroupQueryImpl
getId, getIds, getName, getNameLike, getNameLikeIgnoreCase, getType, getUserId, getUserIds, groupId, groupIds, groupMember, groupMembers, groupName, groupNameLike, groupNameLikeIgnoreCase, groupType, orderByGroupId, orderByGroupName, orderByGroupType
-
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
-
-
-
-
Field Detail
-
LOGGER
protected static final org.slf4j.Logger LOGGER
-
KEYCLOAK_LIST_OF_GROUPS
protected static final org.springframework.core.ParameterizedTypeReference<List<KeycloakGroupRepresentation>> KEYCLOAK_LIST_OF_GROUPS
-
keycloakConfiguration
protected KeycloakConfiguration keycloakConfiguration
-
-
Constructor Detail
-
KeycloakGroupQueryImpl
public KeycloakGroupQueryImpl(KeycloakConfiguration keycloakConfiguration)
-
-
Method Detail
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Overrides:
executeCountin classGroupQueryImpl
-
executeList
public List<org.flowable.idm.api.Group> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
- Overrides:
executeListin classGroupQueryImpl
-
queryGroups
protected List<org.flowable.idm.api.Group> queryGroups()
-
addGroup
protected void addGroup(Collection<org.flowable.idm.api.Group> groups, KeycloakGroupRepresentation keycloakGroup)
-
prepareQuery
protected org.springframework.web.util.UriComponentsBuilder prepareQuery(String path)
-
-