dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #03139
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1044: Fixed bug : Null pointer exception when new/edit organisation unit group
------------------------------------------------------------
revno: 1044
committer: Tran Thanh Tri <Tran Thanh Tri@TranThanhTri-PC>
branch nick: trunk
timestamp: Tue 2009-11-17 19:45:03 +0700
message:
Fixed bug : Null pointer exception when new/edit organisation unit group
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/resources/META-INF/dhis/beans.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/resources/META-INF/dhis/beans.xml 2009-11-08 20:18:11 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/resources/META-INF/dhis/beans.xml 2009-11-17 12:45:03 +0000
@@ -1,285 +1,381 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
-
- <bean id="org.hisp.dhis.oum.action.NoAction"
- class="org.hisp.dhis.oum.action.NoAction" scope="prototype"/>
-
- <!-- OrganisationUnit -->
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitListAction"
- class="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitListAction"
- scope="prototype">
- <property name="selectionManager">
- <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.ValidateOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.organisationunit.ValidateOrganisationUnitAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.AddOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.organisationunit.AddOrganisationUnitAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="selectionManager">
- <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.GetCompulsoryGroupSetAction"
- class="org.hisp.dhis.oum.action.organisationunit.GetCompulsoryGroupSetAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.AssignOrganisationUnitToGroupsAction"
- class="org.hisp.dhis.oum.action.organisationunit.AssignOrganisationUnitToGroupsAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.UpdateOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.organisationunit.UpdateOrganisationUnitAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.RemoveOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.organisationunit.RemoveOrganisationUnitAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunit.PrepareAddOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.organisationunit.PrepareAddOrganisationUnitAction"
- scope="prototype">
- </bean>
-
- <!-- OrganisationUnitGroup -->
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupListAction"
- class="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupListAction"
- scope="prototype">
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupAction"
- class="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupAction"
- scope="prototype">
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupMembersAction"
- class="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupMembersAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroup.ValidateOrganisationUnitGroupAction"
- class="org.hisp.dhis.oum.action.organisationunitgroup.ValidateOrganisationUnitGroupAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroup.AddOrganisationUnitGroupAction"
- class="org.hisp.dhis.oum.action.organisationunitgroup.AddOrganisationUnitGroupAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroup.UpdateOrganisationUnitGroupAction"
- class="org.hisp.dhis.oum.action.organisationunitgroup.UpdateOrganisationUnitGroupAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroup.RemoveOrganisationUnitGroupAction"
- class="org.hisp.dhis.oum.action.organisationunitgroup.RemoveOrganisationUnitGroupAction"
- scope="prototype">
- <property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
+
+ <bean id="org.hisp.dhis.oum.action.NoAction" class="org.hisp.dhis.oum.action.NoAction"
+ scope="prototype" />
+
+ <!-- OrganisationUnit -->
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitListAction"
+ class="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitListAction"
+ scope="prototype">
+ <property name="selectionManager">
+ <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.organisationunit.GetOrganisationUnitAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.ValidateOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.organisationunit.ValidateOrganisationUnitAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.AddOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.organisationunit.AddOrganisationUnitAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ <property name="selectionManager">
+ <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.GetCompulsoryGroupSetAction"
+ class="org.hisp.dhis.oum.action.organisationunit.GetCompulsoryGroupSetAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.AssignOrganisationUnitToGroupsAction"
+ class="org.hisp.dhis.oum.action.organisationunit.AssignOrganisationUnitToGroupsAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.UpdateOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.organisationunit.UpdateOrganisationUnitAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.RemoveOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.organisationunit.RemoveOrganisationUnitAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunit.PrepareAddOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.organisationunit.PrepareAddOrganisationUnitAction"
+ scope="prototype">
+ </bean>
+
+ <!-- OrganisationUnitGroup -->
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupListAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupListAction"
+ scope="prototype">
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupAction"
+ scope="prototype">
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupMembersAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.GetOrganisationUnitGroupMembersAction"
+ scope="prototype">
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.ValidateOrganisationUnitGroupAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.ValidateOrganisationUnitGroupAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.AddOrganisationUnitGroupAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.AddOrganisationUnitGroupAction"
+ scope="prototype">
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.UpdateOrganisationUnitGroupAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.UpdateOrganisationUnitGroupAction"
+ scope="prototype">
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.RemoveOrganisationUnitGroupAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.RemoveOrganisationUnitGroupAction"
+ scope="prototype">
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
<!-- OrganisationUnitGroupSet -->
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.GetGroupSetListAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.GetGroupSetListAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.GetGroupSetListAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
</bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.ValidateGroupSetAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.ValidateGroupSetAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.ValidateGroupSetAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
</bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.AddGroupSetAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.AddGroupSetAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.AddGroupSetAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
</bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.GetGroupSetAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.GetGroupSetAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.GetGroupSetAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
</bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.RemoveGroupSetAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.RemoveGroupSetAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.RemoveGroupSetAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
</bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.UpdateGroupSetAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.UpdateGroupSetAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.UpdateGroupSetAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
</bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.PrepareAddGroupSetAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.PrepareAddGroupSetAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.PrepareAddGroupSetAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
</bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitgroupset.PrepareUpdateGroupSetAction"
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroupset.PrepareUpdateGroupSetAction"
class="org.hisp.dhis.oum.action.organisationunitgroupset.PrepareUpdateGroupSetAction"
scope="prototype">
<property name="organisationUnitGroupService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService"/>
- </property>
- </bean>
-
- <!-- Hierarchy operations -->
-
- <bean id="org.hisp.dhis.oum.action.hierarchy.GetSelectedOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.hierarchy.GetSelectedOrganisationUnitAction"
- scope="prototype">
- <property name="selectionManager">
- <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.hierarchy.ValidateOrganisationUnitToMoveAction"
- class="org.hisp.dhis.oum.action.hierarchy.ValidateOrganisationUnitToMoveAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="selectionManager">
- <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.hierarchy.ValidateNewParentOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.hierarchy.ValidateNewParentOrganisationUnitAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="selectionManager">
- <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager"/>
- </property>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.hierarchy.MoveOrganisationUnitAction"
- class="org.hisp.dhis.oum.action.hierarchy.MoveOrganisationUnitAction"
- scope="prototype">
- <property name="organisationUnitService">
- <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </property>
- <property name="selectionManager">
- <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager"/>
- </property>
- </bean>
-
- <!-- OrganisationUnitLevel -->
-
- <bean id="org.hisp.dhis.oum.action.organisationunitlevel.GetOrganisationUnitLevelsAction"
- class="org.hisp.dhis.oum.action.organisationunitlevel.GetOrganisationUnitLevelsAction"
- scope="prototype">
- <property name="organisationUnitService"
- ref="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </bean>
-
- <bean id="org.hisp.dhis.oum.action.organisationunitlevel.SaveOrganisationUnitLevelsAction"
- class="org.hisp.dhis.oum.action.organisationunitlevel.SaveOrganisationUnitLevelsAction"
- scope="prototype">
- <property name="organisationUnitService"
- ref="org.hisp.dhis.organisationunit.OrganisationUnitService"/>
- </bean>
-
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <!-- Hierarchy operations -->
+
+ <bean
+ id="org.hisp.dhis.oum.action.hierarchy.GetSelectedOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.hierarchy.GetSelectedOrganisationUnitAction"
+ scope="prototype">
+ <property name="selectionManager">
+ <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.hierarchy.ValidateOrganisationUnitToMoveAction"
+ class="org.hisp.dhis.oum.action.hierarchy.ValidateOrganisationUnitToMoveAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ <property name="selectionManager">
+ <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.hierarchy.ValidateNewParentOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.hierarchy.ValidateNewParentOrganisationUnitAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ <property name="selectionManager">
+ <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager" />
+ </property>
+ </bean>
+
+ <bean id="org.hisp.dhis.oum.action.hierarchy.MoveOrganisationUnitAction"
+ class="org.hisp.dhis.oum.action.hierarchy.MoveOrganisationUnitAction"
+ scope="prototype">
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ <property name="selectionManager">
+ <ref bean="org.hisp.dhis.ouwt.manager.OrganisationUnitSelectionManager" />
+ </property>
+ </bean>
+
+ <!-- OrganisationUnitLevel -->
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitlevel.GetOrganisationUnitLevelsAction"
+ class="org.hisp.dhis.oum.action.organisationunitlevel.GetOrganisationUnitLevelsAction"
+ scope="prototype">
+ <property name="organisationUnitService"
+ ref="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitlevel.SaveOrganisationUnitLevelsAction"
+ class="org.hisp.dhis.oum.action.organisationunitlevel.SaveOrganisationUnitLevelsAction"
+ scope="prototype">
+ <property name="organisationUnitService"
+ ref="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </bean>
+
+ <!-- Organisation Tree -->
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.select.SetupAssociationsTreeAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.select.SetupAssociationsTreeAction"
+ scope="prototype">
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ <property name="organisationUnitService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.select.SelectLevelAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.select.SelectLevelAction"
+ scope="prototype">
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.select.UnselectAllAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.select.UnselectAllAction"
+ scope="prototype">
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.select.UnselectLevelAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.select.UnselectLevelAction"
+ scope="prototype">
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.select.UnselectOrganisationUnitGroupAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.select.UnselectOrganisationUnitGroupAction"
+ scope="prototype">
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+ <bean
+ id="org.hisp.dhis.oum.action.organisationunitgroup.select.SelectOrganisationUnitGroupAction"
+ class="org.hisp.dhis.oum.action.organisationunitgroup.select.SelectOrganisationUnitGroupAction"
+ scope="prototype">
+ <property name="selectionTreeManager">
+ <ref bean="org.hisp.dhis.oust.manager.SelectionTreeManager" />
+ </property>
+ <property name="organisationUnitGroupService">
+ <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitGroupService" />
+ </property>
+ </bean>
+
+
+
</beans>