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
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider -
Constructor Summary
ConstructorsConstructorDescriptionRemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor) -
Method Summary
Modifier and TypeMethodDescriptiongetLabelsCompletionStage(ContentId contentId, Collection<Label.Prefix> prefixes, PageRequest request) Get the labels attached to a given piece of content in the given namespacesRemote validation is not currently supported, this method exists to satisfy the RemoteProxyCreatorMethods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteContentLabelService
addLabelsCompletionStage, removeLabelCompletionStageMethods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStageMethods 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
-
RemoteContentLabelServiceImpl
public RemoteContentLabelServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor) - Since:
- 8.8
-
-
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
-
validator
Remote validation is not currently supported, this method exists to satisfy the RemoteProxyCreator- Overrides:
validatorin classAbstractRemoteContentLabelService- Throws:
UnsupportedOperationException
-