1 PACKAGE CLN_CH_EVENT_SUBSCRIPTION_PKG AS
2 /* $Header: ECXCHETS.pls 120.0 2005/08/25 04:44:20 nparihar noship $ */
3 -- Package
4 -- CLN_CH_EVENT_SUBSCRIPTION_PKG
5 --
6 -- Purpose
7 -- Spec of package CLN_CH_EVENT_SUBSCRIPTION_PKG. This package
8 -- is called to create or update collaboration based on events raised./updated by calling this package.
9 --
10 -- History
11 -- July-05-2002 Rahul Krishan Created
12
13
14
15 -- Name
16 -- CREATE_EVENT_SUB
17 -- Purpose
18 -- This is the public procedure which is attached to an event raised from a workflow item
19 -- and is used to create a new collaboration
20 -- Arguments
21 --
22 -- Notes
23 -- No specific notes.
24
25 FUNCTION CREATE_EVENT_SUB(
26 p_subscription_guid IN RAW,
27 p_event IN OUT NOCOPY WF_EVENT_T
28 ) RETURN VARCHAR2;
29
30
31
32 -- Name
33 -- UPDATE_EVENT_SUB
34 -- Purpose
35 -- This is the public procedure which is attached to an event raised from a workflow item
36 -- and is used to update an existing collaboration
37 -- Arguments
38 --
39 -- Notes
40 -- No specific notes.
41
42
43 FUNCTION UPDATE_EVENT_SUB(
44 p_subscription_guid IN RAW,
45 p_event IN OUT NOCOPY WF_EVENT_T
46 ) RETURN VARCHAR2;
47
48
49 -- Name
50 -- UPDATE_EVENT_SUB
51 -- Purpose
52 -- This is the public procedure which is attached to an event raised from a workflow item
53 -- and is used to add messages to an existing detail collaboration row
54 -- Arguments
55 --
56 -- Notes
57 -- No specific notes.
58
59
60 FUNCTION ADD_MESSAGES_EVENT_SUB(
61 p_subscription_guid IN RAW,
62 p_event IN OUT NOCOPY WF_EVENT_T
63 ) RETURN VARCHAR2;
64
65
66 -- Name
67 -- ADD_COLLABORATION_EVENT_SUB
68 -- Purpose
69 -- This is the public procedure which is used to get the parameters for the update/create
70 -- collaboration event.This procedure in turn calls CREATE_COLLABORATION or UPDATE_COLLABORATION API .
71 -- based on the parameters passed.
72 -- Arguments
73 --
74 -- Notes
75 -- No specific notes.
76
77 FUNCTION ADD_COLLABORATION_EVENT_SUB(
78 p_subscription_guid IN RAW,
79 p_event IN OUT NOCOPY WF_EVENT_T
80
81 ) RETURN VARCHAR2;
82
83
84 -- Name
85 -- NOTIFICATION_EVENT_SUB
86 -- Purpose
87 -- This is the public procedure which is used to raise the notification
88 -- event.This procedure in turn calls CLN_NP_PROCESSOR_PKG.PROCESS_NOTIF_ACTIONS_EVT API.
89 --
90 -- Arguments
91 --
92 -- Notes
93 -- No specific notes.
94
95 FUNCTION NOTIFICATION_EVENT_SUB(
96 p_subscription_guid IN RAW,
97 p_event IN OUT NOCOPY WF_EVENT_T
98 ) RETURN VARCHAR2;
99
100
101
102 END CLN_CH_EVENT_SUBSCRIPTION_PKG;