1 Package hr_avm_bus AUTHID CURRENT_USER as
2 /* $Header: hravmrhi.pkh 120.0 2005/05/30 23:02:08 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_ath_dsn
15 -- already exists.
16 --
17 -- In Arguments:
18 -- p_ath_dsn
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_ath_variablemap_id in number
34 ,p_associated_column1 in varchar2 default null
35 );
36 --
37 --
38 --
39 --
40 -- ----------------------------------------------------------------------------
41 -- |---------------------------< insert_validate >----------------------------|
42 -- ----------------------------------------------------------------------------
43 -- {Start of comments}
44 --
45 -- Description:
46 -- This procedure controls the execution of all insert business rules
47 -- validation.
48 --
49 -- Prerequisites:
50 -- This private procedure is called from ins procedure.
51 --
52 -- In Parameters:
53 -- A Pl/Sql record structure.
54 --
55 -- Post Success:
56 -- Processing continues.
57 --
58 -- Post Failure:
59 -- If a business rules fails the error will not be handled by this procedure
60 -- unless explicity coded.
61 --
62 -- Developer Implementation Notes:
63 -- For insert, your business rules should be executed from this procedure
64 -- and should ideally (unless really necessary) just be straight procedure
65 -- or function calls. Try and avoid using conditional branching logic.
66 --
67 -- Access Status:
68 -- Internal Row Handler Use Only.
69 --
70 -- {End of comments}
71 -- ----------------------------------------------------------------------------
72 Procedure insert_validate
73 (p_rec in hr_avm_shd.g_rec_type
74 );
75 --
76 -- ----------------------------------------------------------------------------
77 -- |---------------------------< update_validate >----------------------------|
78 -- ----------------------------------------------------------------------------
79 -- {Start Of Comments}
80 --
81 -- Description:
82 -- This procedure controls the execution of all update business rules
83 -- validation.
84 --
85 -- Prerequisites:
86 -- This private procedure is called from upd procedure.
87 --
88 -- In Parameters:
89 -- A Pl/Sql record structure.
90 --
91 -- Post Success:
92 -- Processing continues.
93 --
94 -- Post Failure:
95 -- If a business rules fails the error will not be handled by this procedure
96 -- unless explicity coded.
97 --
98 -- Access Status:
99 -- Internal Row Handler Use Only.
100 --
101 -- {End Of Comments}
102 -- ----------------------------------------------------------------------------
103 Procedure update_validate
104 (p_rec in hr_avm_shd.g_rec_type
105 );
106 --
107 -- ----------------------------------------------------------------------------
108 -- |---------------------------< delete_validate >----------------------------|
109 -- ----------------------------------------------------------------------------
110 -- {Start Of Comments}
111 --
112 -- Description:
113 -- This procedure controls the execution of all delete business rules
114 -- validation.
115 --
116 -- Prerequisites:
117 -- This private procedure is called from del procedure.
118 --
119 -- In Parameters:
120 -- A Pl/Sql record structure.
121 --
122 -- Post Success:
123 -- Processing continues.
124 --
125 -- Post Failure:
126 -- If a business rules fails the error will not be handled by this procedure
127 -- unless explicity coded.
128 --
129 -- Developer Implementation Notes:
130 -- For delete, your business rules should be executed from this procedure
131 -- and should ideally (unless really necessary) just be straight procedure
132 -- or function calls. Try and avoid using conditional branching logic.
133 --
134 -- Access Status:
135 -- Internal Row Handler Use Only.
136 --
137 -- {End Of Comments}
138 -- ----------------------------------------------------------------------------
139 Procedure delete_validate
140 (p_rec in hr_avm_shd.g_rec_type
141 );
142 --
143 end hr_avm_bus;