Class RemoteContentLabelServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ContentLabelService>
-
- com.atlassian.confluence.rest.client.AbstractRemoteContentLabelService
-
- com.atlassian.confluence.rest.client.RemoteContentLabelServiceImpl
-
- All Implemented Interfaces:
RemoteContentLabelService
public class RemoteContentLabelServiceImpl extends AbstractRemoteContentLabelService
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8RemoteContentLabelServiceImpl(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 namespacesContentLabelService.Validator
validator()
Remote validation is not currently supported, this method exists to satisfy the RemoteProxyCreator-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteContentLabelService
addLabelsCompletionStage, getLabels, removeLabelCompletionStage
-
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
-
RemoteContentLabelServiceImpl
public RemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
- Since:
- 8.8
-
RemoteContentLabelServiceImpl
@Deprecated public RemoteContentLabelServiceImpl(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
-
validator
public ContentLabelService.Validator validator()
Remote validation is not currently supported, this method exists to satisfy the RemoteProxyCreator- Overrides:
validator
in classAbstractRemoteContentLabelService
- Throws:
UnsupportedOperationException
-
-