[Home] [Help]
PACKAGE BODY: APPS.CS_KB_INTEG_CONSTANTS_PKG
Source
1 PACKAGE BODY CS_KB_INTEG_CONSTANTS_PKG AS
2 /* $Header: cskbicb.pls 115.1 2003/12/02 23:08:11 awwong noship $ */
3
4 FUNCTION getParameterName(p_constant IN VARCHAR2)
5 RETURN varchar2
6 IS
7 l_name varchar2(100) := null;
8 BEGIN
9 if(p_constant = 'OBJECT_CODE') then
10 l_name := 'cskCallingObjectCode';
11
12 elsif (p_constant = 'OBJECT_ID') then
13 l_name := 'cskCallingObjectId';
14
15 elsif (p_constant = 'OBJECT_NAME') then
16 l_name := 'cskCallingObjectName';
17
18 elsif (p_constant = 'OBJECT_NUM') then
19 l_name := 'cskCallingObjectNum';
20
21 elsif (p_constant = 'SEARCH_TEXT') then
22 l_name := 'cskSearchKeyword';
23
24 elsif (p_constant = 'SUMMARY_TEXT') then
25 l_name := 'cskSummaryText';
26
27 elsif (p_constant = 'PRODUCT_IDS') then
28 l_name := 'cskProductItemIds';
29
30 elsif (p_constant = 'PRODUCT_ORG_IDS') then
31 l_name := 'cskProductOrgIds';
32
33 elsif (p_constant = 'PLATFORM_IDS') then
34 l_name := 'cskPlatformItemIds';
35
36 elsif (p_constant = 'PLATFORM_ORG_IDS') then
37 l_name := 'cskPlatformOrgIds';
38
39 elsif (p_constant = 'RETURN_URL') then
40 l_name := 'cskReturnUrl';
41
42 elsif (p_constant = 'RETURN_LABEL') then
43 l_name := 'cskReturnLabel';
44
45 elsif (p_constant = 'CALLER_MESSAGE') then
46 l_name := 'cskCallerMessage';
47
48 elsif (p_constant = 'SHOW_CREATE_SOL_BUTTON') then
49 l_name := 'cskSrchBinShowCreateButton';
50
51 elsif (p_constant = 'SHOW_NOT_USEFUL_TYPE') then
52 l_name := 'cskSrchBinShowNotUsefulType';
53
54 elsif (p_constant = 'TASK_PAGE_FUNC') then
55 l_name := 'cskTaskTmplFunc';
56
57 elsif (p_constant = 'SOLUTION_NUM') then
58 l_name := 'cskSolNum';
59
60 elsif (p_constant = 'INTEGRATION_EVENT') then
61 l_name := 'cskIntegEvent';
62
63 elsif (p_constant = 'TASK_GROUP_ID') then
64 l_name := 'cskTaskTemplateGroupId';
65
66 elsif (p_constant = 'TASK_RETURN_URL') then
67 l_name := 'cskTaskReturnUrl';
68
69 elsif (p_constant = 'HIDE_BREAD_CRUMB') then
70 l_name := 'cskHideBreadCrumb';
71
72 elsif (p_constant = 'RETAIN_AM') then
73 l_name := 'cskRetainAM';
74
75 elsif (p_constant = 'MSG_TYPE_NAME') then
76 l_name := 'cskMsgType';
77 elsif (p_constant = 'MSG_PARAM_NAME') then
78 l_name := 'cskMsgText';
79 elsif (p_constant = 'INFORMATION') then
80 l_name := 'I';
81 elsif (p_constant = 'CONFIRMATION') then
82 l_name := 'C';
83 elsif (p_constant = 'WARNING') then
84 l_name := 'W';
85 elsif (p_constant = 'ERROR') then
86 l_name := 'E';
87 elsif (p_constant = 'SEVERE') then
88 l_name := 'S';
89
90 end if;
91
92 return l_name;
93
94 END getParameterName;
95
96
97 end CS_KB_INTEG_CONSTANTS_PKG;