Introduce commands to manage user transaction
[lgpl/argeo-commons.git] / org.argeo.security.ui.admin / META-INF / spring / commands.xml
index e83440376b2bdc22dd7ec6b7009aaa1ff4a4510b..24c0ac274a719c0130a5a4cdc8197e845093f495 100644 (file)
@@ -4,22 +4,13 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans
         http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-       <!-- <bean id="openArgeoUserEditor" class="org.argeo.security.ui.admin.commands.OpenArgeoUserEditor" 
-               scope="prototype" /> -->
-
        <!-- USERS -->
        <bean id="newUser" class="org.argeo.security.ui.admin.commands.NewUser"
                scope="prototype">
                <property name="userAdmin" ref="userAdmin" />
        </bean>
-       <!-- <bean id="newUser" class="org.argeo.security.ui.admin.commands.NewUser" 
-               scope="prototype"> <property name="repository" ref="nodeRepository" /> <property 
-               name="userAdminService" ref="userAdminService" /> </bean> <bean id="refreshUsersList" 
-               class="org.argeo.security.ui.admin.commands.RefreshUsersList" scope="prototype"> 
-               <property name="userAdminService" ref="userAdminService" /> <property name="repository" 
-               ref="nodeRepository" /> </bean> <bean id="deleteUser" class="org.argeo.security.ui.admin.commands.DeleteUser" 
-               scope="prototype"> <property name="userAdminService" ref="userAdminService" 
-               /> </bean> <bean id="userBatchUpdate" class="org.argeo.security.ui.admin.commands.UserBatchUpdate" 
+
+       <!-- <bean id="userBatchUpdate" class="org.argeo.security.ui.admin.commands.UserBatchUpdate" 
                scope="prototype"> <property name="repository" ref="nodeRepository" /> <property 
                name="userAdminService" ref="userAdminService" /> </bean> -->
        <!-- ROLES -->
                /> </bean> <bean id="deleteRole" class="org.argeo.security.ui.admin.commands.DeleteRole" 
                scope="prototype"> <property name="userAdminService" ref="userAdminService" 
                /> </bean> -->
+
+       <!-- TRANSACTIONS -->
+       <bean id="userTransactionHandler"
+               class="org.argeo.security.ui.admin.commands.UserTransactionHandler"
+               scope="prototype">
+               <property name="userTransaction" ref="userTransaction" />
+       </bean>
 </beans>