Interface LabelManagerInternal
-
- All Superinterfaces:
LabelManager
- All Known Implementing Classes:
CachingLabelManager,DefaultLabelManager
@Transactional(readOnly=true) public interface LabelManagerInternal extends LabelManager
Internal version of theLabelManagerinterface; see the package-info.java for rationale.
-
-
Field Summary
-
Fields inherited from interface com.atlassian.confluence.labels.LabelManager
CONTENT_TYPES, DEFAULT_LABEL_COUNT, FAVOURITE_LABEL, FAVOURITE_LABEL_YANKEE, LABEL_ADDED, LABEL_CREATED, LABEL_DELETED, LABEL_REMOVED, NO_CHANGE, NO_MAX_RESULTS, NO_OFFSET
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PartialList<Label>findGlobalLabelsByNamePrefix(int offset, int maxResults, String namePrefix)Returns global-namespaced labels starting with the given string.PageResponse<Label>findGlobalLabelsByNamePrefix(String namePrefix, LimitedRequest pageRequest)Returns global-namespaced labels starting with the given string.default PartialList<Label>findTeamLabelsByNamePrefix(int offset, int maxResults, String namePrefix)Returns team-namespaced labels starting with the given string.default PageResponse<Label>findTeamLabelsByNamePrefix(String namePrefix, LimitedRequest pageRequest)Returns team-namespaced labels starting with the given string.List<Label>getLabelsInSpace(String key, LimitedRequest pageRequest)Get all label in Space with paginationlonggetTotalLabelInSpace(String key)Get total label in a particular space-
Methods inherited from interface com.atlassian.confluence.labels.LabelManager
addLabel, calculateRanksForLiteLabels, createLabel, deleteLabel, deleteLabel, getAllContentForAllLabels, getAllContentForLabel, getContent, getContentCount, getContentForAllLabels, getContentForAllLabels, getContentForLabel, getContentInSpaceForAllLabels, getContentInSpaceForLabel, getContentInSpacesForAllLabels, getCurrentContentForLabel, getCurrentContentForLabelAndSpace, getCurrentContentWithPersonalLabel, getFavouriteLabellingsByContentIds, getFavouriteSpaces, getForLabel, getForLabels, getForLabels, getLabel, getLabel, getLabel, getLabel, getLabel, getLabels, getLabelsByDetail, getLabelsInSpace, getMostPopularLabels, getMostPopularLabels, getMostPopularLabelsInSiteLite, getMostPopularLabelsInSpace, getMostPopularLabelsInSpace, getMostPopularLabelsInSpaceLite, getMostPopularLabelsWithRanks, getMostPopularLabelsWithRanks, getMostPopularLabelsWithRanksInSpace, getRecentlyUsedLabellings, getRecentlyUsedLabellingsInSpace, getRecentlyUsedLabels, getRecentlyUsedLabels, getRecentlyUsedLabelsInSpace, getRecentlyUsedLabelsInSpace, getRecentlyUsedPersonalLabellings, getRecentlyUsedPersonalLabels, getRecentlyUsedPersonalLabels, getRelatedLabels, getRelatedLabels, getRelatedLabels, getRelatedLabelsInSpace, getRelatedLabelsInSpace, getSpacesContainingContentWithLabel, getSpacesWithLabel, getSuggestedLabels, getSuggestedLabels, getSuggestedLabelsInSpace, getSuggestedLabelsInSpace, getTeamLabels, getTeamLabels, getTeamLabelsForSpace, getTeamLabelsForSpaces, getUsersLabels, removeAllLabels, removeLabel, removeLabels
-
-
-
-
Method Detail
-
findGlobalLabelsByNamePrefix
PageResponse<Label> findGlobalLabelsByNamePrefix(String namePrefix, LimitedRequest pageRequest)
Returns global-namespaced labels starting with the given string.
-
findTeamLabelsByNamePrefix
default PageResponse<Label> findTeamLabelsByNamePrefix(String namePrefix, LimitedRequest pageRequest)
Returns team-namespaced labels starting with the given string.
-
findGlobalLabelsByNamePrefix
default PartialList<Label> findGlobalLabelsByNamePrefix(int offset, int maxResults, String namePrefix)
Description copied from interface:LabelManagerReturns global-namespaced labels starting with the given string.- Specified by:
findGlobalLabelsByNamePrefixin interfaceLabelManager- Since:
- 7.17
-
findTeamLabelsByNamePrefix
default PartialList<Label> findTeamLabelsByNamePrefix(int offset, int maxResults, String namePrefix)
Description copied from interface:LabelManagerReturns team-namespaced labels starting with the given string.- Specified by:
findTeamLabelsByNamePrefixin interfaceLabelManager- Since:
- 7.17
-
getLabelsInSpace
List<Label> getLabelsInSpace(String key, LimitedRequest pageRequest)
Get all label in Space with pagination- Parameters:
key-pageRequest-- Returns:
- Since:
- 7.5.0
-
getTotalLabelInSpace
long getTotalLabelInSpace(String key)
Get total label in a particular space- Parameters:
key-- Returns:
- Since:
- 7.5.0
-
-