Class QuickNavResource
java.lang.Object
com.atlassian.confluence.plugins.quicknav.resources.QuickNavResource
This is the resource that provides QuickNav search endpoints to Confluence Users. Try and keep it light and make the
ContentNameSearchService
contain the majority of the logic.-
Constructor Summary
ConstructorsConstructorDescriptionQuickNavResource
(ContentNameSearchService contentNameSearchService, com.atlassian.sal.api.web.context.HttpContext httpContext, ConfluenceScopesRequestCache scopesRequestCacheDelegate, UserAccessor userAccessor) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getQuickNavResults
(String query, List<String> types, String spaceKey, boolean filterUnauthorizedSpaces, int maxPerCategory, int limit, String username) This is the primary Confluence QuickNav endpoint, it provides the majority (if not all) of the search results in the QuickNav dropdown.
-
Constructor Details
-
QuickNavResource
@Inject public QuickNavResource(ContentNameSearchService contentNameSearchService, com.atlassian.sal.api.web.context.HttpContext httpContext, ConfluenceScopesRequestCache scopesRequestCacheDelegate, UserAccessor userAccessor)
-
-
Method Details