Index: openacs-4/packages/bboard-portlet/sql/oracle/bboard-portlet-sc-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bboard-portlet/sql/oracle/Attic/bboard-portlet-sc-create.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/bboard-portlet/sql/oracle/bboard-portlet-sc-create.sql 15 Nov 2001 20:18:41 -0000 1.2 +++ openacs-4/packages/bboard-portlet/sql/oracle/bboard-portlet-sc-create.sql 15 Nov 2001 21:53:31 -0000 1.3 @@ -45,6 +45,14 @@ foo := acs_sc_impl.new_alias ( 'portal_datasource', 'bboard_portlet', + 'Link', + 'bboard_portlet::link', + 'TCL' + ); + + foo := acs_sc_impl.new_alias ( + 'portal_datasource', + 'bboard_portlet', 'AddSelfToPage', 'bboard_portlet::add_self_to_page', 'TCL' @@ -61,6 +69,14 @@ foo := acs_sc_impl.new_alias ( 'portal_datasource', 'bboard_portlet', + 'Edit', + 'bboard_portlet::edit', + 'TCL' + ); + + foo := acs_sc_impl.new_alias ( + 'portal_datasource', + 'bboard_portlet', 'RemoveSelfFromPage', 'bboard_portlet::remove_self_from_page', 'TCL' Index: openacs-4/packages/bboard-portlet/sql/oracle/bboard-portlet-sc-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bboard-portlet/sql/oracle/Attic/bboard-portlet-sc-drop.sql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/bboard-portlet/sql/oracle/bboard-portlet-sc-drop.sql 15 Nov 2001 20:30:23 -0000 1.1 +++ openacs-4/packages/bboard-portlet/sql/oracle/bboard-portlet-sc-drop.sql 15 Nov 2001 21:54:18 -0000 1.2 @@ -31,9 +31,16 @@ 'GetPrettyName' ); + foo := acs_sc_impl.delete_alias ( 'portal_datasource', 'bboard_portlet', + 'Link' + ); + + foo := acs_sc_impl.delete_alias ( + 'portal_datasource', + 'bboard_portlet', 'AddSelfToPage' ); @@ -46,6 +53,12 @@ foo := acs_sc_impl.delete_alias ( 'portal_datasource', 'bboard_portlet', + 'Edit' + ); + + foo := acs_sc_impl.delete_alias ( + 'portal_datasource', + 'bboard_portlet', 'RemoveSelfFromPage' ); Index: openacs-4/packages/new-portal/sql/oracle/datasource-sc-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/oracle/datasource-sc-drop.sql,v diff -u -r1.3 -r1.4 --- openacs-4/packages/new-portal/sql/oracle/datasource-sc-drop.sql 15 Nov 2001 19:20:32 -0000 1.3 +++ openacs-4/packages/new-portal/sql/oracle/datasource-sc-drop.sql 15 Nov 2001 21:49:59 -0000 1.4 @@ -76,6 +76,37 @@ ); + -- drop Link + op_id := acs_sc_operation.get_id ( + contract_name => 'portal_datasource', + operation_name => 'Link' + ); + + acs_sc_operation.delete ( + operation_id => op_id, + contract_name => 'portal_datasource', + operation_name => 'Link' + ); + + msg_type_id := acs_sc_msg_type.get_id ( + msg_type_name => 'portal_datasource.Link.InputType' + ); + + acs_sc_msg_type.delete ( + msg_type_name => 'portal_datasource.Link.InputType', + msg_type_id => msg_type_id + ); + + msg_type_id := acs_sc_msg_type.get_id ( + msg_type_name => 'portal_datasource.Link.OutputType' + ); + + acs_sc_msg_type.delete ( + msg_type_name => 'portal_datasource.Link.OutputType', + msg_type_id => msg_type_id + ); + + -- Drop add_self_to_page op_id := acs_sc_operation.get_id ( contract_name => 'portal_datasource', @@ -138,6 +169,37 @@ ); + -- Delete Edit + op_id := acs_sc_operation.get_id ( + contract_name => 'portal_datasource', + operation_name => 'Edit' + ); + + acs_sc_operation.delete ( + operation_id => op_id, + contract_name => 'portal_datasource', + operation_name => 'Edit' + ); + + msg_type_id := acs_sc_msg_type.get_id ( + msg_type_name => 'portal_datasource.Edit.InputType' + ); + + acs_sc_msg_type.delete ( + msg_type_name => 'portal_datasource.Edit.InputType', + msg_type_id => msg_type_id + ); + + msg_type_id := acs_sc_msg_type.get_id ( + msg_type_name => 'portal_datasource.Edit.OutputType' + ); + + acs_sc_msg_type.delete ( + msg_type_name => 'portal_datasource.Edit.OutputType', + msg_type_id => msg_type_id + ); + + -- rem RemoveSelfFromPage op_id := acs_sc_operation.get_id ( contract_name => 'portal_datasource',