<?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
  			-- Call the procedure
  				con_collection_tool_pkg.con50_contract_content(p_content_id => ${@content_id},
                                                			 p_contract_id => ${@contract_id},
                                                			 p_contract_bp_id => ${@contract_bp_id},
                                                			 p_clause_usage => ${@clause_usage},
                                                			 p_user_id => ${/session/@user_id});
				end;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="content_id" input="false" output="true" outputPath="@content_id"/>
            </bm:parameters>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
        	begin
  			-- Call the procedure
  			con_collection_tool_pkg.con_contract_content_update(p_content_id => ${@content_id},
                                                      			p_file_path => ${@file_path},
                                                      			p_user_id => ${/session/@user_id});
			end;
        	 ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
