DBA Data[Home] [Help]

PACKAGE: APPS.PER_REC_ACTIVITY_FOR_API

Source


1 Package PER_REC_ACTIVITY_FOR_API as
2 /* $Header: percfapi.pkh 120.1 2005/10/02 02:23:35 aroussel $ */
3 /*#
4  * This package contains APIs to create and maintain Association between a
5  * Recruitment activity and a Vacancy.
6  * @rep:scope public
7  * @rep:product per
8  * @rep:displayname Recruitment Activity For
9 */
10 --
11 -- ----------------------------------------------------------------------------
12 -- |-------------------------< create_rec_activity_for >----------------------|
13 -- ----------------------------------------------------------------------------
14 --
15 -- {Start Of Comments}
16 /*#
17  * This API creates an association between a recruitment activity and a
18  * vacancy.
19  *
20  * You can specify multiple vacancies for each recruitment activity by calling
21  * this API multiple times.
22  *
23  * <p><b>Licensing</b><br>
24  * This API is licensed for use with Human Resources and iRecruitment.
25  *
26  * <p><b>Prerequisites</b><br>
27  * The recruitment activity and vacancy must already exist.
28  *
29  * <p><b>Post Success</b><br>
30  * The Recruitment Activity For association will have been created.
31  *
32  * <p><b>Post Failure</b><br>
33  * The Recruitment Activity For association will not be created and an error
34  * will be raised.
35  * @param p_validate If true, then validation alone will be performed and the
36  * database will remain unchanged. If false and all validation checks pass,
37  * then the database will be modified.
38  * @param p_rec_activity_for_id If p_validate is false, then this uniquely
39  * identifies the Recruitment Activity For association. If p_validate is true,
40  * then this is set to null.
41  * @param p_business_group_id Uniquely identifies the business group under
42  * which the Recruitment Activity For association is created.
43  * @param p_vacancy_id Uniquely identifies the vacancy you are linking to the
44  * recruitment activity.
45  * @param p_rec_activity_id Uniquely identifies the recruitment activity you
46  * are linking to the vacancy.
47  * @param p_object_version_number If p_validate is false, then set to the
48  * version number of the created Recruitment Activity For record. If p_validate
49  * is true, then the value will be null.
50  * @rep:displayname Create Recruitment Activity For
51  * @rep:category BUSINESS_ENTITY PER_RECRUITMENT_ACTIVITY
52  * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
53  * @rep:scope public
54  * @rep:lifecycle active
55  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
56 */
57 --
58 -- {End Of Comments}
59 --
60 procedure create_rec_activity_for
61   (
62    p_validate                        in     boolean  default false
63   ,p_rec_activity_for_id             out nocopy    number
64   ,p_business_group_id               in     number
65   ,p_vacancy_id                      in     number
66   ,p_rec_activity_id                 in     number
67   ,p_object_version_number           out nocopy    number
68   );
69 --
70 -- ----------------------------------------------------------------------------
71 -- |-------------------------< update_rec_activity_for >----------------------|
72 -- ----------------------------------------------------------------------------
73 --
74 -- {Start Of Comments}
75 /*#
76  * This API updates an association between a recruitment activity and a
77  * vacancy.
78  *
79  *
80  * <p><b>Licensing</b><br>
81  * This API is licensed for use with Human Resources and iRecruitment.
82  *
83  * <p><b>Prerequisites</b><br>
84  * The recruitment activity for the vacancy must have already been created.
85  *
86  * <p><b>Post Success</b><br>
87  * The Recruitment Activity For association will have been updated.
88  *
89  * <p><b>Post Failure</b><br>
90  * The Recruitment Activity For association will not be updated and an error
91  * will be raised.
92  * @param p_validate If true, then validation alone will be performed and the
93  * database will remain unchanged. If false and all validation checks pass,
94  * then the database will be modified.
95  * @param p_rec_activity_for_id Uniquely identifies the Recruitment Activity
96  * For record that is being updated.
97  * @param p_vacancy_id Uniquely identifies the vacancy that you are linking to
98  * the recruitment activity.
99  * @param p_rec_activity_id Uniquely identifies the recruitment activity that
100  * you are linking to the vacancy.
101  * @param p_object_version_number Pass in the current version number of the
102  * Recruitment Activity For to be updated. When the API completes if p_validate
103  * is false, will be set to the new version number of the updated Recruitment
104  * Activity For. If p_validate is true will be set to the same value which was
105  * passed in.
106  * @rep:displayname Update Recruitment Activity For
107  * @rep:category BUSINESS_ENTITY PER_RECRUITMENT_ACTIVITY
108  * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
109  * @rep:scope public
110  * @rep:lifecycle active
111  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
112 */
113 --
114 -- {End Of Comments}
115 --
116 procedure update_rec_activity_for
117   (p_validate                        in     boolean  default false
118   ,p_rec_activity_for_id             in     number
119   ,p_vacancy_id                      in     number   default hr_api.g_number
120   ,p_rec_activity_id                 in     number   default hr_api.g_number
121   ,p_object_version_number           in out nocopy number
122   );
123 --
124 -- ----------------------------------------------------------------------------
125 -- |-------------------------< delete_rec_activity_for >----------------------|
126 -- ----------------------------------------------------------------------------
127 --
128 -- {Start Of Comments}
129 /*#
130  * This API deletes an association between a recruitment activity and a
131  * vacancy.
132  *
133  *
134  * <p><b>Licensing</b><br>
135  * This API is licensed for use with Human Resources and iRecruitment.
136  *
137  * <p><b>Prerequisites</b><br>
138  * The recruitment activity for the vacancy must have already been created.
139  *
140  * <p><b>Post Success</b><br>
141  * The Recruitment Activity For association will have been deleted.
142  *
143  * <p><b>Post Failure</b><br>
144  * The Recruitment Activity For association will not be deleted and an error
145  * will be raised.
146  * @param p_validate If true, then validation alone will be performed and the
147  * database will remain unchanged. If false and all validation checks pass,
148  * then the database will be modified.
149  * @param p_rec_activity_for_id Uniquely identifies the Recruitment Activity
150  * For record that is being deleted.
151  * @param p_object_version_number Current version number of the Recruitment
152  * Activity For to be deleted.
153  * @rep:displayname Delete Recruitment Activity For
154  * @rep:category BUSINESS_ENTITY PER_RECRUITMENT_ACTIVITY
155  * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
156  * @rep:scope public
157  * @rep:lifecycle active
158  * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
159 */
160 --
161 -- {End Of Comments}
162 --
163 procedure delete_rec_activity_for
164   (p_validate                      in     boolean  default false
165   ,p_rec_activity_for_id           in     number
166   ,p_object_version_number         in     number
167   );
168 --
169 end PER_REC_ACTIVITY_FOR_API;