create or replace package wmp_db as function view_element(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_role_name in varchar2 := null) return varchar2; function path_element(p_display_name in varchar2, p_display_type in varchar2, 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 varchar2; function path_end_element(p_display_name in varchar2, p_display_type in varchar2, p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return varchar2; function current_role(p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return varchar2; function current_repos_version(p_is_portlet in varchar2 := null, p_back_url in varchar2 := null, p_reference_path in varchar2 := null) return varchar2; function type_name_for(p_alias in varchar2) return varchar2; function type_nls_name_for(p_alias in varchar2) return varchar2; --|alias for type_name_for function n(p_alias in varchar2) return varchar2; --|alias for type_nls_name_for function l(p_alias in varchar2) return varchar2; end wmp_db;