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 java.lang.Object
implements WebInterfaceManager


Constructor Summary
MockWebInterfaceManager()
           
 
Method Summary
 java.util.List getDisplayableItems(java.lang.String section, java.util.Map context)
           
 java.util.List getDisplayableSections(java.lang.String location, java.util.Map context)
           
 java.util.List<WebPanel> getDisplayableWebPanels(java.lang.String location, java.util.Map<java.lang.String,java.lang.Object> context)
           
 java.util.List getItems(java.lang.String section)
           
 java.util.List getSections(java.lang.String location)
           
 WebFragmentHelper getWebFragmentHelper()
           
 java.util.List<WebPanel> getWebPanels(java.lang.String location)
           
 boolean hasSectionsForLocation(java.lang.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(java.lang.String location)
Specified by:
hasSectionsForLocation in interface WebInterfaceManager

getSections

public java.util.List getSections(java.lang.String location)
Specified by:
getSections in interface WebInterfaceManager

getDisplayableSections

public java.util.List getDisplayableSections(java.lang.String location,
                                             java.util.Map context)
Specified by:
getDisplayableSections in interface WebInterfaceManager

getItems

public java.util.List getItems(java.lang.String section)
Specified by:
getItems in interface WebInterfaceManager

getDisplayableItems

public java.util.List getDisplayableItems(java.lang.String section,
                                          java.util.Map context)
Specified by:
getDisplayableItems in interface WebInterfaceManager

getDisplayableWebPanels

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

getWebPanels

public java.util.List<WebPanel> getWebPanels(java.lang.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 © 2010 Atlassian. All Rights Reserved.