1 Package IRC_LOCATION_CRITERIA_VAL_API as
2 /* $Header: irlcvapi.pkh 120.4 2008/02/21 14:32:49 viviswan noship $ */
3 /*#
4 * This package contains APIs for creating and deleting location criteria.
5 * @rep:scope public
6 * @rep:product irc
7 * @rep:displayname Location Criteria
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |-------------------------< create_location_criteria >---------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16 * This API creates a new derived locale value for a given search criteria.
17 *
18 * You can use this API to add multiple derived locale values to a specific
19 * search criteria ID.
20 *
21 * <p><b>Licensing</b><br>
22 * This API is licensed for use with iRecruitment.
23 *
24 * <p><b>Prerequisites</b><br>
25 * A valid search criteria should be present.
26 *
27 * <p><b>Post Success</b><br>
28 * A derived locale value is created for the search criteria.
29 *
30 * <p><b>Post Failure</b><br>
31 * The API does not create derived locale criteria value and raises an error.
32 *
33 * @param p_validate If true, then validation alone will be performed and the
34 * database will remain unchanged. If false and all validation checks pass,
35 * then the database will be modified.
36 * @param p_search_criteria_id Search criteria for which the
37 * value will be added.
38 * @param p_derived_locale Derived locale criteria value.
39 * @param p_location_criteria_value_id ID of the derived locale
40 * criteria value. Identifies the derived locale criteria value.
41 * @param p_object_version_number If p_validate is false, then set to the
42 * version number of the created assignment detail. If p_validate is true,
43 * then the value will be null.
44 * @rep:displayname Create Location Criteria
45 * @rep:category BUSINESS_ENTITY IRC_JOB_SEARCH_LOCATION
46 * @rep:lifecycle active
47 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
48 * @rep:scope public
49 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
50 */
51 --
52 -- {End Of Comments}
53 --
54 procedure CREATE_LOCATION_CRITERIA
55 (p_validate in boolean default false
56 ,p_search_criteria_id in number
57 ,p_derived_locale in varchar2
58 ,p_location_criteria_value_id out nocopy number
59 ,p_object_version_number out nocopy number
60 );
61 --
62 --
63 -- ----------------------------------------------------------------------------
64 -- |-------------------------< delete_location_criteria >---------------------|
65 -- ----------------------------------------------------------------------------
66 --
67 -- {Start Of Comments}
68 /*#
69 * This API deletes a single derived locale value for a given search criteria.
70 *
71 *
72 * <p><b>Licensing</b><br>
73 * This API is licensed for use with iRecruitment.
74 *
75 * <p><b>Prerequisites</b><br>
76 * The derived locale criteria value must exist.
77 *
78 * <p><b>Post Success</b><br>
79 * The derived locale criteria value will be deleted.
80 *
81 * <p><b>Post Failure</b><br>
82 * The API does not delete derived locale criteria value and raises an error.
83 *
84 * @param p_validate If true, then validation alone will be performed and the
85 * database will remain unchanged. If false and all validation checks pass,
86 * then the database will be modified.
87 * @param p_location_criteria_value_id ID of the derived locale
88 * criteria value. Identifies the derived locale criteria value.
89 * @param p_object_version_number Current version number of the location
90 * criteria to be deleted.
91 * @rep:displayname Delete Location Criteria
92 * @rep:category BUSINESS_ENTITY IRC_JOB_SEARCH_LOCATION
93 * @rep:lifecycle active
94 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
95 * @rep:scope public
96 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
97 */
98 --
99 -- {End Of Comments}
100 --
101 procedure DELETE_LOCATION_CRITERIA
102 (p_validate in boolean default false
103 ,p_location_criteria_value_id in number
104 ,p_object_version_number in number
105 );
106 --
107 end IRC_LOCATION_CRITERIA_VAL_API;