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 classstatic classstatic class -
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.remoteservice.webfragment.AbstractRemoteWebView
contentId, spaceKey, versionFields 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:RemoteWebViewFetch web items for a section from the REST API- Specified by:
getItemsForSectionCompletionStagein 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:RemoteWebViewFetch web sections for a given location from the REST API- Specified by:
getSectionsForLocationCompletionStagein 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:RemoteWebViewFetch web sections for given locations from the REST API- Specified by:
getSectionsForLocationsCompletionStagein 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:RemoteWebViewFetch web panels for a given location from the REST API- Specified by:
getPanelsForLocationCompletionStagein 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:RemoteWebViewFetch web panels for given locations from the REST API- Specified by:
getPanelsForLocationsCompletionStagein 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
-