1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans"
3
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
7
<!-- Content providers -->
9
<bean id="rssHealthContentProvider"
10
class="org.hisp.dhis.dashboard.provider.RssContentProvider">
11
<property name="url" value="http://health.yahoo.com/news/rss/health"/>
12
<property name="key" value="healthItems"/>
15
<bean id="rssHivAidsContentProvider"
16
class="org.hisp.dhis.dashboard.provider.RssContentProvider">
17
<property name="url" value="http://health.yahoo.com/news/rss/hiv_aids"/>
18
<property name="key" value="hivAidsItems"/>
21
<bean id="reportContentProvider"
22
class="org.hisp.dhis.dashboard.provider.ReportContentProvider">
23
<property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService"/>
24
<property name="userStore" ref="org.hisp.dhis.user.UserStore"/>
25
<property name="reportManager" ref="org.hisp.dhis.report.ReportManager"/>
26
<property name="key" value="reports"/>
29
<bean id="dataMartExportContentProvider"
30
class="org.hisp.dhis.dashboard.provider.DataMartExportContentProvider">
31
<property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService"/>
32
<property name="userStore" ref="org.hisp.dhis.user.UserStore"/>
33
<property name="key" value="dataMartExports"/>
36
<bean id="olapUrlContentProvider"
37
class="org.hisp.dhis.dashboard.provider.OlapUrlContentProvider">
38
<property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService"/>
39
<property name="userStore" ref="org.hisp.dhis.user.UserStore"/>
40
<property name="key" value="olapUrls"/>
45
<bean id="org.hisp.dhis.dashboard.manager.DashboardManager"
46
class="org.hisp.dhis.dashboard.manager.DefaultDashboardManager">
47
<property name="userSettingService" ref="org.hisp.dhis.user.UserSettingService"/>
48
<property name="contentProviders">
51
<key><value>report</value></key>
52
<ref local="reportContentProvider"/>
55
<key><value>data_mart_export</value></key>
56
<ref local="dataMartExportContentProvider"/>
59
<key><value>olap_url</value></key>
60
<ref local="olapUrlContentProvider"/>
63
<key><value>rss_health</value></key>
64
<ref local="rssHealthContentProvider"/>
67
<key><value>rss_hiv_aids</value></key>
68
<ref local="rssHivAidsContentProvider"/>
76
<bean id="org.hisp.dhis.dashboard.action.ProvideContentAction"
77
class="org.hisp.dhis.dashboard.action.ProvideContentAction"
79
<property name="manager" ref="org.hisp.dhis.dashboard.manager.DashboardManager"/>
80
<property name="chartService" ref="org.hisp.dhis.chart.ChartService"/>
83
<bean id="org.hisp.dhis.dashboard.action.SetAreaItemAction"
84
class="org.hisp.dhis.dashboard.action.SetAreaItemAction"
86
<property name="manager" ref="org.hisp.dhis.dashboard.manager.DashboardManager"/>
89
<bean id="org.hisp.dhis.dashboard.action.ClearAreaAction"
90
class="org.hisp.dhis.dashboard.action.ClearAreaAction"
92
<property name="manager" ref="org.hisp.dhis.dashboard.manager.DashboardManager"/>
95
<bean id="org.hisp.dhis.dashboard.action.GetChartAction"
96
class="org.hisp.dhis.dashboard.action.GetChartAction"
98
<property name="chartService" ref="org.hisp.dhis.chart.ChartService"/>
101
<bean id="org.hisp.dhis.dashboard.action.RemoveReportAction"
102
class="org.hisp.dhis.dashboard.action.RemoveReportAction"
104
<property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService"/>
105
<property name="userStore" ref="org.hisp.dhis.user.UserStore"/>
106
<property name="reportStore" ref="org.hisp.dhis.report.ReportStore"/>
109
<bean id="org.hisp.dhis.dashboard.action.RemoveDataMartExportAction"
110
class="org.hisp.dhis.dashboard.action.RemoveDataMartExportAction"
112
<property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService"/>
113
<property name="userStore" ref="org.hisp.dhis.user.UserStore"/>
114
<property name="dataMartExportService" ref="org.hisp.dhis.datamart.DataMartExportService"/>
117
<bean id="org.hisp.dhis.dashboard.action.RemoveOlapUrlAction"
118
class="org.hisp.dhis.dashboard.action.RemoveOlapUrlAction"
120
<property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService"/>
121
<property name="userStore" ref="org.hisp.dhis.user.UserStore"/>
122
<property name="olapURLService" ref="org.hisp.dhis.olap.OlapURLService"/>