Class GraphQLRemoteWebViewImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<WebView>
com.atlassian.confluence.rest.client.remoteservice.webfragment.AbstractRemoteWebView
com.atlassian.confluence.rest.client.remoteservice.webfragment.graphql.GraphQLRemoteWebViewImpl
- All Implemented Interfaces:
RemoteWebView
RemoteWebView
implementation that communicates with Confluence
remotely using the Confluence GraphQL API.- Since:
- 9.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.remoteservice.webfragment.AbstractRemoteWebView
contentId, spaceKey, version
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
Method Summary
Modifier and TypeMethodDescriptiongetItemsForSectionCompletionStage
(String section, Map<String, Object> additionalContext) Fetch web items for a section from the REST APIgetPanelsForLocationCompletionStage
(String location, Map<String, Object> additionalContext) Fetch web panels for a given location from the REST APIgetPanelsForLocationsCompletionStage
(Collection<String> locations, Map<String, Object> additionalContext) Fetch web panels for given locations from the REST APIgetSectionsForLocationCompletionStage
(String location, Map<String, Object> additionalContext) Fetch web sections for a given location from the REST APIgetSectionsForLocationsCompletionStage
(Collection<String> locations, Map<String, Object> additionalContext) Fetch web sections for given locations from the REST APIMethods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfGenericListResponse, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebTarget, newWebTarget, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage, putVoidCompletionStage
-
Method Details
-
getItemsForSectionCompletionStage
public CompletionStage<Iterable<WebItemView>> getItemsForSectionCompletionStage(String section, Map<String, Object> additionalContext) Description copied from interface:RemoteWebView
Fetch web items for a section from the REST API- Specified by:
getItemsForSectionCompletionStage
in interfaceRemoteWebView
- Parameters:
section
- the section to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions- Returns:
- a CompletionStage of an iterable of webItemViews for the given section
-
getSectionsForLocationCompletionStage
public CompletionStage<Iterable<WebSectionView>> getSectionsForLocationCompletionStage(String location, Map<String, Object> additionalContext) Description copied from interface:RemoteWebView
Fetch web sections for a given location from the REST API- Specified by:
getSectionsForLocationCompletionStage
in interfaceRemoteWebView
- Parameters:
location
- the section to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions- Returns:
- a CompletionStage of an iterable of WebSectionViews for the given location
-
getSectionsForLocationsCompletionStage
public CompletionStage<Iterable<WebSectionView>> getSectionsForLocationsCompletionStage(Collection<String> locations, Map<String, Object> additionalContext) Description copied from interface:RemoteWebView
Fetch web sections for given locations from the REST API- Specified by:
getSectionsForLocationsCompletionStage
in interfaceRemoteWebView
- Parameters:
locations
- the locations to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions- Returns:
- a CompletionStage of an iterable of WebSectionViews for the given location
-
getPanelsForLocationCompletionStage
public CompletionStage<Iterable<WebPanelView>> getPanelsForLocationCompletionStage(String location, Map<String, Object> additionalContext) Description copied from interface:RemoteWebView
Fetch web panels for a given location from the REST API- Specified by:
getPanelsForLocationCompletionStage
in interfaceRemoteWebView
- Parameters:
location
- the location to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions- Returns:
- a CompletionStage of an iterable of WebPanelViews for the given location
-
getPanelsForLocationsCompletionStage
public CompletionStage<Iterable<WebPanelView>> getPanelsForLocationsCompletionStage(Collection<String> locations, Map<String, Object> additionalContext) Description copied from interface:RemoteWebView
Fetch web panels for given locations from the REST API- Specified by:
getPanelsForLocationsCompletionStage
in interfaceRemoteWebView
- Parameters:
locations
- the locations to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions- Returns:
- a CompletionStage of an iterable of WebPanelViews for the given location
-