--
-- Implementation of the profile provider interface for dotLRN Externals.
--
-- @author <a href="mailto:yon@openforce.net">yon@openforce.net</a>
-- @version $Id: dotlrn-external-profile-provider-drop.sql,v 1.1 2002/03/13 18:00:38 yon Exp $
--

declare
    foo                         integer;
begin

    -- drop the binding between this implementation and the interface it
    -- implements.
    acs_sc_binding.delete(
        contract_name => 'profile_provider',
        impl_name => 'dotlrn_external_profile_provider'
    );

    -- drop the bindings to the method implementations

        -- name method
        foo := acs_sc_impl.delete_alias(
            impl_contract_name => 'profile_provider',
            impl_name => 'dotlrn_external_profile_provider',
            impl_operation_name => 'name'
        );

        -- prettyName method
        foo := acs_sc_impl.delete_alias(
            impl_contract_name => 'profile_provider',
            impl_name => 'dotlrn_external_profile_provider',
            impl_operation_name => 'prettyName'
        );

        -- render method
        foo := acs_sc_impl.delete_alias(
            impl_contract_name => 'profile_provider',
            impl_name => 'dotlrn_external_profile_provider',
            impl_operation_name => 'render'
        );

    -- drop the implementation
    acs_sc_impl.delete(
        impl_contract_name => 'profile_provider',
        impl_name => 'dotlrn_external_profile_provider'
    );

end;
/
show errors
