public class MicrosoftGraphQueryTranslator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMA_SEPARATED_DELTA_QUERY_GROUP_PROPERTIES |
static String |
COMMA_SEPARATED_GROUP_PROPERTIES |
static String |
COMMA_SEPARATED_MINIMAL_GROUP_PROPERTIES |
static String |
COMMA_SEPARATED_MINIMAL_USER_AND_GROUP_PROPERTIES |
static String |
COMMA_SEPARATED_MINIMAL_USER_PROPERTIES |
static String |
COMMA_SEPARATED_NAME_PROPERTIES |
static String |
COMMA_SEPARATED_USER_AND_GROUP_PROPERTIES |
static String |
COMMA_SEPARATED_USER_PROPERTIES |
static Set<String> |
DELTA_QUERY_GROUP_PROPERTIES |
static Set<String> |
GROUP_PROPERTIES |
static String |
GROUPNAME |
static String |
ID |
static Set<String> |
MINIMAL_GROUP_PROPERTIES |
static Set<String> |
MINIMAL_USER_PROPERTIES |
static Set<String> |
NAME_PROPERTIES |
static Set<String> |
USER_PROPERTIES |
static String |
USERNAME |
| 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 static final String USERNAME
public static final String ID
public static final String COMMA_SEPARATED_MINIMAL_USER_PROPERTIES
public static final String COMMA_SEPARATED_USER_PROPERTIES
public static final String GROUPNAME
public static final String COMMA_SEPARATED_MINIMAL_GROUP_PROPERTIES
public static final String COMMA_SEPARATED_GROUP_PROPERTIES
public static final String COMMA_SEPARATED_DELTA_QUERY_GROUP_PROPERTIES
public static final String COMMA_SEPARATED_NAME_PROPERTIES
public static final String COMMA_SEPARATED_USER_AND_GROUP_PROPERTIES
public static final String COMMA_SEPARATED_MINIMAL_USER_AND_GROUP_PROPERTIES
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 © 2019 Atlassian. All rights reserved.