create or replace package wmp_api_context as type CurType is ref cursor; function repository_id(p_reference_path in varchar2 := null, p_preference_path in varchar2 := null) return number; function dblink_name(p_reference_path in varchar2 := null, p_preference_path in varchar2 := null) return varchar2; function repository_version(p_reference_path in varchar2 := null, p_preference_path in varchar2 := null) return varchar2; function role_name(p_reference_path in varchar2 := null, p_preference_path in varchar2 := null) return varchar2; function navigation_sheet(p_reference_path in varchar2 := null, p_preference_path in varchar2 := null) return number; function url(p_reference_path in varchar2 := null) return varchar2; function report_version return varchar2; function repository_version(p_repository_id in number) return varchar2; function repository_version_by_dblink(p_dblink in varchar2) return varchar2; function is_valid_navigation_version(p_version in varchar2) return varchar2; function navigation_version return varchar2; function repository_name(p_repository_id in number) return varchar2; function dblink_name(p_repository_id in number) return varchar2; end wmp_api_context;