<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                BEGIN
                    con_contract_signature_pkg.update_content_type(p_contract_id => ${@contract_id}, p_content_type => ${@content_type});
                END;
            ]]></bm:update-sql>
        </bm:operation>

        <bm:operation name="delete">
            <bm:update-sql><![CDATA[
                BEGIN
                    con_contract_signature_pkg.cancel_sign(p_contract_id => ${@contract_id}, p_user_id => ${/session/@user_id});
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
