1 Package IRC_REC_TEAM_MEMBERS_API as
2 /* $Header: irrtmapi.pkh 120.3.12010000.3 2008/11/17 11:00:56 avarri ship $ */
3 /*#
4 * This package contains APIs for recruiting team members.
5 * @rep:scope public
6 * @rep:product irc
7 * @rep:displayname Recruiting Team Member
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |--------------------------< create_rec_team_member >----------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16 * This API adds a member to the recruiting team for a vacancy.
17 *
18 *
19 * <p><b>Licensing</b><br>
20 * This API is licensed for use with iRecruitment.
21 *
22 * <p><b>Prerequisites</b><br>
23 * The vacancy and the person must already exist
24 *
25 * <p><b>Post Success</b><br>
26 * The person is added to the recruiting team for the vacancy
27 *
28 * <p><b>Post Failure</b><br>
29 * The person will not be added to the recruiting team and an error will be
30 * raised
31 * @param p_validate If true, then validation alone will be performed and the
32 * database will remain unchanged. If false and all validation checks pass,
33 * then the database will be modified.
34 * @param p_person_id Identifies the person for whom you create the recruiting
35 * team record.
36 * @param p_vacancy_id Identifies the vacancy for the recruiting team member
37 * @param p_job_id Reserved for future use
38 * @param p_start_date Reserved for future use
39 * @param p_end_date Reserved for future use
40 * @param p_update_allowed Specifies whether the person can update the vacancy
41 * (Y or N)
42 * @param p_delete_allowed Specifies whether the person can delete the vacancy
43 * (Y or N)
44 * @param p_rec_team_member_id If p_validate is false, then this uniquely
45 * identifies the recruiting team member created. If p_validate is true, then
46 * set to null.
47 * @param p_object_version_number If p_validate is false, then set to the
48 * version number of the created recruiting team member. If p_validate is true,
49 * then the value will be null.
50 * @param p_interview_security This determines the interviews to which the
51 * recruiting team member has access.
52 * @rep:displayname Create Recruiting Team Member
53 * @rep:category BUSINESS_ENTITY IRC_RECRUITING_TEAM
54 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
55 * @rep:scope public
56 * @rep:lifecycle active
57 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
58 */
59 --
60 -- {End Of Comments}
61 --
62 procedure create_rec_team_member
63 (p_validate in boolean default false
64 ,p_person_id in number
65 ,p_vacancy_id in number
66 ,p_job_id in number default null
67 ,p_start_date in date default null
68 ,p_end_date in date default null
69 ,p_update_allowed in varchar2 default 'Y'
70 ,p_delete_allowed in varchar2 default 'Y'
71 ,p_rec_team_member_id out nocopy number
72 ,p_object_version_number out nocopy number
73 ,p_interview_security in varchar2 default 'SELF'
74 );
75 --
76 -- ----------------------------------------------------------------------------
77 -- |--------------------------< update_rec_team_member >----------------------|
78 -- ----------------------------------------------------------------------------
79 --
80 -- {Start Of Comments}
81 /*#
82 * This API updates the details of a recruiting team member.
83 *
84 *
85 * <p><b>Licensing</b><br>
86 * This API is licensed for use with iRecruitment.
87 *
88 * <p><b>Prerequisites</b><br>
89 * The recruiting team member must exist already
90 *
91 * <p><b>Post Success</b><br>
92 * The recruiting team member will be updated in the database
93 *
94 * <p><b>Post Failure</b><br>
95 * The recruiting team member will not be updated in the database and an error
96 * will be raised
97 * @param p_validate If true, then validation alone will be performed and the
98 * database will remain unchanged. If false and all validation checks pass,
99 * then the database will be modified.
100 * @param p_rec_team_member_id Identifies the recruiting team member
101 * @param p_person_id Identifies the person for whom you update the recruiting
102 * team record.
103 * @param p_vacancy_id Identifies the vacancy for the recruiting team member
104 * @param p_party_id Obsolete parameter. Do not use
105 * @param p_object_version_number Pass in the current version number of the
106 * recruiting team entry to be updated. When the API completes if p_validate is
107 * false, will be set to the new version number of the updated recruiting team
108 * entry. If p_validate is true will be set to the same value which was passed
109 * in.
110 * @param p_job_id Reserved for future use
111 * @param p_start_date Reserved for future use
112 * @param p_end_date Reserved for future use
113 * @param p_update_allowed Specifies whether the person can update the vacancy
114 * (Y or N)
115 * @param p_delete_allowed Specifies whether the person can delete the vacancy
116 * (Y or N)
117 * @param p_interview_security This determines the interviews to which the
118 * recruiting team member has access.
119 * @rep:displayname Update Recruiting Team Member
120 * @rep:category BUSINESS_ENTITY IRC_RECRUITING_TEAM
121 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
122 * @rep:scope public
123 * @rep:lifecycle active
124 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
125 */
126 --
127 -- {End Of Comments}
128 --
129 procedure update_rec_team_member
130 (p_validate in boolean default false
131 ,p_rec_team_member_id in number
132 ,p_person_id in number default hr_api.g_number
133 ,p_vacancy_id in number default hr_api.g_number
134 ,p_party_id in number default hr_api.g_number
135 ,p_object_version_number in out nocopy number
136 ,p_job_id in number default hr_api.g_number
137 ,p_start_date in date default hr_api.g_date
138 ,p_end_date in date default hr_api.g_date
139 ,p_update_allowed in varchar2 default hr_api.g_varchar2
140 ,p_delete_allowed in varchar2 default hr_api.g_varchar2
141 ,p_interview_security in varchar2 default 'SELF'
142 );
143 --
144 -- ----------------------------------------------------------------------------
145 -- |--------------------------< delete_rec_team_member >----------------------|
146 -- ----------------------------------------------------------------------------
147 --
148 -- {Start Of Comments}
149 /*#
150 * This API removes a member of a recruiting team.
151 *
152 *
153 * <p><b>Licensing</b><br>
154 * This API is licensed for use with iRecruitment.
155 *
156 * <p><b>Prerequisites</b><br>
157 * The recruiting team member must exist already
158 *
159 * <p><b>Post Success</b><br>
160 * The recruiting team member will be removed from the database
161 *
162 * <p><b>Post Failure</b><br>
163 * The recruiting team member will not be removed from the database and an
164 * error will be raised
165 * @param p_validate If true, then validation alone will be performed and the
166 * database will remain unchanged. If false and all validation checks pass,
167 * then the database will be modified.
168 * @param p_rec_team_member_id Identifies the recruiting team member
169 * @param p_object_version_number Current version number of the recruiting team
170 * entry to be deleted.
171 * @rep:displayname Delete Recruiting Team Member
172 * @rep:category BUSINESS_ENTITY IRC_RECRUITING_TEAM
173 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
174 * @rep:scope public
175 * @rep:lifecycle active
176 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
177 */
178 --
179 -- {End Of Comments}
180 --
181 procedure delete_rec_team_member
182 (p_validate in boolean default false
183 ,p_rec_team_member_id in number
184 ,p_object_version_number in number
185 );
186 --
187 end IRC_REC_TEAM_MEMBERS_API;