Class LabelSuggestionService
java.lang.Object
com.atlassian.confluence.plugins.labels.actions.LabelSuggestionService
Responsible for suggesting labels.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLabelSuggestionService(LabelManagerInternal labelManager, PageManager pageManager, SpaceService spaceService, PermissionManager permissionManager, PaginationService paginationService, LabelPermissionEnforcer labelPermissionEnforcer) -
Method Summary
Modifier and TypeMethodDescriptionfindSuggestedLabels(String query, boolean isTeamLabel, int maxResults, String spaceKey, boolean ignoreRelated, long contentId)
-
Field Details
-
PAGE_NOT_EXIST
- See Also:
-
CONTENT_SPACE_MISMATCH
- See Also:
-
SPACE_NOT_EXIST
- See Also:
-
-
Constructor Details
-
LabelSuggestionService
public LabelSuggestionService(LabelManagerInternal labelManager, PageManager pageManager, SpaceService spaceService, PermissionManager permissionManager, PaginationService paginationService, LabelPermissionEnforcer labelPermissionEnforcer)
-
-
Method Details
-
findSuggestedLabels
public ContentNameSearchResult findSuggestedLabels(String query, boolean isTeamLabel, int maxResults, String spaceKey, boolean ignoreRelated, long contentId)
-