com.atlassian.plugin.web.descriptors
Class MockWebInterfaceManager

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

public class MockWebInterfaceManager
extends Object
implements com.atlassian.plugin.web.WebInterfaceManager


Constructor Summary
MockWebInterfaceManager()
           
 
Method Summary
 List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getDisplayableItems(String section, Map context)
           
 List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String location, Map context)
           
 List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors(String location, Map<String,Object> context)
           
 List<com.atlassian.plugin.web.model.WebPanel> getDisplayableWebPanels(String location, Map<String,Object> context)
           
 List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getItems(String section)
           
 List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getSections(String location)
           
 com.atlassian.plugin.web.WebFragmentHelper getWebFragmentHelper()
           
 List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getWebPanelDescriptors(String location)
           
 List<com.atlassian.plugin.web.model.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 com.atlassian.plugin.web.WebInterfaceManager

getSections

public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getSections(String location)
Specified by:
getSections in interface com.atlassian.plugin.web.WebInterfaceManager

getDisplayableSections

public List<com.atlassian.plugin.web.descriptors.WebSectionModuleDescriptor> getDisplayableSections(String location,
                                                                                                    Map context)
Specified by:
getDisplayableSections in interface com.atlassian.plugin.web.WebInterfaceManager

getItems

public List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getItems(String section)
Specified by:
getItems in interface com.atlassian.plugin.web.WebInterfaceManager

getDisplayableItems

public List<com.atlassian.plugin.web.descriptors.WebItemModuleDescriptor> getDisplayableItems(String section,
                                                                                              Map context)
Specified by:
getDisplayableItems in interface com.atlassian.plugin.web.WebInterfaceManager

getDisplayableWebPanels

public List<com.atlassian.plugin.web.model.WebPanel> getDisplayableWebPanels(String location,
                                                                             Map<String,Object> context)
Specified by:
getDisplayableWebPanels in interface com.atlassian.plugin.web.WebInterfaceManager

getWebPanelDescriptors

public List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getWebPanelDescriptors(String location)
Specified by:
getWebPanelDescriptors in interface com.atlassian.plugin.web.WebInterfaceManager

getDisplayableWebPanelDescriptors

public List<com.atlassian.plugin.web.descriptors.WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors(String location,
                                                                                                             Map<String,Object> context)
Specified by:
getDisplayableWebPanelDescriptors in interface com.atlassian.plugin.web.WebInterfaceManager

getWebPanels

public List<com.atlassian.plugin.web.model.WebPanel> getWebPanels(String location)
Specified by:
getWebPanels in interface com.atlassian.plugin.web.WebInterfaceManager

refresh

public void refresh()
Specified by:
refresh in interface com.atlassian.plugin.web.WebInterfaceManager

getWebFragmentHelper

public com.atlassian.plugin.web.WebFragmentHelper getWebFragmentHelper()
Specified by:
getWebFragmentHelper in interface com.atlassian.plugin.web.WebInterfaceManager


Copyright © 2011 Atlassian. All Rights Reserved.