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
public final class GraphQLRemoteWebViewImpl extends AbstractRemoteWebView implements RemoteWebView
RemoteWebViewimplementation that communicates with Confluence remotely using the Confluence GraphQL API.- Since:
- 6.12.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphQLRemoteWebViewImpl.GraphQLWebItemsResponsestatic classGraphQLRemoteWebViewImpl.GraphQLWebPanelsResponsestatic classGraphQLRemoteWebViewImpl.GraphQLWebSectionsResponse
-
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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<Iterable<WebItemView>>getItemsForSection(String section, Map<String,Object> additionalContext)Deprecated.since 7.0.1.CompletionStage<Iterable<WebItemView>>getItemsForSectionCompletionStage(String section, Map<String,Object> additionalContext)Fetch web items for a section from the REST APIcom.atlassian.util.concurrent.Promise<Iterable<WebPanelView>>getPanelsForLocation(String location, Map<String,Object> additionalContext)Deprecated.since 7.0.1.CompletionStage<Iterable<WebPanelView>>getPanelsForLocationCompletionStage(String location, Map<String,Object> additionalContext)Fetch web panels for a given location from the REST APIcom.atlassian.util.concurrent.Promise<Iterable<WebPanelView>>getPanelsForLocations(Collection<String> locations, Map<String,Object> additionalContext)Deprecated.since 7.0.1.CompletionStage<Iterable<WebPanelView>>getPanelsForLocationsCompletionStage(Collection<String> locations, Map<String,Object> additionalContext)Fetch web panels for given locations from the REST APIcom.atlassian.util.concurrent.Promise<Iterable<WebSectionView>>getSectionsForLocation(String location, Map<String,Object> additionalContext)Deprecated.since 7.0.1.CompletionStage<Iterable<WebSectionView>>getSectionsForLocationCompletionStage(String location, Map<String,Object> additionalContext)Fetch web sections for a given location from the REST APIcom.atlassian.util.concurrent.Promise<Iterable<WebSectionView>>getSectionsForLocations(Collection<String> locations, Map<String,Object> additionalContext)Deprecated.since 7.0.1.CompletionStage<Iterable<WebSectionView>>getSectionsForLocationsCompletionStage(Collection<String> locations, Map<String,Object> additionalContext)Fetch web sections for given locations from the REST API-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, putCompletionStage, putFuture
-
-
-
-
Method Detail
-
getItemsForSection
@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebItemView>> getItemsForSection(String section, Map<String,Object> additionalContext)
Deprecated.since 7.0.1. UsegetItemsForSectionCompletionStage(String, Map)instead.- Specified by:
getItemsForSectionin interfaceRemoteWebView
-
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
-
getSectionsForLocation
@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebSectionView>> getSectionsForLocation(String location, Map<String,Object> additionalContext)
Deprecated.since 7.0.1. UsegetSectionsForLocationCompletionStage(String, Map)instead.Description copied from interface:RemoteWebViewFetch web sections for a given location from the REST API- Specified by:
getSectionsForLocationin interfaceRemoteWebView- Parameters:
location- the section to fetch web items foradditionalContext- additional context to add to the request to satisfy web item conditions- Returns:
- a promise of an iterable of WebSectionViews for the given location
-
getSectionsForLocations
@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebSectionView>> getSectionsForLocations(Collection<String> locations, Map<String,Object> additionalContext)
Deprecated.since 7.0.1. UsegetSectionsForLocationsCompletionStage(Collection, Map)instead.Description copied from interface:RemoteWebViewFetch web sections for given locations from the REST API- Specified by:
getSectionsForLocationsin interfaceRemoteWebView- Parameters:
locations- the locations to fetch web items foradditionalContext- additional context to add to the request to satisfy web item conditions- Returns:
- a promise of an iterable of WebSectionViews for the given location
-
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
-
getPanelsForLocation
@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebPanelView>> getPanelsForLocation(String location, Map<String,Object> additionalContext)
Deprecated.since 7.0.1. UsegetPanelsForLocationCompletionStage(String, Map)instead.Description copied from interface:RemoteWebViewFetch web panels for a given location from the REST API- Specified by:
getPanelsForLocationin interfaceRemoteWebView- Parameters:
location- the location to fetch web items foradditionalContext- additional context to add to the request to satisfy web item conditions- Returns:
- a promise of an iterable of WebPanelViews for the given location
-
getPanelsForLocations
@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebPanelView>> getPanelsForLocations(Collection<String> locations, Map<String,Object> additionalContext)
Deprecated.since 7.0.1. UsegetPanelsForLocationsCompletionStage(Collection, Map)instead.Description copied from interface:RemoteWebViewFetch web panels for given locations from the REST API- Specified by:
getPanelsForLocationsin interfaceRemoteWebView- Parameters:
locations- the locations to fetch web items foradditionalContext- additional context to add to the request to satisfy web item conditions- Returns:
- a promise of an iterable of WebPanelViews 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
-
-