1 Package irc_job_basket_items_api as
2 /* $Header: irjbiapi.pkh 120.2 2008/02/21 14:31:22 viviswan noship $ */
3 /*#
4 * This package contains Job Basket APIs.
5 * @rep:scope public
6 * @rep:product irc
7 * @rep:displayname Job Basket
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |--------------------------< create_job_basket_item >----------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16 * This API creates an item in a person's job basket.
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 person and recruitment activity must exist in the database
24 *
25 * <p><b>Post Success</b><br>
26 * A job basket item will be added
27 *
28 * <p><b>Post Failure</b><br>
29 * The job basket item will not be added and an error will be raised
30 * @param p_validate If true, then validation alone will be performed and the
31 * database will remain unchanged. If false and all validation checks pass,
32 * then the database will be modified.
33 * @param p_effective_date Reference date for validating lookup values are
34 * applicable during the start to end active date range. This date does not
35 * determine when the changes take effect.
36 * @param p_recruitment_activity_id The recruitment activity for the job basket
37 * item
38 * @param p_person_id Identifies the person for whom you create the job basket
39 * record.
40 * @param p_job_basket_item_id If p_validate is false, then this uniquely
41 * identifies the job basket item created. If p_validate is true, then set to
42 * null.
43 * @param p_object_version_number If p_validate is false, then set to the
44 * version number of the created job basket item. If p_validate is true, then
45 * the value will be null.
46 * @rep:displayname Create Job Basket Item
47 * @rep:category BUSINESS_ENTITY IRC_JOB_BASKET
48 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
49 * @rep:scope public
50 * @rep:lifecycle active
51 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
52 */
53 --
54 -- {End Of Comments}
55 --
56 procedure create_job_basket_item
57 (p_validate in boolean default false
58 ,p_effective_date in date
59 ,p_recruitment_activity_id in number
60 ,p_person_id in number
61 ,p_job_basket_item_id out nocopy number
62 ,p_object_version_number out nocopy number
63 );
64 --
65 -- ----------------------------------------------------------------------------
66 -- |--------------------------< delete_job_basket_item >----------------------|
67 -- ----------------------------------------------------------------------------
68 --
69 -- {Start Of Comments}
70 /*#
71 * This API removes an item from a persons job basket.
72 *
73 *
74 * <p><b>Licensing</b><br>
75 * This API is licensed for use with iRecruitment.
76 *
77 * <p><b>Prerequisites</b><br>
78 * The job basket item must exist in the database
79 *
80 * <p><b>Post Success</b><br>
81 * The job basket item will be removed
82 *
83 * <p><b>Post Failure</b><br>
84 * The job basket item will not be removed and an error will be raised
85 * @param p_validate If true, then validation alone will be performed and the
86 * database will remain unchanged. If false and all validation checks pass,
87 * then the database will be modified.
88 * @param p_object_version_number Current version number of the job basket item
89 * to be deleted.
90 * @param p_job_basket_item_id Identifies the job basket item that is being
91 * removed
92 * @rep:displayname Delete Job Basket Item
93 * @rep:category BUSINESS_ENTITY IRC_JOB_BASKET
94 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
95 * @rep:scope public
96 * @rep:lifecycle active
97 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
98 */
99 --
100 -- {End Of Comments}
101 --
102 procedure delete_job_basket_item
103 (p_validate in boolean default false
104 ,p_object_version_number in number
105 ,p_job_basket_item_id in number
106 );
107 --
108
109 end irc_job_basket_items_api;