Class DefaultAdminLinkSection
java.lang.Object
com.atlassian.administration.quicksearch.impl.spi.AbstractDefaultAdminWebItem<com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor>
com.atlassian.administration.quicksearch.impl.spi.DefaultAdminLinkSection
- All Implemented Interfaces:
AdminLinkSection,AdminWebItem
public class DefaultAdminLinkSection
extends AbstractDefaultAdminWebItem<com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor>
implements AdminLinkSection
Default implementation of
AdminLinkSection
based on the Atlassian web-fragments API.- Since:
- 1.0
-
Field Summary
Fields inherited from class com.atlassian.administration.quicksearch.impl.spi.AbstractDefaultAdminWebItem
context, descriptor -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAdminLinkSection(com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor descriptor, RenderingContext context, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) DefaultAdminLinkSection(com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor descriptor, RenderingContext context, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, com.google.common.base.Predicate<AdminLink> linkFilter, com.google.common.base.Predicate<AdminLinkSection> sectionFilter) -
Method Summary
Methods inherited from class com.atlassian.administration.quicksearch.impl.spi.AbstractDefaultAdminWebItem
getCompleteKey, getId, getParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.administration.quicksearch.spi.AdminWebItem
getId, getParameters
-
Constructor Details
-
DefaultAdminLinkSection
public DefaultAdminLinkSection(com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor descriptor, RenderingContext context, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) -
DefaultAdminLinkSection
public DefaultAdminLinkSection(com.atlassian.plugin.web.api.descriptors.WebSectionModuleDescriptor descriptor, RenderingContext context, com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, @Nullable com.google.common.base.Predicate<AdminLink> linkFilter, @Nullable com.google.common.base.Predicate<AdminLinkSection> sectionFilter)
-
-
Method Details
-
getLocation
Description copied from interface:AdminLinkSectionLocation of this section, which is usually ID of its parent section. May benullin case of root sections.- Specified by:
getLocationin interfaceAdminLinkSection- Returns:
- location of this section
-
getSections
Description copied from interface:AdminLinkSectionChild sections of this section.- Specified by:
getSectionsin interfaceAdminLinkSection- Returns:
- child sections
-
getLinks
Description copied from interface:AdminLinkSectionLinks of this section.- Specified by:
getLinksin interfaceAdminLinkSection- Returns:
- links
-
getLabel
Description copied from interface:AdminWebItemHuman readable label of the item. Can benull.- Specified by:
getLabelin interfaceAdminWebItem- Returns:
- label of the item
-