1 package com.atlassian.plugin.web.descriptors;
2
3 import com.atlassian.plugin.web.WebInterfaceManager;
4 import com.atlassian.plugin.web.WebFragmentHelper;
5 import com.atlassian.plugin.web.model.WebPanel;
6
7 import java.util.List;
8 import java.util.Map;
9
10 public class MockWebInterfaceManager implements WebInterfaceManager
11 {
12 public boolean hasSectionsForLocation(String location)
13 {
14 return false;
15 }
16
17 public List<WebSectionModuleDescriptor> getSections(String location)
18 {
19 return null;
20 }
21
22 public List<WebSectionModuleDescriptor> getDisplayableSections(String location, Map context)
23 {
24 return null;
25 }
26
27 public List<WebItemModuleDescriptor> getItems(String section)
28 {
29 return null;
30 }
31
32 public List<WebItemModuleDescriptor> getDisplayableItems(String section, Map context)
33 {
34 return null;
35 }
36
37 public List<WebPanel> getDisplayableWebPanels(String location, Map<String, Object> context)
38 {
39 return null;
40 }
41
42 public List<WebPanelModuleDescriptor> getWebPanelDescriptors(String location)
43 {
44 return null;
45 }
46
47 public List<WebPanelModuleDescriptor> getDisplayableWebPanelDescriptors(String location, Map<String, Object> context)
48 {
49 return null;
50 }
51
52 public List<WebPanel> getWebPanels(String location)
53 {
54 return null;
55 }
56
57 public void refresh()
58 {
59 }
60
61 public WebFragmentHelper getWebFragmentHelper()
62 {
63 return new MockWebFragmentHelper();
64 }
65 }