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, validator
Methods 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, putVoidCompletionStage
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
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: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
-
getLabelsByDetail
public CompletionStage<PageResponse<Label>> getLabelsByDetail(PageRequest pageRequest, String labelName, String namespace, String spaceKey, String owner) Description copied from interface:RemoteContentLabelService
Get the labels based on the given parameters
-