public class MicrosoftGraphQueryTranslator extends Object
| Constructor and Description |
|---|
MicrosoftGraphQueryTranslator() |
| Modifier and Type | Method and Description |
|---|---|
GraphQuery |
convert(EntityQuery query)
Converts a Crowd EntityQuery to a GraphQuery that should be used to fetch the first page of results.
|
ODataSelect |
resolveAzureAdColumnsForSingleEntityTypeQuery(EntityDescriptor entity,
Class<?> returnType) |
ODataSelect |
resolveAzureAdColumnsForSingleEntityTypeQuery(EntityDescriptor entity,
FetchMode fetchMode) |
ODataExpand |
resolveAzureAdNavigationPropertiesForSingleEntityTypeQuery(EntityDescriptor entity,
FetchMode fetchMode) |
ODataSelect |
translateColumnsForUsersAndGroupsQuery(FetchMode fetchMode) |
ODataFilter |
translateSearchRestriction(EntityDescriptor entityDescriptor,
SearchRestriction restriction)
Converts a search restriction to an ODataFilter, which can be used in a graph query
|
public GraphQuery convert(EntityQuery query)
query - the Crowd query to convertpublic ODataSelect resolveAzureAdColumnsForSingleEntityTypeQuery(EntityDescriptor entity, Class<?> returnType)
entity - the entity for which we're queryingreturnType - the return type of the Crowd querypublic ODataFilter translateSearchRestriction(EntityDescriptor entityDescriptor, SearchRestriction restriction)
entityDescriptor - the entityDescriptor of the entity that will be queried forrestriction - the restriction to translatepublic ODataSelect resolveAzureAdColumnsForSingleEntityTypeQuery(EntityDescriptor entity, FetchMode fetchMode)
entity - the entity for which we're queryingfetchMode - the types of columns that should be fetchedpublic ODataExpand resolveAzureAdNavigationPropertiesForSingleEntityTypeQuery(EntityDescriptor entity, FetchMode fetchMode)
entity - the entity for which we're queryingfetchMode - the types of navigation properties that should be fetchedpublic ODataSelect translateColumnsForUsersAndGroupsQuery(FetchMode fetchMode)
fetchMode - the types of columns that should be fetchedCopyright © 2021 Atlassian. All rights reserved.