Class DefaultAdminLinkManager
java.lang.Object
com.atlassian.administration.quicksearch.impl.spi.DefaultAdminLinkManager
- All Implemented Interfaces:
AdminLinkManager
Default implementation of
AdminLinkManager, based on
the Atlassian web-fragments API.- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAdminLinkManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) -
Method Summary
Modifier and TypeMethodDescriptiongetSection(String location, UserContext userContext) Return root section representing given location.protected com.google.common.base.Predicate<AdminLink> linkFilter(UserContext userContext) protected AdminLinkSectionrootSection(String location, UserContext userContext) protected com.google.common.base.Predicate<AdminLinkSection> sectionFilter(UserContext userContext)
-
Constructor Details
-
DefaultAdminLinkManager
public DefaultAdminLinkManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
-
-
Method Details
-
getSection
Description copied from interface:AdminLinkManagerReturn root section representing given location.- Specified by:
getSectionin interfaceAdminLinkManager- Parameters:
location- location to look intouserContext- current user context- Returns:
- section representing root of the section/link tree, never
null
-
rootSection
-
linkFilter
-
sectionFilter
-