-- -- Implementation of the profile provider interface for dotLRN Students. -- -- @author yon@openforce.net -- @version $Id: dotlrn-student-profile-provider-create.sql,v 1.1 2002/02/08 20:50:56 yon Exp $ -- declare foo integer; begin -- create the implementation foo := acs_sc_impl.new( impl_contract_name => 'profile_provider', impl_name => 'dotlrn_student_profile_provider', impl_owner_name => 'dotlrn_student_profile_provider' ); -- add the bindings to the method implementations -- name method foo := acs_sc_impl.new_alias( impl_contract_name => 'profile_provider', impl_name => 'dotlrn_student_profile_provider', impl_operation_name => 'name', impl_alias => 'dotlrn_student_profile_provider::name', impl_pl => 'TCL' ); -- prettyName method foo := acs_sc_impl.new_alias( impl_contract_name => 'profile_provider', impl_name => 'dotlrn_student_profile_provider', impl_operation_name => 'prettyName', impl_alias => 'dotlrn_student_profile_provider::prettyName', impl_pl => 'TCL' ); -- render method foo := acs_sc_impl.new_alias( impl_contract_name => 'profile_provider', impl_name => 'dotlrn_student_profile_provider', impl_operation_name => 'render', impl_alias => 'dotlrn_student_profile_provider::render', impl_pl => 'TCL' ); -- bind this implementation to the interface it implements acs_sc_binding.new( contract_name => 'profile_provider', impl_name => 'dotlrn_student_profile_provider' ); end; / show errors