Class SpaceLabelServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.SpaceLabelServiceImpl
- All Implemented Interfaces:
- SpaceLabelService
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface com.atlassian.confluence.api.service.content.SpaceLabelServiceSpaceLabelService.Validator
- 
Constructor SummaryConstructorsConstructorDescriptionSpaceLabelServiceImpl(SpaceManagerInternal spaceManager, PaginationService paginationService, PermissionManager permissionManager, LabelManager labelManager, LabelFactory labelFactory, SpaceService.Validator spaceValidator) 
- 
Method SummaryModifier and TypeMethodDescriptionfindAllContentLabelsPaginated(String spaceKey, PageRequest pageRequest) Returns a paginated list of all Labels used by Content within the given Space.findPopularContentLabelsPaginated(String spaceKey, PageRequest pageRequest) Returns a paginated list of the most popular Labels used by Content within the given Space.findRecentContentLabelsPaginated(String spaceKey, PageRequest pageRequest) Returns a paginated list of the most recent Labels used by Content within the given Space.findRelatedContentLabelsPaginated(String spaceKey, String labelName, PageRequest pageRequest) Returns a paginated list of related Labels used by Content within the given Space.Get the validator view of the Space Service.
- 
Constructor Details- 
SpaceLabelServiceImplpublic SpaceLabelServiceImpl(SpaceManagerInternal spaceManager, PaginationService paginationService, PermissionManager permissionManager, LabelManager labelManager, LabelFactory labelFactory, SpaceService.Validator spaceValidator) 
 
- 
- 
Method Details- 
findAllContentLabelsPaginatedDescription copied from interface:SpaceLabelServiceReturns a paginated list of all Labels used by Content within the given Space.- Specified by:
- findAllContentLabelsPaginatedin interface- SpaceLabelService
- Parameters:
- spaceKey- the key of the Space the User is attempting to search.
- pageRequest- the pagination parameters.
- Returns:
- Paginated list of labels.
 
- 
findPopularContentLabelsPaginatedpublic PageResponse<Label> findPopularContentLabelsPaginated(String spaceKey, PageRequest pageRequest) Description copied from interface:SpaceLabelServiceReturns a paginated list of the most popular Labels used by Content within the given Space.- Specified by:
- findPopularContentLabelsPaginatedin interface- SpaceLabelService
- Parameters:
- spaceKey- the key of the Space the User is attempting to search.
- pageRequest- the pagination parameters.
- Returns:
- Paginated list of labels.
 
- 
findRecentContentLabelsPaginatedpublic PageResponse<Label> findRecentContentLabelsPaginated(String spaceKey, PageRequest pageRequest) Description copied from interface:SpaceLabelServiceReturns a paginated list of the most recent Labels used by Content within the given Space.- Specified by:
- findRecentContentLabelsPaginatedin interface- SpaceLabelService
- Parameters:
- spaceKey- the key of the Space the User is attempting to search.
- pageRequest- the pagination parameters.
- Returns:
- Paginated list of labels.
 
- 
findRelatedContentLabelsPaginatedpublic PageResponse<Label> findRelatedContentLabelsPaginated(String spaceKey, String labelName, PageRequest pageRequest) Description copied from interface:SpaceLabelServiceReturns a paginated list of related Labels used by Content within the given Space. A Label is defined as being related to another when it is found attached to the same Content as the Label specified in the request.- Specified by:
- findRelatedContentLabelsPaginatedin interface- SpaceLabelService
- Parameters:
- spaceKey- the key of the Space the User is attempting to search.
- labelName- the Label to match on.
- pageRequest- the pagination parameters.
- Returns:
- Paginated list of labels.
 
- 
validatorDescription copied from interface:SpaceLabelServiceGet the validator view of the Space Service.- Specified by:
- validatorin interface- SpaceLabelService
 
 
-