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:
 - 9.0
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class - 
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider - 
Constructor Summary
ConstructorsConstructorDescriptionGraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)  - 
Method Summary
Modifier and TypeMethodDescriptiongetLabelsByDetail(PageRequest pageRequest, String labelName, String namespace, String spaceKey, String owner) Get the labels based on the given parametersgetLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) Get the labels attached to a given piece of content in the given namespacesMethods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteContentLabelService
addLabelsCompletionStage, removeLabelCompletionStage, validatorMethods 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, putVoidCompletionStageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.rest.client.RemoteContentLabelService
removeLabelCompletionStage 
- 
Constructor Details
- 
GraphQLRemoteContentLabelServiceImpl
public GraphQLRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor) - Since:
 - 9.0
 
 
 - 
 - 
Method Details
- 
getLabelsCompletionStage
public CompletionStage<PageResponse<Label>> getLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) Description copied from interface:RemoteContentLabelServiceGet the labels attached to a given piece of content in the given namespaces- Specified by:
 getLabelsCompletionStagein interfaceRemoteContentLabelService- Specified by:
 getLabelsCompletionStagein classAbstractRemoteContentLabelService- Parameters:
 contentId- the id of the content to retrieve
 - 
getLabelsByDetail
public CompletionStage<PageResponse<Label>> getLabelsByDetail(PageRequest pageRequest, String labelName, String namespace, String spaceKey, String owner) throws ServiceException Description copied from interface:RemoteContentLabelServiceGet the labels based on the given parameters- Throws:
 ServiceException
 
 -