acs_sc::impl::alias::new (public)

 acs_sc::impl::alias::new -contract_name contract_name \
    -impl_name impl_name -operation operation -alias alias \
    [ -language language ]

Defined in packages/acs-service-contract/tcl/implementation-procs.tcl

Add new service contract implementation alias (the procedure that implements the operation in a contract).

Switches:
-contract_name (required)
-impl_name (required)
-operation (required)
-alias (required)
-language (optional, defaults to "TCL")
Returns:
the ID of the implementation

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_sc_impl_new_from_spec acs_sc_impl_new_from_spec (test acs-service-contract) acs_sc::impl::alias::new acs_sc::impl::alias::new test_acs_sc_impl_new_from_spec->acs_sc::impl::alias::new db_exec_plsql db_exec_plsql (public) acs_sc::impl::alias::new->db_exec_plsql acs_sc::impl::alias::parse_spec acs_sc::impl::alias::parse_spec (private) acs_sc::impl::alias::parse_spec->acs_sc::impl::alias::new auth::after_upgrade auth::after_upgrade (private) auth::after_upgrade->acs_sc::impl::alias::new category::after_install category::after_install (private) category::after_install->acs_sc::impl::alias::new

Testcases:
acs_sc_impl_new_from_spec
Source code:
    set impl_id [db_exec_plsql alias_new {}]
Generic XQL file:
packages/acs-service-contract/tcl/implementation-procs.xql

PostgreSQL XQL file:
<fullquery name="acs_sc::impl::alias::new.alias_new">
    <querytext>
            select acs_sc_impl_alias__new(
                       :contract_name, 
                       :impl_name,
                       :operation,
                       :alias,
                       :language
                   ); 	
        </querytext>
</fullquery>
packages/acs-service-contract/tcl/implementation-procs-postgresql.xql

Oracle XQL file:
<fullquery name="acs_sc::impl::alias::new.alias_new">
    <querytext>
            begin
                :1 := acs_sc_impl_alias.new(
                       :contract_name, 
                       :impl_name,
                       :operation,
                       :alias,
                       :language
                   );
            end;
        </querytext>
</fullquery>
packages/acs-service-contract/tcl/implementation-procs-oracle.xql

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