]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.security.ui.admin/META-INF/spring/commands.xml
Introduce commands to manage user transaction
[lgpl/argeo-commons.git] / org.argeo.security.ui.admin / META-INF / spring / commands.xml
index e0a435e07a11dda1b65ca8640be9685dd9a97610..24c0ac274a719c0130a5a4cdc8197e845093f495 100644 (file)
@@ -4,49 +4,27 @@
        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="repository" ref="nodeRepository" />
-               <property name="userAdminService" ref="userAdminService" />
-               <property name="jcrSecurityModel" ref="jcrSecurityModel" />
-       </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" />
+               <property name="userAdmin" ref="userAdmin" />
        </bean>
-       
-       <bean id="userBatchUpdate" class="org.argeo.security.ui.admin.commands.UserBatchUpdate"
-               scope="prototype">
-               <property name="repository" ref="nodeRepository" />
-               <property name="userAdminService" ref="userAdminService" />
-               <property name="jcrSecurityModel" ref="jcrSecurityModel" />
-       </bean>
-       
 
+       <!-- <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 id="refreshRoles" class="org.argeo.security.ui.admin.commands.RefreshRoles"
-               scope="prototype">
-       </bean>
-
-       <bean id="addRole" class="org.argeo.security.ui.admin.commands.AddRole"
-               scope="prototype">
-               <property name="userAdminService" ref="userAdminService" />
-       </bean>
+       <!-- <bean id="refreshRoles" class="org.argeo.security.ui.admin.commands.RefreshRoles" 
+               scope="prototype"> </bean> <bean id="addRole" class="org.argeo.security.ui.admin.commands.AddRole" 
+               scope="prototype"> <property name="userAdminService" ref="userAdminService" 
+               /> </bean> <bean id="deleteRole" class="org.argeo.security.ui.admin.commands.DeleteRole" 
+               scope="prototype"> <property name="userAdminService" ref="userAdminService" 
+               /> </bean> -->
 
-       <bean id="deleteRole" class="org.argeo.security.ui.admin.commands.DeleteRole"
+       <!-- TRANSACTIONS -->
+       <bean id="userTransactionHandler"
+               class="org.argeo.security.ui.admin.commands.UserTransactionHandler"
                scope="prototype">
-               <property name="userAdminService" ref="userAdminService" />
+               <property name="userTransaction" ref="userTransaction" />
        </bean>
 </beans>