1 Package hr_ttl_bus as
2 /* $Header: hrttlrhi.pkh 120.0 2005/05/31 03:32 appldev noship $ */
3 --
4 --
5 -- ----------------------------------------------------------------------------
6 -- |---------------------------< insert_validate >----------------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start of comments}
9 --
10 -- Description:
11 -- This procedure controls the execution of all insert business rules
12 -- validation.
13 --
14 -- Prerequisites:
15 -- This private procedure is called from ins procedure.
16 --
17 -- In Parameters:
18 -- A Pl/Sql record structure.
19 --
20 -- Post Success:
21 -- Processing continues.
22 --
23 -- Post Failure:
24 -- If a business rules fails the error will not be handled by this procedure
25 -- unless explicity coded.
26 --
27 -- Developer Implementation Notes:
28 -- For insert, your business rules should be executed from this procedure
29 -- and should ideally (unless really necessary) just be straight procedure
30 -- or function calls. Try and avoid using conditional branching logic.
31 --
32 -- Access Status:
33 -- Internal Row Handler Use Only.
34 --
35 -- {End of comments}
36 -- ----------------------------------------------------------------------------
37 Procedure insert_validate
38 (p_rec in hr_ttl_shd.g_rec_type,
39 p_topic_id in number
40 );
41 --
42 -- ----------------------------------------------------------------------------
43 -- |---------------------------< update_validate >----------------------------|
44 -- ----------------------------------------------------------------------------
45 -- {Start Of Comments}
46 --
47 -- Description:
48 -- This procedure controls the execution of all update business rules
49 -- validation.
50 --
51 -- Prerequisites:
52 -- This private procedure is called from upd procedure.
53 --
54 -- In Parameters:
55 -- A Pl/Sql record structure.
56 --
57 -- Post Success:
58 -- Processing continues.
59 --
60 -- Post Failure:
61 -- If a business rules fails the error will not be handled by this procedure
62 -- unless explicity coded.
63 --
64 -- Access Status:
65 -- Internal Row Handler Use Only.
66 --
67 -- {End Of Comments}
68 -- ----------------------------------------------------------------------------
69 Procedure update_validate
70 (p_rec in hr_ttl_shd.g_rec_type
71 );
72 --
73 -- ----------------------------------------------------------------------------
74 -- |---------------------------< delete_validate >----------------------------|
75 -- ----------------------------------------------------------------------------
76 -- {Start Of Comments}
77 --
78 -- Description:
79 -- This procedure controls the execution of all delete business rules
80 -- validation.
81 --
82 -- Prerequisites:
83 -- This private procedure is called from del procedure.
84 --
85 -- In Parameters:
86 -- A Pl/Sql record structure.
87 --
88 -- Post Success:
89 -- Processing continues.
90 --
91 -- Post Failure:
92 -- If a business rules fails the error will not be handled by this procedure
93 -- unless explicity coded.
94 --
95 -- Developer Implementation Notes:
96 -- For delete, your business rules should be executed from this procedure
97 -- and should ideally (unless really necessary) just be straight procedure
98 -- or function calls. Try and avoid using conditional branching logic.
99 --
100 -- Access Status:
101 -- Internal Row Handler Use Only.
102 --
103 -- {End Of Comments}
104 -- ----------------------------------------------------------------------------
105 Procedure delete_validate
106 (p_rec in hr_ttl_shd.g_rec_type
107 );
108 --
109 end hr_ttl_bus;