1 PACKAGE cz_model_util_pvt AUTHID CURRENT_USER AS
2 /* $Header: czvmdlus.pls 120.1 2005/09/12 09:30:57 misheehy ship $ */
3
4 PATH_PREFERENCE_DISABLED constant NUMBER := 0;
5 PATH_PREFERENCE_ROOT_ONLY constant NUMBER := 1;
6 PATH_PREFERENCE_ROOT_KIDS constant NUMBER := 2;
7
8 FUNCTION find_nodes_by_path(p_model_to_search IN NUMBER
9 ,p_namepath IN system.cz_varchar2_2000_tbl_type
10 )
11 RETURN system.cz_model_node_tbl_type;
12 PRAGMA RESTRICT_REFERENCES(find_nodes_by_path, WNDS, WNPS);
13
14 FUNCTION find_unique_node_by_path (p_model_to_search IN NUMBER
15 ,p_namepath IN system.cz_varchar2_2000_tbl_type
16 ,p_path_preference IN NUMBER
17 )
18 RETURN system.cz_model_node_tbl_type;
19 PRAGMA RESTRICT_REFERENCES(find_unique_node_by_path, WNDS, WNPS);
20
21 -- Returns array of distinct ordered referenced model ids under the top-level
22 -- model specified by p_model_id
23 FUNCTION get_referenced_models(p_model_id IN NUMBER) RETURN system.cz_model_order_tbl_type;
24 PRAGMA RESTRICT_REFERENCES(get_referenced_models, WNDS);
25
26 -- Returns array of all referenced UIs with explosion IDs in context of root UI's model
27 FUNCTION get_ui_refs_under_model (
28 p_root_ui_def_id IN NUMBER,
29 p_maxdepth IN NUMBER
30 ) return "SYSTEM".CZ_UIREFS_INMODEL_TBL_TYPE;
31 PRAGMA RESTRICT_REFERENCES (get_ui_refs_under_model, WNDS);
32
33 -- GET_PARALLEL_EXPLS takes an enclosing explosion ID in a root model, and a descendant explosion ID in a child model
34 -- the descendant explosion ID must be in the CHILD_MODEL_EXPL_ID chain from the enclosing explosion ID
35 -- it walks down the corresponding ref-explosion subtrees, matching the explosion nodes accordingly
36 -- it returns each pair of corresponding explosion IDs in a table
37 -- Note the explosion IDs do not cross models; only explosions from the models owning the argument explosion IDs are
38 -- used.
39 FUNCTION get_parallel_expls (p_encl_expl_id in number, p_desc_expl_id in number, p_max_expl_depth in number)
40 return "SYSTEM".CZ_EXPL_pair_tbl;
41 pragma restrict_references (get_parallel_expls, WNDS);
42
43 END cz_model_util_pvt;