Class DefaultAdminWebItems

java.lang.Object
com.atlassian.administration.quicksearch.impl.spi.DefaultAdminWebItems

public final class DefaultAdminWebItems extends Object
Common functions for default admin web items implementations.
Since:
1,0
  • 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)