com.atlassian.plugin.web.descriptors
Class MockWebInterfaceManager

java.lang.Object
  extended by com.atlassian.plugin.web.descriptors.MockWebInterfaceManager
All Implemented Interfaces:
WebInterfaceManager

public class MockWebInterfaceManager
extends Object
implements WebInterfaceManager


Constructor Summary
MockWebInterfaceManager()
           
 
Method Summary
 List<WebItemModuleDescriptor> getDisplayableItems(String section, Map context)
           
 List<WebSectionModuleDescriptor> getDisplayableSections(String location, Map context)
           
 List<WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors(String location, Map<String,Object> context)
           
 List<WebPanel> getDisplayableWebPanels(String location, Map<String,Object> context)
           
 List<WebItemModuleDescriptor> getItems(String section)
           
 List<WebSectionModuleDescriptor> getSections(String location)
           
 WebFragmentHelper getWebFragmentHelper()
           
 List<WebPanelModuleDescriptor> getWebPanelDescriptors(String location)
           
 List<WebPanel> getWebPanels(String location)
           
 boolean hasSectionsForLocation(String location)
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockWebInterfaceManager

public MockWebInterfaceManager()
Method Detail

hasSectionsForLocation

public boolean hasSectionsForLocation(String location)
Specified by:
hasSectionsForLocation in interface WebInterfaceManager

getSections

public List<WebSectionModuleDescriptor> getSections(String location)
Specified by:
getSections in interface WebInterfaceManager

getDisplayableSections

public List<WebSectionModuleDescriptor> getDisplayableSections(String location,
                                                               Map context)
Specified by:
getDisplayableSections in interface WebInterfaceManager

getItems

public List<WebItemModuleDescriptor> getItems(String section)
Specified by:
getItems in interface WebInterfaceManager

getDisplayableItems

public List<WebItemModuleDescriptor> getDisplayableItems(String section,
                                                         Map context)
Specified by:
getDisplayableItems in interface WebInterfaceManager

getDisplayableWebPanels

public List<WebPanel> getDisplayableWebPanels(String location,
                                              Map<String,Object> context)
Specified by:
getDisplayableWebPanels in interface WebInterfaceManager

getWebPanelDescriptors

public List<WebPanelModuleDescriptor> getWebPanelDescriptors(String location)
Specified by:
getWebPanelDescriptors in interface WebInterfaceManager

getDisplayableWebPanelDescriptors

public List<WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors(String location,
                                                                        Map<String,Object> context)
Specified by:
getDisplayableWebPanelDescriptors in interface WebInterfaceManager

getWebPanels

public List<WebPanel> getWebPanels(String location)
Specified by:
getWebPanels in interface WebInterfaceManager

refresh

public void refresh()
Specified by:
refresh in interface WebInterfaceManager

getWebFragmentHelper

public WebFragmentHelper getWebFragmentHelper()
Specified by:
getWebFragmentHelper in interface WebInterfaceManager


Copyright © 2013 Atlassian. All Rights Reserved.