public class AzureAdRestClient extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DELTA_QUERY_ENDPOINT_SUFFIX |
static String |
GRAPH_API_VERSION |
static String |
GRAPH_GROUPS_ENDPOINT_SUFFIX |
static String |
GRAPH_USERS_ENDPOINT_SUFFIX |
static String |
MEMBER_OF_NAVIGATIONAL_PROPERTY |
static String |
MEMBERS_NAVIGATIONAL_PROPERTY |
static String |
METADATA_ENDPOINT_SUFFIX |
static String |
TRASH_ENDPOINT_SUFFIX |
Constructor and Description |
---|
AzureAdRestClient(com.sun.jersey.api.client.Client client,
AzureApiUriResolver endpointDataProvider,
IoUtilsWrapper ioUtilsWrapper) |
Modifier and Type | Method and Description |
---|---|
com.sun.jersey.api.client.Client |
getClient() |
GraphDirectoryObjectList |
getDirectChildrenOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
getDirectParentsOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
getDirectParentsOfUser(String nameOrExternalId,
ODataSelect select) |
String |
getGraphBaseResource() |
<T extends PageableGraphList> |
getNextPage(String nextLink,
Class<T> resultsClass) |
<T extends PageableGraphList> |
getNextPage(String nextLink,
Class<T> resultsClass,
ODataTop limit) |
<T> T |
handleRequest(Supplier<T> requestSupplier) |
GraphDeltaQueryGroupList |
performGroupsDeltaQuery(MicrosoftGraphQueryParam... parameters) |
GraphDeltaQueryUserList |
performUsersDeltaQuery(MicrosoftGraphQueryParam parameter) |
GraphGroupList |
searchGroups(GraphQuery query) |
GraphUsersList |
searchUsers(GraphQuery query) |
boolean |
supportsDeltaQuery() |
public static final String GRAPH_API_VERSION
public static final String GRAPH_USERS_ENDPOINT_SUFFIX
public static final String GRAPH_GROUPS_ENDPOINT_SUFFIX
public static final String METADATA_ENDPOINT_SUFFIX
public static final String MEMBER_OF_NAVIGATIONAL_PROPERTY
public static final String MEMBERS_NAVIGATIONAL_PROPERTY
public static final String DELTA_QUERY_ENDPOINT_SUFFIX
public static final String TRASH_ENDPOINT_SUFFIX
public AzureAdRestClient(com.sun.jersey.api.client.Client client, AzureApiUriResolver endpointDataProvider, IoUtilsWrapper ioUtilsWrapper)
public com.sun.jersey.api.client.Client getClient()
public GraphUsersList searchUsers(GraphQuery query) throws OperationFailedException
OperationFailedException
public GraphGroupList searchGroups(GraphQuery query) throws OperationFailedException
OperationFailedException
public GraphDirectoryObjectList getDirectParentsOfUser(String nameOrExternalId, ODataSelect select) throws OperationFailedException
OperationFailedException
public GraphDirectoryObjectList getDirectParentsOfGroup(String groupId, ODataSelect select) throws OperationFailedException
OperationFailedException
public GraphDirectoryObjectList getDirectChildrenOfGroup(String groupId, ODataSelect select) throws OperationFailedException
OperationFailedException
public GraphDeltaQueryUserList performUsersDeltaQuery(MicrosoftGraphQueryParam parameter) throws OperationFailedException
OperationFailedException
public GraphDeltaQueryGroupList performGroupsDeltaQuery(MicrosoftGraphQueryParam... parameters) throws OperationFailedException
OperationFailedException
public boolean supportsDeltaQuery()
public String getGraphBaseResource()
public <T extends PageableGraphList> T getNextPage(String nextLink, Class<T> resultsClass) throws OperationFailedException
OperationFailedException
public <T extends PageableGraphList> T getNextPage(String nextLink, Class<T> resultsClass, ODataTop limit) throws OperationFailedException
OperationFailedException
public <T> T handleRequest(Supplier<T> requestSupplier) throws OperationFailedException
OperationFailedException
Copyright © 2020 Atlassian. All rights reserved.