create or replace package wmp_favorites_portlet is function get_portlet_info ( p_provider_id in integer ,p_portlet_id in integer ,p_language in varchar2 ) return wwpro_api_provider.portlet_record; procedure set_preference(p_name in varchar2, p_value in varchar2) ; function get_preference(p_name in varchar2) return varchar2; procedure show ( p_portlet_record wwpro_api_provider.portlet_runtime_record ); procedure mode_show_edit(p_reference_path in varchar2, p_back_url in varchar2 := null); procedure mode_show_help; procedure mode_show_about( p_back_url in varchar2 := null ); procedure register ( p_portlet_instance in wwpro_api_provider.portlet_instance_record ); procedure deregister ( p_portlet_instance in wwpro_api_provider.portlet_instance_record ); procedure redirect( p_reference_path in varchar2, p_back_url in varchar2 := null, p_find_button in varchar2 := null, p_repository in varchar2 := null, p_role_name in varchar2 := null, p_type in varchar2 := null ); end wmp_favorites_portlet;