1 Package irc_rtm_bus as
2 /* $Header: irrtmrhi.pkh 120.2 2008/01/22 10:18:04 mkjayara 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_party_id
15 -- p_vacancy_id
16 -- already exists.
17 --
18 -- In Arguments:
19 -- p_party_id
20 -- p_vacancy_id
21 --
22 --
23 -- Post Success:
24 -- The security_group_id will be set in CLIENT_INFO.
25 --
26 -- Post Failure:
27 -- An error is raised if the value does not exist.
28 --
29 -- Access Status:
30 -- Internal Development Use Only.
31 --
32 -- {End Of Comments}
33 -- ---------------------------------------------------------------------------
34 procedure set_security_group_id
35 (p_rec_team_member_id in number
36 ,p_associated_column1 in varchar2 default null
37 ,p_associated_column2 in varchar2 default null
38 );
39 --
40 --
41 -- ---------------------------------------------------------------------------
42 -- |---------------------< return_legislation_code >-------------------------|
43 -- ---------------------------------------------------------------------------
44 -- {Start Of Comments}
45 --
46 -- Description:
47 -- Return the legislation code for a specific primary key value
48 --
49 -- Prerequisites:
50 -- The primary key identified by p_party_id
51 -- p_vacancy_id
52 -- already exists.
53 --
54 -- In Arguments:
55 -- p_party_id
56 -- p_vacancy_id
57 --
58 --
59 -- Post Success:
60 -- The business group's legislation code will be returned.
61 --
62 -- Post Failure:
63 -- An error is raised if the value does not exist.
64 --
65 -- Access Status:
66 -- Internal Development Use Only.
67 --
68 -- {End Of Comments}
69 -- ---------------------------------------------------------------------------
70 FUNCTION return_legislation_code
71 (p_rec_team_member_id in number
72 ) RETURN varchar2;
73 --
74 --
75 -- ----------------------------------------------------------------------------
76 -- |---------------------------< insert_validate >----------------------------|
77 -- ----------------------------------------------------------------------------
78 -- {Start of comments}
79 --
80 -- Description:
81 -- This procedure controls the execution of all insert business rules
82 -- validation.
83 --
84 -- Prerequisites:
85 -- This private procedure is called from ins procedure.
86 --
87 -- In Parameters:
88 -- A Pl/Sql record structure.
89 --
90 -- Post Success:
91 -- Processing continues.
92 --
93 -- Post Failure:
94 -- If a business rules fails the error will not be handled by this procedure
95 -- unless explicity coded.
96 --
97 -- Developer Implementation Notes:
98 -- For insert, your business rules should be executed from this procedure
99 -- and should ideally (unless really necessary) just be straight procedure
100 -- or function calls. Try and avoid using conditional branching logic.
101 --
102 -- Access Status:
103 -- Internal Row Handler Use Only.
104 --
105 -- {End of comments}
106 -- ----------------------------------------------------------------------------
107 Procedure insert_validate
108 (p_rec in out nocopy irc_rtm_shd.g_rec_type
109 );
110 --
111 -- ----------------------------------------------------------------------------
112 -- |---------------------------< update_validate >----------------------------|
113 -- ----------------------------------------------------------------------------
114 -- {Start Of Comments}
115 --
116 -- Description:
117 -- This procedure controls the execution of all update business rules
118 -- validation.
119 --
120 -- Prerequisites:
121 -- This private procedure is called from upd procedure.
122 --
123 -- In Parameters:
124 -- A Pl/Sql record structure.
125 --
126 -- Post Success:
127 -- Processing continues.
128 --
129 -- Post Failure:
130 -- If a business rules fails the error will not be handled by this procedure
131 -- unless explicity coded.
132 --
133 -- Access Status:
134 -- Internal Row Handler Use Only.
135 --
136 -- {End Of Comments}
137 -- ----------------------------------------------------------------------------
138 Procedure update_validate
139 (p_rec in out nocopy irc_rtm_shd.g_rec_type
140 );
141 --
142 -- ----------------------------------------------------------------------------
143 -- |---------------------------< delete_validate >----------------------------|
144 -- ----------------------------------------------------------------------------
145 -- {Start Of Comments}
146 --
147 -- Description:
148 -- This procedure controls the execution of all delete business rules
149 -- validation.
150 --
151 -- Prerequisites:
152 -- This private procedure is called from del procedure.
153 --
154 -- In Parameters:
155 -- A Pl/Sql record structure.
156 --
157 -- Post Success:
158 -- Processing continues.
159 --
160 -- Post Failure:
161 -- If a business rules fails the error will not be handled by this procedure
162 -- unless explicity coded.
163 --
164 -- Developer Implementation Notes:
165 -- For delete, your business rules should be executed from this procedure
166 -- and should ideally (unless really necessary) just be straight procedure
167 -- or function calls. Try and avoid using conditional branching logic.
168 --
169 -- Access Status:
170 -- Internal Row Handler Use Only.
171 --
172 -- {End Of Comments}
173 -- ----------------------------------------------------------------------------
174 Procedure delete_validate
175 (p_rec in irc_rtm_shd.g_rec_type
176 );
177 --
178 end irc_rtm_bus;