48: --
49: -- {End Of Comments}
50: -- ----------------------------------------------------------------------------
51: Procedure delete_dml
52: (p_rec in ota_ont_shd.g_rec_type
53: ) is
54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
72: Exception
73: When hr_api.child_integrity_violated then
74: -- Child integrity has been violated
75: --
76: ota_ont_shd.constraint_error
77: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
78: When Others Then
79: --
80: Raise;
111: -- Internal Row Handler Use Only.
112: --
113: -- {End Of Comments}
114: -- ----------------------------------------------------------------------------
115: Procedure pre_delete(p_rec in ota_ont_shd.g_rec_type) is
116: --
117: l_proc varchar2(72) := g_package||'pre_delete';
118: --
119: Begin
153: -- Internal Row Handler Use Only.
154: --
155: -- {End Of Comments}
156: -- -----------------------------------------------------------------------------
157: Procedure post_delete(p_rec in ota_ont_shd.g_rec_type) is
158: --
159: l_proc varchar2(72) := g_package||'post_delete';
160: --
161: Begin
167: => p_rec.offering_id
168: ,p_language
169: => p_rec.language
170: ,p_name_o
171: => ota_ont_shd.g_old_rec.name
172: ,p_description_o
173: => ota_ont_shd.g_old_rec.description
174: ,p_source_lang_o
175: => ota_ont_shd.g_old_rec.source_lang
169: => p_rec.language
170: ,p_name_o
171: => ota_ont_shd.g_old_rec.name
172: ,p_description_o
173: => ota_ont_shd.g_old_rec.description
174: ,p_source_lang_o
175: => ota_ont_shd.g_old_rec.source_lang
176: );*/
177: null;
171: => ota_ont_shd.g_old_rec.name
172: ,p_description_o
173: => ota_ont_shd.g_old_rec.description
174: ,p_source_lang_o
175: => ota_ont_shd.g_old_rec.source_lang
176: );*/
177: null;
178: --
179: exception
192: -- ----------------------------------------------------------------------------
193: -- |---------------------------------< del >----------------------------------|
194: -- ----------------------------------------------------------------------------
195: Procedure del
196: (p_rec in ota_ont_shd.g_rec_type
197: ) is
198: --
199: l_proc varchar2(72) := g_package||'del';
200: --
202: hr_utility.set_location('Entering:'||l_proc, 5);
203: --
204: -- We must lock the row which we need to delete.
205: --
206: ota_ont_shd.lck
207: (p_rec.offering_id
208: ,p_rec.language
209: );
210: --
239: (p_offering_id in number
240: ,p_language in varchar2
241: ) is
242: --
243: l_rec ota_ont_shd.g_rec_type;
244: l_proc varchar2(72) := g_package||'del';
245: --
246: Begin
247: hr_utility.set_location('Entering:'||l_proc, 5);