1 PACKAGE BSC_MESSAGE AS
2 /* $Header: BSCUMSGS.pls 120.0 2005/06/01 16:26:21 appldev noship $ */
3
4 --
5 -- Initializes the message stack. All the messages are deleted,
6 -- regardless of the message types.
7 --
8 Procedure Init (
9 x_debug_flag IN Varchar2 := 'NO'
10 );
11
12 Procedure Reset (
13 x_debug_flag IN Varchar2 := NULL
14 );
15
16 --
17 -- Function Count
18 -- x_type:
19 -- NULL: returns the number of all the messages on stack
20 -- 0: returns the number of type 0 messages on stack(fatal error)
21 -- 1: returns the number of type 1 messages on stack(error)
22 -- 2: returns the number of type 2 messages on stack(warning)
23 -- 3: returns the number of type 3 messages on stack(information)
24 -- 4: returns the number of type 4 messages on stack(debug messages)
25 --
26 Function Count(
27 x_type IN Number := NULL
28 ) Return Number;
29
30 Procedure Add (
31 x_message IN Varchar2,
32 x_source IN Varchar2,
33 x_type IN Number := 0,
34 x_mode IN Varchar2 := 'N'
35 );
36
37 Procedure Flush;
38
39 Procedure Clean;
40
41 Procedure Show;
42
43 END BSC_MESSAGE;