create or replace package wmp_api_query as function content_objects(p_type_name in varchar2, p_id in number, p_role in varchar2, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return number; function related_objects(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return number; function properties(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return number; function extended_properties(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return number; function description(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return number; function name(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null, p_preference_path in varchar2 := null) return number; function reports_list(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return number; function links_list(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null, p_show_desc in boolean := false, p_mode in varchar2 := null) return number; function path(p_type_name in varchar2, p_id in number, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return number; function redirect_hlink(p_url in varchar2, p_text in varchar2) return varchar2; end wmp_api_query;