1 PACKAGE WF_TASKFLOW AUTHID CURRENT_USER AS
2 /* $Header: wfflos.pls 120.5 2007/08/16 05:19:53 dsardar ship $ */
3
4
5 /*
6 * Name:
7 * get_flow_definition
8 *
9 * Description:
10 * Get definitions of all process activities and transitions in the base
11 * process.
12 *
13 * Parameters:
14 * x_base_type - Base item type, first part of id.
15 * x_base_name - Base process name, second part of id.
16 * x_parent_type - Parent item type. Default to null.
17 * x_parent_name - Parent process_name. Default to null.
18 *
19 * Notes:
20 * x_parent_type and x_parent_name are used when the base process has
21 * a parent process of different item_type. Used when zooming-in a
22 * subprocess.
23 */
24 FUNCTION get_flow_definition(x_base_type VARCHAR2,
25 x_base_name VARCHAR2,
26 x_parent_type VARCHAR2 DEFAULT NULL,
27 x_parent_name VARCHAR2 DEFAULT NULL) RETURN CLOB;
28
29
30 /*
31 * Name:
32 * get_flow_instance
33 *
34 * Description:
35 * Get defintions and state info of all process activities and
36 * transitions in the process instance.
37 *
38 * Parameters:
39 * x_item_type - Item type for the process instance, first part of
40 * instance id.
41 * x_item_key - Item key for the process instance, second part of
42 * instance id. For retrieving state info.
43 * x_parent_type - Parent item type, for retrieving base process
44 * information. (A process of one item_type can contain
45 * activities of other item_types.) Default to null.
46 * x_parent_name - Parent process_name, for retrieving base process
47 * information. (A process of one item_type can contain
48 * activities of other item_types.) Default to null.
49 * x_base_type - Item type, first id of the process defintion. Default
50 * to null.
51 * x_base_name - Process name, second id of the process definition.
52 * Default to null.
53 * Notes:
54 * Last 3 arguments are used when zooming-in a subprocess. The parent
55 * item type will be the same as x_item_type.
56 *
57 */
58 FUNCTION get_flow_instance(x_item_type IN VARCHAR2,
59 x_item_key IN VARCHAR2,
60 x_parent_type IN VARCHAR2 DEFAULT NULL,
61 x_parent_name IN VARCHAR2 DEFAULT NULL,
62 x_base_type IN VARCHAR2 DEFAULT NULL,
63 x_base_name IN VARCHAR2 DEFAULT NULL) RETURN CLOB;
64 /*
65 * Name:
66 * get_translations
67 *
68 * Description:
69 * Given a name list concatenated with '^', parse the list and return
70 * a html page of translated list with the same order.
71 *
72 * Parameters:
73 * x_name_list - List of names to be translated, concatenated with
74 * agreed delimiter.
75 */
76 FUNCTION get_translations(x_name_list IN VARCHAR2 DEFAULT NULL) RETURN VARCHAR2;
77
78
79 END WF_TASKFLOW;