public final class RemoteWebViewImpl extends AbstractRemoteWebView implements RemoteWebView
WebView
implementation that communicates with Confluence
remotely using the Confluence GraphQL API.contentId, spaceKey, version
provider
Modifier and Type | Method and Description |
---|---|
protected com.sun.jersey.api.client.WebResource |
addContextParams(com.sun.jersey.api.client.WebResource resource,
Map<String,Object> additionalContext) |
com.atlassian.util.concurrent.Promise<Iterable<WebItemView>> |
getItemsForSection(String section,
Map<String,Object> additionalContext)
Deprecated.
since 7.0.1. Use
getItemsForSectionCompletionStage(String, Map) instead. |
CompletionStage<Iterable<WebItemView>> |
getItemsForSectionCompletionStage(String section,
Map<String,Object> additionalContext)
Fetch web items for a section from the REST API
|
com.atlassian.util.concurrent.Promise<Iterable<WebPanelView>> |
getPanelsForLocation(String location,
Map<String,Object> additionalContext)
Deprecated.
since 7.0.1. Use
getPanelsForLocationCompletionStage(String, Map) instead. |
CompletionStage<Iterable<WebPanelView>> |
getPanelsForLocationCompletionStage(String location,
Map<String,Object> additionalContext)
Fetch web panels for a given location from the REST API
|
com.atlassian.util.concurrent.Promise<Iterable<WebPanelView>> |
getPanelsForLocations(Collection<String> locations,
Map<String,Object> additionalContext)
Deprecated.
since 7.0.1. Use
getPanelsForLocationsCompletionStage(Collection, Map) instead. |
CompletionStage<Iterable<WebPanelView>> |
getPanelsForLocationsCompletionStage(Collection<String> locations,
Map<String,Object> additionalContext)
Fetch web panels for given locations from the REST API
|
com.atlassian.util.concurrent.Promise<Iterable<WebSectionView>> |
getSectionsForLocation(String location,
Map<String,Object> additionalContext)
Deprecated.
since 7.0.1. Use
getSectionsForLocationCompletionStage(String, Map) instead. |
CompletionStage<Iterable<WebSectionView>> |
getSectionsForLocationCompletionStage(String location,
Map<String,Object> additionalContext)
Fetch web sections for a given location from the REST API
|
com.atlassian.util.concurrent.Promise<Iterable<WebSectionView>> |
getSectionsForLocations(Collection<String> locations,
Map<String,Object> additionalContext)
Deprecated.
since 7.0.1. Use
getSectionsForLocationsCompletionStage(Collection, Map) instead. |
CompletionStage<Iterable<WebSectionView>> |
getSectionsForLocationsCompletionStage(Collection<String> locations,
Map<String,Object> additionalContext)
Fetch web sections for given locations from the REST API
|
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
@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebItemView>> getItemsForSection(String section, Map<String,Object> additionalContext)
getItemsForSectionCompletionStage(String, Map)
instead.getItemsForSection
in interface RemoteWebView
public CompletionStage<Iterable<WebItemView>> getItemsForSectionCompletionStage(String section, Map<String,Object> additionalContext)
RemoteWebView
getItemsForSectionCompletionStage
in interface RemoteWebView
section
- the section to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebSectionView>> getSectionsForLocation(String location, Map<String,Object> additionalContext)
getSectionsForLocationCompletionStage(String, Map)
instead.RemoteWebView
getSectionsForLocation
in interface RemoteWebView
location
- the section to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditionspublic CompletionStage<Iterable<WebSectionView>> getSectionsForLocationCompletionStage(String location, Map<String,Object> additionalContext)
RemoteWebView
getSectionsForLocationCompletionStage
in interface RemoteWebView
location
- the section to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebSectionView>> getSectionsForLocations(Collection<String> locations, Map<String,Object> additionalContext)
getSectionsForLocationsCompletionStage(Collection, Map)
instead.RemoteWebView
getSectionsForLocations
in interface RemoteWebView
locations
- the locations to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditionspublic CompletionStage<Iterable<WebSectionView>> getSectionsForLocationsCompletionStage(Collection<String> locations, Map<String,Object> additionalContext)
RemoteWebView
getSectionsForLocationsCompletionStage
in interface RemoteWebView
locations
- the locations to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebPanelView>> getPanelsForLocation(String location, Map<String,Object> additionalContext)
getPanelsForLocationCompletionStage(String, Map)
instead.RemoteWebView
getPanelsForLocation
in interface RemoteWebView
location
- the location to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditionspublic CompletionStage<Iterable<WebPanelView>> getPanelsForLocationCompletionStage(String location, Map<String,Object> additionalContext)
RemoteWebView
getPanelsForLocationCompletionStage
in interface RemoteWebView
location
- the location to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditions@Deprecated public com.atlassian.util.concurrent.Promise<Iterable<WebPanelView>> getPanelsForLocations(Collection<String> locations, Map<String,Object> additionalContext)
getPanelsForLocationsCompletionStage(Collection, Map)
instead.RemoteWebView
getPanelsForLocations
in interface RemoteWebView
locations
- the locations to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditionspublic CompletionStage<Iterable<WebPanelView>> getPanelsForLocationsCompletionStage(Collection<String> locations, Map<String,Object> additionalContext)
RemoteWebView
getPanelsForLocationsCompletionStage
in interface RemoteWebView
locations
- the locations to fetch web items foradditionalContext
- additional context to add to the request to satisfy web item conditionsCopyright © 2003–2019 Atlassian. All rights reserved.