acs_sc::impl::new (public)
acs_sc::impl::new -contract_name contract_name -name name \ [ -pretty_name pretty_name ] -owner owner
Defined in packages/acs-service-contract/tcl/implementation-procs.tcl
Add new service contract implementation.
- Switches:
- -contract_name (required)
- -name (required)
- The internal name of the implementation. Referred to when invoking the implementation. Alphanumeric characters and underscores only.
- -pretty_name (optional)
- The name of the implementation when display to users. Defaults to 'name'.
- -owner (required)
- Returns:
- the ID of the new implementation
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_sc_impl_new_from_spec
Source code: if { $pretty_name eq "" } { set pretty_name $name } return [db_exec_plsql impl_new {}]Generic XQL file: packages/acs-service-contract/tcl/implementation-procs.xql
PostgreSQL XQL file: <fullquery name="acs_sc::impl::new.impl_new"> <querytext> select acs_sc_impl__new( :contract_name, :name, :pretty_name, :owner ); </querytext> </fullquery>packages/acs-service-contract/tcl/implementation-procs-postgresql.xql
Oracle XQL file: <fullquery name="acs_sc::impl::new.impl_new"> <querytext> begin :1 := acs_sc_impl.new( :contract_name, :name, :pretty_name, :owner ); end; </querytext> </fullquery>packages/acs-service-contract/tcl/implementation-procs-oracle.xql