<?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="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd" default-lazy-init="true"><bean id="salesApp.workspace" parent="abstractWorkspace" scope="prototype"><property name="name" value="salesApp.workspace"/><property name="description" value="salesApp.workspace.description"/><property name="iconImageURL" value="classpath:com/visual/engine/images/salesAppApplicationIcon.png"/><property name="modules"><list><bean parent="abstractFilterableBeanCollectionModule"><property name="name" value="salesApp.customer.module"/><property name="description" value="salesApp.customer.module.description"/><property name="elementComponentDescriptor" ref="customer"/><property name="elementViewDescriptor" ref="customer.pane"/><property name="projectedViewDescriptor"><bean parent="filterableBeanCollectionModuleView"><property name="actionMap"><bean class="org.jspresso.framework.view.action.ActionMap"><property name="actionLists"><list><bean class="org.jspresso.framework.view.action.ActionList"><property value="ACTION" name="name"/><property name="actions"><list><bean parent="queryModuleFilterAction"/><bean parent="previousModuleFilterPageAction"/><bean parent="nextModuleFilterPageAction"/><bean parent="addAsChildModuleFrontAction"/><bean parent="addToModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean><bean parent="cloneModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean><bean parent="saveModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property><property name="actionabilityGates"><list/></property></bean><bean parent="reloadModuleObjectFrontAction"><property name="grantedRoles"><list/></property><property name="actionabilityGates"><list/></property></bean><bean parent="removeFromModuleObjectFrontAction"><property name="grantedRoles"><list/></property></bean></list></property></bean></list></property></bean></property></bean></property></bean><bean parent="abstractFilterableBeanCollectionModule"><property name="name" value="salesApp.deal.module"/><property name="description" value="salesApp.deal.module.description"/><property name="elementComponentDescriptor" ref="deal"/><property name="elementViewDescriptor" ref="deal.pane"/><property name="projectedViewDescriptor"><bean parent="filterableBeanCollectionModuleView"><property name="actionMap"><bean class="org.jspresso.framework.view.action.ActionMap"><property name="actionLists"><list><bean class="org.jspresso.framework.view.action.ActionList"><property value="ACTION" name="name"/><property name="actions"><list><bean parent="queryModuleFilterAction"/><bean parent="previousModuleFilterPageAction"/><bean parent="nextModuleFilterPageAction"/><bean parent="addAsChildModuleFrontAction"/><bean parent="addToModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean><bean parent="cloneModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean><bean parent="saveModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value><value>SalesManager</value><value>SalesExecutive</value></list></property><property name="actionabilityGates"><list><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>created</value></list></property><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>submitted</value></list></property><property name="grantedRoles"><list><value>SalesManager</value></list></property></bean></list></property></bean><bean parent="reloadModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value><value>SalesManager</value><value>SalesExecutive</value></list></property><property name="actionabilityGates"><list><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>created</value></list></property><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>submitted</value></list></property><property name="grantedRoles"><list><value>SalesManager</value></list></property></bean></list></property></bean><bean parent="removeFromModuleObjectFrontAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property><property name="actionabilityGates"><list><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>created</value></list></property><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean></list></property></bean><bean class="org.jspresso.framework.application.frontend.action.FrontendAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property><property name="actionabilityGates"><list><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>created</value></list></property><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean></list></property><property name="iconImageURL" value="classpath:com/visual/engine/images/submitDecisionIcon.png"/><property name="description" value="submit.description"/><property name="wrappedAction"><bean class="com.visual.engine.SubmitStateAction"><property ref="saveBackAction" name="nextAction"/><property name="destinationState" value="submitted"/><property name="entityClassName" value="com.visual.engine.model.deal"/></bean></property><property name="nextAction"><bean parent="staticInfoFrontAction"><property name="messageCode" value="submit_successful"/></bean></property></bean><bean class="org.jspresso.framework.application.frontend.action.FrontendAction"><property name="grantedRoles"><list><value>SalesManager</value></list></property><property name="actionabilityGates"><list><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>submitted</value></list></property><property name="grantedRoles"><list><value>SalesManager</value></list></property></bean></list></property><property name="iconImageURL" value="classpath:com/visual/engine/images/approveDecisionIcon.png"/><property name="description" value="approve.description"/><property name="wrappedAction"><bean class="com.visual.engine.SubmitStateAction"><property ref="saveBackAction" name="nextAction"/><property name="destinationState" value="approved"/><property name="entityClassName" value="com.visual.engine.model.deal"/></bean></property><property name="nextAction"><bean parent="staticInfoFrontAction"><property name="messageCode" value="approve_successful"/></bean></property></bean><bean class="org.jspresso.framework.application.frontend.action.FrontendAction"><property name="grantedRoles"><list><value>SalesManager</value></list></property><property name="actionabilityGates"><list><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>submitted</value></list></property><property name="grantedRoles"><list><value>SalesManager</value></list></property></bean></list></property><property name="iconImageURL" value="classpath:com/visual/engine/images/rejectDecisionIcon.png"/><property name="description" value="reject.description"/><property name="wrappedAction"><bean class="com.visual.engine.SubmitStateAction"><property ref="saveBackAction" name="nextAction"/><property name="destinationState" value="created"/><property name="entityClassName" value="com.visual.engine.model.deal"/></bean></property><property name="nextAction"><bean parent="staticInfoFrontAction"><property name="messageCode" value="reject_successful"/></bean></property></bean><bean class="org.jspresso.framework.application.frontend.action.FrontendAction"><property name="grantedRoles"><list><value>SalesExecutive</value></list></property><property name="actionabilityGates"><list><bean class="org.jspresso.framework.binding.model.EnumerationPropertyModelGate"><property ref="accessorFactory" name="accessorFactory"/><property name="propertyName" value="s_state"/><property value="true" name="openOnTrue"/><property value="true" name="collectionBased"/><property name="openingValues"><list><value>submitted</value></list></property><property name="grantedRoles"><list><value>SalesExecutive</value></list></property></bean></list></property><property name="iconImageURL" value="classpath:com/visual/engine/images/withdrawDecisionIcon.png"/><property name="description" value="withdraw.description"/><property name="wrappedAction"><bean class="com.visual.engine.SubmitStateAction"><property ref="saveBackAction" name="nextAction"/><property name="destinationState" value="created"/><property name="entityClassName" value="com.visual.engine.model.deal"/></bean></property><property name="nextAction"><bean parent="staticInfoFrontAction"><property name="messageCode" value="withdraw_successful"/></bean></property></bean></list></property></bean></list></property></bean></property></bean></property></bean><bean parent="abstractFilterableBeanCollectionModule"><property name="name" value="salesApp.product.module"/><property name="description" value="salesApp.product.module.description"/><property name="elementComponentDescriptor" ref="product"/><property name="elementViewDescriptor" ref="product.pane"/><property name="projectedViewDescriptor"><bean parent="filterableBeanCollectionModuleView"><property name="actionMap"><bean class="org.jspresso.framework.view.action.ActionMap"><property name="actionLists"><list><bean class="org.jspresso.framework.view.action.ActionList"><property value="ACTION" name="name"/><property name="actions"><list><bean parent="queryModuleFilterAction"/><bean parent="previousModuleFilterPageAction"/><bean parent="nextModuleFilterPageAction"/><bean parent="addAsChildModuleFrontAction"/><bean parent="addToModuleObjectFrontAction"><property name="grantedRoles"><list><value>ProductManager</value></list></property></bean><bean parent="cloneModuleObjectFrontAction"><property name="grantedRoles"><list><value>ProductManager</value></list></property></bean><bean parent="saveModuleObjectFrontAction"><property name="grantedRoles"><list><value>ProductManager</value></list></property><property name="actionabilityGates"><list/></property></bean><bean parent="reloadModuleObjectFrontAction"><property name="grantedRoles"><list/></property><property name="actionabilityGates"><list/></property></bean><bean parent="removeFromModuleObjectFrontAction"><property name="grantedRoles"><list/></property></bean></list></property></bean></list></property></bean></property></bean></property></bean></list></property></bean><bean id="applicationFrontController" parent="frontController" scope="prototype"><property name="name" value="engine.name"/><property name="description" value="engine.description"/><property name="iconImageURL" value="classpath:com/visual/engine/images/icon.png"/><property name="loginContextName" value="engine"/><property name="forcedStartingLocale" value="en"/><property name="workspaces"><list><ref bean="salesApp.workspace"/></list></property></bean></beans>
