apm_interface_add (public)

 apm_interface_add [ -callback callback ] \
    [ -interface_id interface_id ] version_id interface_uri \
    interface_version

Defined in packages/acs-tcl/tcl/apm-procs.tcl

Add a interface to a version.

Switches:
-callback (optional, defaults to "apm_dummy_callback")
-interface_id (optional)
Parameters:
version_id (required)
interface_uri (required)
interface_version (required)
Returns:
The id of the new interface.

Partial Call Graph (max 5 caller/called nodes):
%3 test_upgrade upgrade (test acs-lang) apm_interface_add apm_interface_add test_upgrade->apm_interface_add db_exec_plsql db_exec_plsql (public) apm_interface_add->db_exec_plsql apm_package_install_dependencies apm_package_install_dependencies (private) apm_package_install_dependencies->apm_interface_add apm_package_install_version apm_package_install_version (public) apm_package_install_version->apm_interface_add

Testcases:
upgrade
Source code:
    return [db_exec_plsql interface_add {}]
Generic XQL file:
packages/acs-tcl/tcl/apm-procs.xql

PostgreSQL XQL file:
<fullquery name="apm_interface_add.interface_add">
    <querytext>

	select apm_package_version__add_interface(
            :interface_id,
	    :version_id,
	    :interface_uri,
	    :interface_version
        );

      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-procs-postgresql.xql

Oracle XQL file:
<fullquery name="apm_interface_add.interface_add">
    <querytext>

	begin
	:1 := apm_package_version.add_interface(
            interface_id => :interface_id,
	    version_id => :version_id,
	    interface_uri => :interface_uri,
	    interface_version => :interface_version
        );
	end;

      </querytext>
</fullquery>
packages/acs-tcl/tcl/apm-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: