sys_customization_update.lsc 1.55 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<?xml version="1.0" encoding="UTF-8"?>
<a:service trace="true" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc">
    <a:init-procedure>
        <a:batch-apply sourcepath="/parameter">
            <p:switch test="@current_parameter/@_cus_stauts">
                <p:case value="insert">
                    <a:model-insert model="sys.SYS000.sys_config_customization"/>
                </p:case> 
                <p:case value="update">
                    <a:model-update model="sys.SYS000.sys_config_customization"/>
                </p:case>
                <p:case value="insert_delete">
                    <a:model-insert model="sys.SYS000.sys_config_customization"/>
                    <a:model-delete model="sys.SYS000.sys_customization_array_delete"/>
                </p:case>
                <p:case value="delete">
                    <a:model-delete model="sys.SYS000.sys_config_customization"/>
                    <a:model-delete model="sys.SYS000.sys_customization_array_delete"/>
                </p:case>
                <p:case value="reorder">
                    <a:model-delete model="sys.SYS000.sys_customization_array_order_delete"/>
                    <a:model-insert model="sys.SYS000.sys_config_customization"/>
                </p:case>
                <p:case value="clearorder">
                    <a:model-delete model="sys.SYS000.sys_customization_array_order_delete"/>
                </p:case>
            </p:switch>
        </a:batch-apply>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>