DBA Data[Home] [Help]

PACKAGE: APPS.OTA_CFS_BUS

Source


1 Package ota_cfs_bus as
2 /* $Header: otcfsrhi.pkh 120.0 2005/05/29 07:06 appldev noship $ */
3 --
4 -- ---------------------------------------------------------------------------
5 -- |----------------------< set_security_group_id >--------------------------|
6 -- ---------------------------------------------------------------------------
7 -- {Start Of Comments}
8 --
9 --  Description:
10 --    Sets the security_group_id in CLIENT_INFO for the appropriate business
11 --    group context.
12 --
13 --  Prerequisites:
14 --    The primary key identified by p_conference_server_id
15 --     already exists.
16 --
17 --  In Arguments:
18 --    p_conference_server_id
19 --
20 --
21 --  Post Success:
22 --    The security_group_id will be set in CLIENT_INFO.
23 --
24 --  Post Failure:
25 --    An error is raised if the value does not exist.
26 --
27 --  Access Status:
28 --    Internal Development Use Only.
29 --
30 -- {End Of Comments}
31 -- ---------------------------------------------------------------------------
32 procedure set_security_group_id
33   (p_conference_server_id                 in number
34   ,p_associated_column1                   in varchar2 default null
35   );
36 --
37 --
38 -- ---------------------------------------------------------------------------
39 -- |---------------------< return_legislation_code >-------------------------|
40 -- ---------------------------------------------------------------------------
41 -- {Start Of Comments}
42 --
43 --  Description:
44 --    Return the legislation code for a specific primary key value
45 --
46 --  Prerequisites:
47 --    The primary key identified by p_conference_server_id
48 --     already exists.
49 --
50 --  In Arguments:
51 --    p_conference_server_id
52 --
53 --
54 --  Post Success:
55 --    The business group's legislation code will be returned.
56 --
57 --  Post Failure:
58 --    An error is raised if the value does not exist.
59 --
60 --  Access Status:
61 --    Internal Development Use Only.
62 --
63 -- {End Of Comments}
64 -- ---------------------------------------------------------------------------
65 FUNCTION return_legislation_code
66   (p_conference_server_id                 in     number
67   ) RETURN varchar2;
68 
69 -- ----------------------------------------------------------------------------
70 -- |-------------------------< UNIQUE_CFS_NAME>--------------------------|
71 -- ----------------------------------------------------------------------------
72 --
73 -- PUBLIC
74 -- Description:
75 --   Update/Inser Validation.
76 --   This offering may not be updated/inserted if conference server have same
77 --    name, and language exist
78 --
79 function UNIQUE_CFS_NAME (
80 	P_NAME  					in varchar2,
81 	P_BUSINESS_GROUP_ID				in number,
82       P_CONFERENCE_SERVER_ID			in number
83 	) return boolean ;
84 --
85 
86 --
87 
88 -- ----------------------------------------------------------------------------
89 -- |-------------------------< check_if_conf_exists >--------------------------|
90 -- ----------------------------------------------------------------------------
91 --
92 -- PUBLIC
93 -- Description:
94 --   Delete Validation.
95 --   This conference server may not be deleted if child rows in
96 --   ota_conferences exist.
97 --
98 Procedure check_if_conf_exists
99   (
100    p_conference_server_id  in  number
101   ) ;
102 
103 --
104 --
105 -- ----------------------------------------------------------------------------
106 -- |---------------------------< insert_validate >----------------------------|
107 -- ----------------------------------------------------------------------------
108 -- {Start of comments}
109 --
110 -- Description:
111 --   This procedure controls the execution of all insert business rules
112 --   validation.
113 --
114 -- Prerequisites:
115 --   This private procedure is called from ins procedure.
116 --
117 -- In Parameters:
118 --   A Pl/Sql record structure.
119 --
120 -- Post Success:
121 --   Processing continues.
122 --
123 -- Post Failure:
124 --   If a business rules fails the error will not be handled by this procedure
125 --   unless explicity coded.
126 --
127 -- Developer Implementation Notes:
128 --   For insert, your business rules should be executed from this procedure
129 --   and should ideally (unless really necessary) just be straight procedure
130 --   or function calls. Try and avoid using conditional branching logic.
131 --
132 -- Access Status:
133 --   Internal Row Handler Use Only.
134 --
135 -- {End of comments}
136 -- ----------------------------------------------------------------------------
137 Procedure insert_validate
138   (p_effective_date               in date
139   ,p_rec                          in out nocopy ota_cfs_shd.g_rec_type
140   ,p_name                          in varchar2
141   );
142 --
143 -- ----------------------------------------------------------------------------
144 -- |---------------------------< update_validate >----------------------------|
145 -- ----------------------------------------------------------------------------
146 -- {Start Of Comments}
147 --
148 -- Description:
149 --   This procedure controls the execution of all update business rules
150 --   validation.
151 --
152 -- Prerequisites:
153 --   This private procedure is called from upd procedure.
154 --
155 -- In Parameters:
156 --   A Pl/Sql record structure.
157 --
158 -- Post Success:
159 --   Processing continues.
160 --
161 -- Post Failure:
162 --   If a business rules fails the error will not be handled by this procedure
163 --   unless explicity coded.
164 --
165 -- Access Status:
166 --   Internal Row Handler Use Only.
167 --
168 -- {End Of Comments}
169 -- ----------------------------------------------------------------------------
170 Procedure update_validate
171   (p_effective_date               in date
172   ,p_rec                          in out nocopy ota_cfs_shd.g_rec_type
173   ,p_name                          in varchar2
174   );
175 --
176 -- ----------------------------------------------------------------------------
177 -- |---------------------------< delete_validate >----------------------------|
178 -- ----------------------------------------------------------------------------
179 -- {Start Of Comments}
180 --
181 -- Description:
182 --   This procedure controls the execution of all delete business rules
183 --   validation.
184 --
185 -- Prerequisites:
186 --   This private procedure is called from del procedure.
187 --
188 -- In Parameters:
189 --   A Pl/Sql record structure.
190 --
191 -- Post Success:
192 --   Processing continues.
193 --
194 -- Post Failure:
195 --   If a business rules fails the error will not be handled by this procedure
196 --   unless explicity coded.
197 --
198 -- Developer Implementation Notes:
199 --   For delete, your business rules should be executed from this procedure
200 --   and should ideally (unless really necessary) just be straight procedure
201 --   or function calls. Try and avoid using conditional branching logic.
202 --
203 -- Access Status:
204 --   Internal Row Handler Use Only.
205 --
206 -- {End Of Comments}
207 -- ----------------------------------------------------------------------------
208 Procedure delete_validate
209   (p_rec              in ota_cfs_shd.g_rec_type
210   );
211 
212 
213 end ota_cfs_bus;