DBA Data[Home] [Help]

PACKAGE: APPS.HR_JAVA_CONV_UTIL_SS

Source


1 PACKAGE hr_java_conv_util_ss AUTHID CURRENT_USER AS
2 /* $Header: hrjcutls.pkh 115.4 2002/02/28 19:03:30 pkm ship        $*/
3 
4   /*
5   ||===========================================================================
6   || FUNCTION: get_boolean
7   ||---------------------------------------------------------------------------
8   ||
9   || Description:
10   ||    Returns boolean equivalent of the passed number.
11   ||
12   || Pre Conditions:
13   ||
14   || In Arguments:
15   ||     p_number  --  The number value that needs to be converted into boolean.
16   ||
17   || Out Arguments:
18   ||
19   || In Out Arguments:
20   ||
21   || Post Success:
22   ||     Returns boolean equivalent of the passed number.
23   ||
24   || Post Failure:
25   ||
26   || Access Status:
27   ||     Public.
28   ||
29   ||===========================================================================
30   */
31   FUNCTION get_boolean (
32     p_number IN NUMBER DEFAULT NULL
33   )
34   RETURN BOOLEAN;
35 
36 
37   /*
38   ||===========================================================================
39   || FUNCTION: get_number
40   ||---------------------------------------------------------------------------
41   ||
42   || Description:
43   ||    Returns number equivalent of the passed boolean.
44   ||
45   || Pre Conditions:
46   ||
47   || In Arguments:
48   ||     p_boolean --  The boolean value that needs to be converted into number.
49   ||
50   || Out Arguments:
51   ||
52   || In Out Arguments:
53   ||
54   || Post Success:
55   ||     Returns number equivalent of the passed boolean.
56   ||
57   || Post Failure:
58   ||
59   || Access Status:
60   ||     Public.
61   ||
62   ||===========================================================================
63   */
64   FUNCTION get_number (
65     p_boolean IN BOOLEAN DEFAULT NULL
66   )
67   RETURN NUMBER;
68 
69 
70  /*
71   ||===========================================================================
72   || FUNCTION: get_formatted_error_message
73   ||---------------------------------------------------------------------------
74   ||
75   || Description:
76   ||    Returns error message to be returned to the jave modules.
77   ||
78   || Pre Conditions:
79   ||
80   || In Arguments:
81   ||  p_error_message  -- Input error message that needs to be formatted.
82   ||  p_attr_name      -- VO attribute name.
83   ||  p_app_short_name -- Application Id for the fnd_new_message.
84   ||  p_message_name   -- fnd_new_message name
85   ||
86   || Out Arguments:
87   ||
88   || In Out Arguments:
89   ||
90   || Post Success:
91   ||     Returns formatted error message to be passed to Java modules.
92   ||
93   || Post Failure:
94   ||
95   || Access Status:
96   ||     Public.
97   ||
98   ||===========================================================================
99   */
100   FUNCTION get_formatted_error_message (
101     p_error_message  IN VARCHAR2 DEFAULT null,
102     p_attr_name      IN VARCHAR2 DEFAULT null,
103     p_app_short_name IN VARCHAR2 DEFAULT null,
104     p_message_name   IN VARCHAR2 DEFAULT null,
105     p_single_error_message IN VARCHAR2 DEFAULT null
106   )
107   RETURN LONG;
108 
109 
110 
111 END hr_java_conv_util_ss;