@Internal public class GraphQLRemoteContentLabelServiceImpl extends AbstractRemoteContentLabelService
ContentLabelService implementation that communicates with Confluence
remotely using the Confluence GraphQL API.| Modifier and Type | Class and Description |
|---|---|
static class |
GraphQLRemoteContentLabelServiceImpl.GraphQLQueryLabelsResponse |
provider| Constructor and Description |
|---|
GraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Label>> |
getLabels(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request)
Deprecated.
since 7.0.1. Use
getLabelsCompletionStage(ContentId, Collection, PageRequest) instead. |
CompletionStage<PageResponse<Label>> |
getLabelsCompletionStage(ContentId contentId,
Collection<Label.Prefix> prefixes,
PageRequest request)
Get the labels attached to a given piece of content in the given namespaces
|
addLabels, addLabelsCompletionStage, removeLabel, removeLabel, removeLabelCompletionStage, validatoraddExpansions, 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, putFuturepublic GraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Label>> getLabels(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) throws NotFoundException
getLabelsCompletionStage(ContentId, Collection, PageRequest) instead.RemoteContentLabelServicegetLabels in interface RemoteContentLabelServicegetLabels in class AbstractRemoteContentLabelServicecontentId - the id of the content to retrieveNotFoundException - if the content does not exist, or is not viewable by the userpublic CompletionStage<PageResponse<Label>> getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
RemoteContentLabelServicegetLabelsCompletionStage in interface RemoteContentLabelServicegetLabelsCompletionStage in class AbstractRemoteContentLabelServicecontentId - the id of the content to retrieveCopyright © 2003–2023 Atlassian. All rights reserved.