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 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
-
RemoteContentLabelServiceImpl
public RemoteContentLabelServiceImpl(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) Description copied from interface:RemoteContentLabelServiceGet the labels based on the given parameters
-