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 |
| Constructor and Description |
|---|
AzureAdRestClient(com.sun.jersey.api.client.Client client,
AzureApiUriResolver endpointDataProvider) |
| Modifier and Type | Method and Description |
|---|---|
GraphDirectoryObjectList |
getDirectChildrenOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
getDirectParentsOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
getDirectParentsOfUser(String nameOrExternalId,
ODataSelect select) |
<T extends PageableGraphList> |
getNextPage(String nextLink,
Class<T> resultsClass) |
<T extends PageableGraphList> |
getNextPage(String nextLink,
Class<T> resultsClass,
ODataTop limit) |
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 AzureAdRestClient(com.sun.jersey.api.client.Client client,
AzureApiUriResolver endpointDataProvider)
public GraphUsersList searchUsers(GraphQuery query) throws OperationFailedException
OperationFailedExceptionpublic GraphGroupList searchGroups(GraphQuery query) throws OperationFailedException
OperationFailedExceptionpublic GraphDirectoryObjectList getDirectParentsOfUser(String nameOrExternalId, ODataSelect select) throws OperationFailedException
OperationFailedExceptionpublic GraphDirectoryObjectList getDirectParentsOfGroup(String groupId, ODataSelect select) throws OperationFailedException
OperationFailedExceptionpublic GraphDirectoryObjectList getDirectChildrenOfGroup(String groupId, ODataSelect select) throws OperationFailedException
OperationFailedExceptionpublic GraphDeltaQueryUserList performUsersDeltaQuery(MicrosoftGraphQueryParam parameter) throws OperationFailedException
OperationFailedExceptionpublic GraphDeltaQueryGroupList performGroupsDeltaQuery(MicrosoftGraphQueryParam... parameters) throws OperationFailedException
OperationFailedExceptionpublic boolean supportsDeltaQuery()
public <T extends PageableGraphList> T getNextPage(String nextLink, Class<T> resultsClass) throws OperationFailedException
OperationFailedExceptionpublic <T extends PageableGraphList> T getNextPage(String nextLink, Class<T> resultsClass, ODataTop limit) throws OperationFailedException
OperationFailedExceptionCopyright © 2018 Atlassian. All rights reserved.