]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.security.ui.admin/META-INF/spring/commands.xml
Improve and simplify OSGi Boot
[lgpl/argeo-commons.git] / org.argeo.security.ui.admin / META-INF / spring / commands.xml
index e0a435e07a11dda1b65ca8640be9685dd9a97610..7d398764447d6a2fc0313e0a0d4365fbc2869fcf 100644 (file)
@@ -4,49 +4,36 @@
        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"
+       <!-- USERS CRUDS -->
+       <bean id="newUser" class="org.argeo.security.ui.admin.internal.commands.NewUser"
                scope="prototype">
-               <property name="repository" ref="nodeRepository" />
-               <property name="userAdminService" ref="userAdminService" />
-               <property name="jcrSecurityModel" ref="jcrSecurityModel" />
+               <property name="userAdminWrapper" ref="userAdminWrapper" />
        </bean>
-
-       <bean id="refreshUsersList" class="org.argeo.security.ui.admin.commands.RefreshUsersList"
+       <bean id="deleteUsers"
+               class="org.argeo.security.ui.admin.internal.commands.DeleteUsers"
                scope="prototype">
-               <property name="userAdminService" ref="userAdminService" />
-               <property name="repository" ref="nodeRepository" />
+               <property name="userAdminWrapper" ref="userAdminWrapper" />
        </bean>
-
-       <bean id="deleteUser" class="org.argeo.security.ui.admin.commands.DeleteUser"
+       <bean id="userBatchUpdate"
+               class="org.argeo.security.ui.admin.internal.commands.UserBatchUpdate"
                scope="prototype">
-               <property name="userAdminService" ref="userAdminService" />
+               <property name="userAdminWrapper" ref="userAdminWrapper" />
        </bean>
-       
-       <bean id="userBatchUpdate" class="org.argeo.security.ui.admin.commands.UserBatchUpdate"
+       <!-- GROUPS CRUDS -->
+       <bean id="newGroup" class="org.argeo.security.ui.admin.internal.commands.NewGroup"
                scope="prototype">
-               <property name="repository" ref="nodeRepository" />
-               <property name="userAdminService" ref="userAdminService" />
-               <property name="jcrSecurityModel" ref="jcrSecurityModel" />
+               <property name="userAdminWrapper" ref="userAdminWrapper" />
        </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"
+       <bean id="deleteGroups"
+               class="org.argeo.security.ui.admin.internal.commands.DeleteGroups"
                scope="prototype">
-               <property name="userAdminService" ref="userAdminService" />
+               <property name="userAdminWrapper" ref="userAdminWrapper" />
        </bean>
 
-       <bean id="deleteRole" class="org.argeo.security.ui.admin.commands.DeleteRole"
+       <!-- TRANSACTIONS -->
+       <bean id="userTransactionHandler"
+               class="org.argeo.security.ui.admin.internal.commands.UserTransactionHandler"
                scope="prototype">
-               <property name="userAdminService" ref="userAdminService" />
+               <property name="userAdminWrapper" ref="userAdminWrapper" />
        </bean>
 </beans>