Class GraphGroupQuery
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<PlatformGroupQuery,PlatformGroup>
com.flowable.microsoft.graph.impl.AbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
com.flowable.idm.engine.microsoft.graph.GraphGroupQuery
- All Implemented Interfaces:
PlatformGroupQuery,Serializable,org.flowable.common.engine.api.query.Query<PlatformGroupQuery,,PlatformGroup> org.flowable.common.engine.impl.interceptor.Command<Object>
public class GraphGroupQuery
extends AbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
implements PlatformGroupQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.flowable.microsoft.graph.impl.AbstractGraphQuery
AbstractGraphQuery.GraphQuery, AbstractGraphQuery.GraphQueryPath, AbstractGraphQuery.QueryResult<R>Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.db.ListQueryParameterObject.OrderBy, org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GraphConfigurationApiprotected static final org.flowable.common.engine.api.query.QueryPropertyprotected static final org.flowable.common.engine.api.query.QueryPropertyprotected static final org.flowable.common.engine.api.query.QueryPropertyprotected Stringprotected Collection<String> protected Stringprotected static final Collection<String> The supported sort properties as defined in the Microsoft Graph Documentationprotected StringFields inherited from class com.flowable.microsoft.graph.impl.AbstractGraphQuery
baseUrl, filtersMap, lastCount, logger, objectMapper, searchMapFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGraphGroupQuery(GraphConfigurationApi graphConfigurationApi, com.fasterxml.jackson.databind.ObjectMapper objectMapper, String baseUrl) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected intprotected Stringprotected org.flowable.http.common.api.client.FlowableHttpClientprotected GraphGroupProperties.Mappingsprotected GraphGroupPropertiesprotected StringgetId(PlatformGroup entity) protected Collection<String> protected Collection<String> getSortAttributes(String sortProperty) protected StringgetSortProperty(String columnName) protected Collection<String> protected PlatformGroupQuerygetThis()protected Function<com.fasterxml.jackson.databind.JsonNode, PlatformGroup> Only selectPlatformGroups with the given id.Only selectPlatformGroups with the given ids.Only selectPlatformGroups which have the given key.Only selectPlatformGroups which have the given keys.groupMember(String groupMemberUserId) Only selectsPlatformGroups where the given user is a member of.groupMembers(List<String> groupMemberUserIds) Only selectsPlatformGroups where the given users are a member of.Only selectPlatformGroups with the given name.groupNameLike(String groupNameLike) Only selectPlatformGroups where the name matches the given parameter.groupNameLikeIgnoreCase(String groupNameLikeIgnoreCase) Only selectPlatformGroups where the name matches the given parameter (ignoring case).protected AbstractGraphQuery.GraphQueryPathgroupsForMemberPath(String userId) protected Collection<AbstractGraphQuery.GraphQueryPath> groupsForMembersPath(Collection<String> userIds) groupTenantId(String tenantId) Only selectPlatformGroups which have the given tenant id.Only selectPlatformGroups which have the given type.infoEquals(String name, Object value) Checks for a group with the given info name and value.infoEqualsIgnoreCase(String name, String value) Checks for a group with the given info name and value ignoring the case of the value.infoValueLike(String name, String valueLike) Checks for a group with the given info name and value like.infoValueLikeIgnoreCase(String name, String valueLike) Checks for a group with the given info name and value like ignoring the case of the value.Order by group id (needs to be followed byQuery.asc()orQuery.desc()).Order by group name (needs to be followed byQuery.asc()orQuery.desc()).Order by group type (needs to be followed byQuery.asc()orQuery.desc()).protected AbstractGraphQuery.GraphQueryprotected PlatformGroupQuerywith(String filterKey, Collection<String> attributeNames, String value, BiFunction<String, String, Filter> filterCreator) protected PlatformGroupQuerywithInfo(String filterKey, String infoName, String value, BiFunction<String, String, Filter> filterCreator) Only selectPlatformGroups which have no tenant id.protected PlatformGroupQuerywithSearch(String searchKey, Collection<String> attributeNames, String value) Methods inherited from class com.flowable.microsoft.graph.impl.AbstractGraphQuery
addToUriBuilder, countByPath, createFilter, createHttpRequest, createOrderByClauses, createSearch, executeCount, executeList, executeRemoteQuery, handleInvalidStatusException, queryByPath, readResponseBodyAsJson, withFilter, withSearchMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Field Details
-
GROUP_ID
protected static final org.flowable.common.engine.api.query.QueryProperty GROUP_ID -
GROUP_NAME
protected static final org.flowable.common.engine.api.query.QueryProperty GROUP_NAME -
GROUP_TYPE
protected static final org.flowable.common.engine.api.query.QueryProperty GROUP_TYPE -
COLUMN_TO_PROPERTY_MAPPING
-
SUPPORTED_SORT_PROPERTIES
The supported sort properties as defined in the Microsoft Graph Documentation -
groupKey
-
groupKeys
-
groupMember
-
groupMembers
-
tenantId
-
graphConfigurationApi
-
-
Constructor Details
-
GraphGroupQuery
protected GraphGroupQuery(GraphConfigurationApi graphConfigurationApi, com.fasterxml.jackson.databind.ObjectMapper objectMapper, String baseUrl)
-
-
Method Details
-
getFlowableHttpClient
protected org.flowable.http.common.api.client.FlowableHttpClient getFlowableHttpClient()- Specified by:
getFlowableHttpClientin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getAccessToken
- Specified by:
getAccessTokenin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
prepareGraphQuery
- Specified by:
prepareGraphQueryin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
groupsForMemberPath
-
groupsForMembersPath
protected Collection<AbstractGraphQuery.GraphQueryPath> groupsForMembersPath(Collection<String> userIds) -
groupId
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given id.- Specified by:
groupIdin interfacePlatformGroupQuery
-
groupIds
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given ids.- Specified by:
groupIdsin interfacePlatformGroupQuery
-
groupName
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups with the given name.- Specified by:
groupNamein interfacePlatformGroupQuery
-
groupNameLike
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
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
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given type.- Specified by:
groupTypein interfacePlatformGroupQuery
-
groupKey
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given key.- Specified by:
groupKeyin interfacePlatformGroupQuery
-
groupKeys
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given keys.- Specified by:
groupKeysin interfacePlatformGroupQuery
-
groupTenantId
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have the given tenant id.- Specified by:
groupTenantIdin interfacePlatformGroupQuery
-
withoutTenantId
Description copied from interface:PlatformGroupQueryOnly selectPlatformGroups which have no tenant id.- Specified by:
withoutTenantIdin interfacePlatformGroupQuery
-
groupMember
Description copied from interface:PlatformGroupQueryOnly selectsPlatformGroups where the given user is a member of.- Specified by:
groupMemberin interfacePlatformGroupQuery
-
groupMembers
Description copied from interface:PlatformGroupQueryOnly selectsPlatformGroups where the given users are a member of.- Specified by:
groupMembersin interfacePlatformGroupQuery
-
infoEquals
Description copied from interface:PlatformGroupQueryChecks for a group with the given info name and value.- Specified by:
infoEqualsin interfacePlatformGroupQuery- Parameters:
name- the name of the infovalue- the value that the info should have
-
infoEqualsIgnoreCase
Description copied from interface:PlatformGroupQueryChecks for a group with the given info name and value ignoring the case of the value.- Specified by:
infoEqualsIgnoreCasein interfacePlatformGroupQuery- Parameters:
name- the name of the infovalue- the value that the info should have
-
infoValueLike
Description copied from interface:PlatformGroupQueryChecks for a group with the given info name and value like.- Specified by:
infoValueLikein interfacePlatformGroupQuery- Parameters:
name- the name of the infovalueLike- the value like the info should have ('%' has to be added by the caller itself)
-
infoValueLikeIgnoreCase
Description copied from interface:PlatformGroupQueryChecks for a group with the given info name and value like ignoring the case of the value.- Specified by:
infoValueLikeIgnoreCasein interfacePlatformGroupQuery- Parameters:
name- the name of the infovalueLike- the value like the info should have ('%' has to be added by the caller itself)
-
orderByGroupId
Description copied from interface:PlatformGroupQueryOrder by group id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupIdin interfacePlatformGroupQuery
-
orderByGroupName
Description copied from interface:PlatformGroupQueryOrder by group name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupNamein interfacePlatformGroupQuery
-
orderByGroupType
Description copied from interface:PlatformGroupQueryOrder by group type (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupTypein interfacePlatformGroupQuery
-
withInfo
protected PlatformGroupQuery withInfo(String filterKey, String infoName, String value, BiFunction<String, String, Filter> filterCreator) -
with
protected PlatformGroupQuery with(String filterKey, Collection<String> attributeNames, String value, BiFunction<String, String, Filter> filterCreator) -
withSearch
protected PlatformGroupQuery withSearch(String searchKey, Collection<String> attributeNames, String value) -
getGroupMappings
-
getGroupProperties
-
getValueMapper
- Specified by:
getValueMapperin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getId
- Specified by:
getIdin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getSortProperty
- Specified by:
getSortPropertyin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getSortAttributes
- Specified by:
getSortAttributesin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getSupportedSortAttributes
- Specified by:
getSupportedSortAttributesin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getSelectAttributes
- Specified by:
getSelectAttributesin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getExpand
- Specified by:
getExpandin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getComplexQueryMaxResultsLimit
protected int getComplexQueryMaxResultsLimit()- Specified by:
getComplexQueryMaxResultsLimitin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-
getThis
- Specified by:
getThisin classAbstractGraphQuery<PlatformGroupQuery,PlatformGroup>
-