com.atlassian.plugin.web
Interface WebInterfaceManager

All Known Implementing Classes:
DefaultWebInterfaceManager

public interface WebInterfaceManager

A simple manager to provide sections of the web interface through plugins.


Method Summary
 java.util.List<WebItemModuleDescriptor> getDisplayableItems(java.lang.String section, java.util.Map<java.lang.String,java.lang.Object> context)
           
 java.util.List<WebSectionModuleDescriptor> getDisplayableSections(java.lang.String location, java.util.Map<java.lang.String,java.lang.Object> context)
           
 java.util.List<WebItemModuleDescriptor> getItems(java.lang.String section)
           
 java.util.List<WebSectionModuleDescriptor> getSections(java.lang.String location)
           
 WebFragmentHelper getWebFragmentHelper()
           
 boolean hasSectionsForLocation(java.lang.String location)
           
 void refresh()
          Refresh the contents of the web interface manager.
 

Method Detail

hasSectionsForLocation

boolean hasSectionsForLocation(java.lang.String location)
Returns:
True if there are any sections for the given location.

getSections

java.util.List<WebSectionModuleDescriptor> getSections(java.lang.String location)
Returns:
A list of all WebSectionModuleDescriptors for the given location.

getDisplayableSections

java.util.List<WebSectionModuleDescriptor> getDisplayableSections(java.lang.String location,
                                                                  java.util.Map<java.lang.String,java.lang.Object> context)
Returns:
A list of all AbstractWebFragmentModuleDescriptor viewable in a given context in the given location.

getItems

java.util.List<WebItemModuleDescriptor> getItems(java.lang.String section)
Returns:
A list of all WebItemModuleDescriptors for the given section.

getDisplayableItems

java.util.List<WebItemModuleDescriptor> getDisplayableItems(java.lang.String section,
                                                            java.util.Map<java.lang.String,java.lang.Object> context)
Returns:
A list of all AbstractWebFragmentModuleDescriptor viewable in a given context in the given section.

refresh

void refresh()
Refresh the contents of the web interface manager.


getWebFragmentHelper

WebFragmentHelper getWebFragmentHelper()
Returns:
The web fragment helper for this implementation.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.