DBA Data[Home] [Help]

PACKAGE: APPS.WF_EVENT_QH

Source


1 package WF_EVENT_QH AUTHID CURRENT_USER as
2 /* $Header: wfquhnds.pls 120.2.12020000.3 2013/03/21 13:05:55 skandepu ship $ */
3 /*#
4  * Handles business event messages on queues that use the WF_EVENT_T
5  * datatype as their payload type.
6  * @rep:scope public
7  * @rep:product OWF
8  * @rep:displayname Workflow Event Queue Handler
9  * @rep:lifecycle active
10  * @rep:compatibility S
11  * @rep:category BUSINESS_ENTITY WF_EVENT
12  */
13 -------------------------------------------------------------------------
14 /*#
15  * Dequeues an event message from the queue associated with the specified
16  * inbound agent.
17  * @param p_agent_guid The globally unique identifier of the inbound agent.
18  * @param p_event The deqeueued event message.
19  * @param p_wait The number of seconds to wait before dequeuing the event.
20  * @rep:scope public
21  * @rep:lifecycle active
22  * @rep:displayname Dequeue Business Event
23  * @rep:compatibility S
24  */
25 
26 PROCEDURE dequeue(p_agent_guid in  raw,
27                   p_event      out nocopy wf_event_t,
28 		  p_wait       in binary_integer default dbms_aq.no_wait);
29 -------------------------------------------------------------------------
30 /*#
31  * Enqueues an event message onto the queue associated with the outbound agent.
32  * You can optionally specify an override agent where you want to enqueue the event message.
33  * Otherwise, the event message is enqueued on the From Agent specified within the message.
34  * @param p_event The event message.
35  * @param p_out_agent_override The address of the override outbound agent.
36  * @rep:scope public
37  * @rep:lifecycle active
38  * @rep:displayname Enqueue Business Event
39  * @rep:compatibility S
40  */
41 PROCEDURE enqueue(p_event              in wf_event_t,
42                   p_out_agent_override in wf_agent_t default null);
43 -------------------------------------------------------------------------
44 end WF_EVENT_QH;