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 getDisplayableItems(String section, Map context)
           
 List getDisplayableSections(String location, Map context)
           
 List<com.atlassian.plugin.web.model.WebPanel> getDisplayableWebPanels(String location, Map<String,Object> context)
           
 List getItems(String section)
           
 List getSections(String location)
           
 com.atlassian.plugin.web.WebFragmentHelper getWebFragmentHelper()
           
 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 getSections(String location)
Specified by:
getSections in interface com.atlassian.plugin.web.WebInterfaceManager

getDisplayableSections

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

getItems

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

getDisplayableItems

public List 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

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.