acs_sc::contract::new (public)

 acs_sc::contract::new -name name -description description

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

Procedure to call to define a new service contract and the message types, implementations and bindings. Refer to the Service contract Tcl API discussion at http://openacs.org/forums/message-view?message_id=71799

Switches:
-name
(required)
Name of the service contract
-description
(required)
Comment/description of the service contract
Returns:
id of the contract

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::contract::new acs_sc::contract::new test_acs_sc_impl_new_from_spec->acs_sc::contract::new db_exec_plsql db_exec_plsql (public) acs_sc::contract::new->db_exec_plsql acs_sc::contract::new_from_spec acs_sc::contract::new_from_spec (public) acs_sc::contract::new_from_spec->acs_sc::contract::new

Testcases:
acs_sc_impl_new_from_spec
[ show source ]
Show another procedure: