Class DefaultAdminWebItems
java.lang.Object
com.atlassian.administration.quicksearch.impl.spi.DefaultAdminWebItems
Common functions for default admin web items implementations.
- Since:
- 1,0
-
Method Summary
Modifier and TypeMethodDescriptionchildLinks(String section, RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) childLinks(String section, RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.google.common.base.Predicate<AdminLink> linkFilter) static com.google.common.base.Supplier<Iterable<AdminLinkSection>> childSections(String location, RenderingContext userContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) static com.google.common.base.Supplier<Iterable<AdminLinkSection>> childSections(String location, RenderingContext userContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.google.common.base.Predicate<AdminLink> linkFilter, com.google.common.base.Predicate<AdminLinkSection> sectionFilter) static com.google.common.base.Function<com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor, AdminLink> toLink(RenderingContext context) static com.google.common.base.Function<com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor, AdminLinkSection> toSection(RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) static com.google.common.base.Function<com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor, AdminLinkSection> toSection(RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.google.common.base.Predicate<AdminLink> linkFilter, com.google.common.base.Predicate<AdminLinkSection> sectionFilter)
-
Method Details
-
toLink
public static com.google.common.base.Function<com.atlassian.plugin.web.api.descriptors.WebItemModuleDescriptor,AdminLink> toLink(RenderingContext context) -
toSection
public static com.google.common.base.Function<com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor,AdminLinkSection> toSection(RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) -
toSection
public static com.google.common.base.Function<com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor,AdminLinkSection> toSection(RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, @Nullable com.google.common.base.Predicate<AdminLink> linkFilter, @Nullable com.google.common.base.Predicate<AdminLinkSection> sectionFilter) -
childSections
public static com.google.common.base.Supplier<Iterable<AdminLinkSection>> childSections(String location, RenderingContext userContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, @Nullable com.google.common.base.Predicate<AdminLink> linkFilter, @Nullable com.google.common.base.Predicate<AdminLinkSection> sectionFilter) -
childLinks
public static com.google.common.base.Supplier<Iterable<AdminLink>> childLinks(String section, RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, @Nullable com.google.common.base.Predicate<AdminLink> linkFilter) -
childSections
public static com.google.common.base.Supplier<Iterable<AdminLinkSection>> childSections(String location, RenderingContext userContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) -
childLinks
public static com.google.common.base.Supplier<Iterable<AdminLink>> childLinks(String section, RenderingContext renderingContext, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
-