Class GraphQLRemoteContentLabelServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ContentLabelService>
-
- com.atlassian.confluence.rest.client.AbstractRemoteContentLabelService
-
- com.atlassian.confluence.rest.client.graphql.GraphQLRemoteContentLabelServiceImpl
-
- All Implemented Interfaces:
RemoteContentLabelService
@Internal public class GraphQLRemoteContentLabelServiceImpl extends AbstractRemoteContentLabelService
ContentLabelService
implementation 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 class
GraphQLRemoteContentLabelServiceImpl.GraphQLQueryLabelsResponse
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description GraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8GraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteContentLabelService
addLabelsCompletionStage, getLabels, removeLabelCompletionStage, validator
-
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, getFutureOptional, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, postVoidCompletionStage, putCompletionStage, putFuture
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteContentLabelService
addLabels, removeLabel, removeLabel
-
-
-
-
Constructor Detail
-
GraphQLRemoteContentLabelServiceImpl
public GraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
- Since:
- 8.8
-
GraphQLRemoteContentLabelServiceImpl
@Deprecated public GraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8
-
-
Method Detail
-
getLabelsCompletionStage
public CompletionStage<PageResponse<Label>> getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request)
Description copied from interface:RemoteContentLabelService
Get the labels attached to a given piece of content in the given namespaces- Specified by:
getLabelsCompletionStage
in interfaceRemoteContentLabelService
- Specified by:
getLabelsCompletionStage
in classAbstractRemoteContentLabelService
- Parameters:
contentId
- the id of the content to retrieve
-
-