1 Package ota_cert_member_api AUTHID CURRENT_USER as
2 /* $Header: otcmbapi.pkh 120.3 2006/07/13 11:48:43 niarora noship $ */
3 /*#
4 * This package contains learning certification member APIs.
5 * @rep:scope public
6 * @rep:product OTA
7 * @rep:displayname Certification Member
8 */
9 --
10 -- ----------------------------------------------------------------------------
11 -- |-----------------------< create_certification_member >--------------------|
12 -- ----------------------------------------------------------------------------
13 --
14 -- {Start Of Comments}
15 /*#
16 * This API creates the certification member.
17 *
18 *
19 * <p><b>Licensing</b><br>
20 * This API is licensed for use with Learning Management.
21 *
22 * <p><b>Prerequisites</b><br>
23 * Learning certification record must exist.
24 *
25 * <p><b>Post Success</b><br>
26 * The certification member is created successfully.
27 *
28 * <p><b>Post Failure</b><br>
29 * The API does not create a certification member record, and raises an error.
30 *
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_effective_date Reference date for validating that lookup values
35 * are applicable during the start to end active date range. This date does
36 * not determine when the changes take effect.
37 * @param p_certification_id The unique identifier for the parent certification record.
38 * @param p_object_id The unique identifier for the catalog object, Course.
39 * @param p_object_type Object type for the certification member. Valid values are
40 * defined by 'OTA_OBJECT_TYPE' lookup type.
41 * @param p_member_sequence The sequence number of the member under certification.
42 * @param p_business_group_id The business group owning the certification member record of the certification.
43 * @param p_start_date_active From this date the object would become active.
44 * @param p_end_date_active After this date the object would no longer be active.
45 * @param p_attribute_category This context value determines which flexfield
46 * structure to use with the descriptive flexfield segments.
47 * @param p_attribute1 Descriptive flexfield segment.
48 * @param p_attribute2 Descriptive flexfield segment.
49 * @param p_attribute3 Descriptive flexfield segment.
50 * @param p_attribute4 Descriptive flexfield segment.
51 * @param p_attribute5 Descriptive flexfield segment.
52 * @param p_attribute6 Descriptive flexfield segment.
53 * @param p_attribute7 Descriptive flexfield segment.
54 * @param p_attribute8 Descriptive flexfield segment.
55 * @param p_attribute9 Descriptive flexfield segment.
56 * @param p_attribute10 Descriptive flexfield segment.
57 * @param p_attribute11 Descriptive flexfield segment.
58 * @param p_attribute12 Descriptive flexfield segment.
59 * @param p_attribute13 Descriptive flexfield segment.
60 * @param p_attribute14 Descriptive flexfield segment.
61 * @param p_attribute15 Descriptive flexfield segment.
62 * @param p_attribute16 Descriptive flexfield segment.
63 * @param p_attribute17 Descriptive flexfield segment.
64 * @param p_attribute18 Descriptive flexfield segment.
65 * @param p_attribute19 Descriptive flexfield segment.
66 * @param p_attribute20 Descriptive flexfield segment.
67 * @param p_certification_member_id The unique identifier for the certification member record.
68 * @param p_object_version_number If p_validate is false, then set to the version number of the
69 * created certification member. If p_validate is true, then the value will be null.
70 * @rep:displayname Create Certification Member
71 * @rep:category BUSINESS_ENTITY OTA_CERTIFICATION
72 * @rep:lifecycle active
73 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
74 * @rep:scope public
75 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
76 */
77 --
78 -- {End Of Comments}
79 --
80 procedure create_certification_member
81 (p_validate in boolean default false
82 ,p_effective_date in date
83 ,p_certification_id in number
84 ,p_object_id in number
85 ,p_object_type in varchar2
86 ,p_member_sequence in number
87 ,p_business_group_id in number
88 ,p_start_date_active in date default null
89 ,p_end_date_active in date default null
90 ,p_attribute_category in varchar2 default null
91 ,p_attribute1 in varchar2 default null
92 ,p_attribute2 in varchar2 default null
93 ,p_attribute3 in varchar2 default null
94 ,p_attribute4 in varchar2 default null
95 ,p_attribute5 in varchar2 default null
96 ,p_attribute6 in varchar2 default null
97 ,p_attribute7 in varchar2 default null
98 ,p_attribute8 in varchar2 default null
99 ,p_attribute9 in varchar2 default null
100 ,p_attribute10 in varchar2 default null
101 ,p_attribute11 in varchar2 default null
102 ,p_attribute12 in varchar2 default null
103 ,p_attribute13 in varchar2 default null
104 ,p_attribute14 in varchar2 default null
105 ,p_attribute15 in varchar2 default null
106 ,p_attribute16 in varchar2 default null
107 ,p_attribute17 in varchar2 default null
108 ,p_attribute18 in varchar2 default null
109 ,p_attribute19 in varchar2 default null
110 ,p_attribute20 in varchar2 default null
111 ,p_certification_member_id out nocopy number
112 ,p_object_version_number out nocopy number
113 );
114
115 --
116 -- ----------------------------------------------------------------------------
117 -- |-----------------------< update_certification_member >--------------------|
118 -- ----------------------------------------------------------------------------
119 --
120 -- {Start Of Comments}
121 /*#
122 * This API updates the certification member.
123 *
124 *
125 * <p><b>Licensing</b><br>
126 * This API is licensed for use with Learning Management.
127 *
128 * <p><b>Prerequisites</b><br>
129 * The certification member record with the given object version number should exist.
130 *
131 * <p><b>Post Success</b><br>
132 * The certification member is updated successfully.
133 *
134 * <p><b>Post Failure</b><br>
135 * The API does not update the certification member record, and raises an error.
136 *
137 * @param p_validate If true, then validation alone will be performed and the
138 * database will remain unchanged. If false and all validation checks pass,
139 * then the database will be modified.
140 * @param p_effective_date Reference date for validating that lookup values are
141 * applicable during the start to end active date range. This date does not
142 * determine when the changes take effect.
143 * @param p_certification_member_id The unique identifier for the certification member record.
144 * @param p_object_version_number Passes in the current version number of the certification
145 * member to be updated. When the API completes if p_validate is false, will be set to the
146 * new version number of the updated certification member. If p_validate is true will be set
147 * to the same value which was passed in.
148 * @param p_object_id The unique identifier for the catalog object, Course.
149 * @param p_object_type Object type for the certification member. Valid values are defined
150 * by 'OTA_OBJECT_TYPE' lookup type.
151 * @param p_member_sequence The sequence number of the member under certification.
152 * @param p_start_date_active From this date the object becomes active.
153 * @param p_end_date_active After this date the object is no longer active.
154 * @param p_attribute_category This context value determines which flexfield
155 * structure to use with the descriptive flexfield segments.
156 * @param p_attribute1 Descriptive flexfield segment.
157 * @param p_attribute2 Descriptive flexfield segment.
158 * @param p_attribute3 Descriptive flexfield segment.
159 * @param p_attribute4 Descriptive flexfield segment.
160 * @param p_attribute5 Descriptive flexfield segment.
161 * @param p_attribute6 Descriptive flexfield segment.
162 * @param p_attribute7 Descriptive flexfield segment.
163 * @param p_attribute8 Descriptive flexfield segment.
164 * @param p_attribute9 Descriptive flexfield segment.
165 * @param p_attribute10 Descriptive flexfield segment.
166 * @param p_attribute11 Descriptive flexfield segment.
167 * @param p_attribute12 Descriptive flexfield segment.
168 * @param p_attribute13 Descriptive flexfield segment.
169 * @param p_attribute14 Descriptive flexfield segment.
170 * @param p_attribute15 Descriptive flexfield segment.
171 * @param p_attribute16 Descriptive flexfield segment.
172 * @param p_attribute17 Descriptive flexfield segment.
173 * @param p_attribute18 Descriptive flexfield segment.
174 * @param p_attribute19 Descriptive flexfield segment.
175 * @param p_attribute20 Descriptive flexfield segment.
176 * @rep:displayname Update Certification Member
177 * @rep:category BUSINESS_ENTITY OTA_CERTIFICATION
178 * @rep:lifecycle active
179 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
180 * @rep:scope public
181 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
182 */
183 --
184 -- {End Of Comments}
185 --
186 procedure update_certification_member
187 (p_validate in boolean default false
188 ,p_effective_date in date
189 ,p_certification_member_id in number
190 ,p_object_version_number in out nocopy number
191 ,p_object_id in number
195 ,p_end_date_active in date default null
192 ,p_object_type in varchar2
193 ,p_member_sequence in number
194 ,p_start_date_active in date default null
196 ,p_attribute_category in varchar2 default null
197 ,p_attribute1 in varchar2 default null
198 ,p_attribute2 in varchar2 default null
199 ,p_attribute3 in varchar2 default null
200 ,p_attribute4 in varchar2 default null
201 ,p_attribute5 in varchar2 default null
202 ,p_attribute6 in varchar2 default null
203 ,p_attribute7 in varchar2 default null
204 ,p_attribute8 in varchar2 default null
205 ,p_attribute9 in varchar2 default null
206 ,p_attribute10 in varchar2 default null
207 ,p_attribute11 in varchar2 default null
208 ,p_attribute12 in varchar2 default null
209 ,p_attribute13 in varchar2 default null
210 ,p_attribute14 in varchar2 default null
211 ,p_attribute15 in varchar2 default null
212 ,p_attribute16 in varchar2 default null
213 ,p_attribute17 in varchar2 default null
214 ,p_attribute18 in varchar2 default null
215 ,p_attribute19 in varchar2 default null
216 ,p_attribute20 in varchar2 default null
217 );
218
219 --
220 -- ----------------------------------------------------------------------------
221 -- |-----------------------< delete_certification_member >--------------------|
222 -- ----------------------------------------------------------------------------
223 --
224 -- {Start Of Comments}
225 /*#
226 * This API deletes the certification member.
227 *
228 *
229 * <p><b>Licensing</b><br>
230 * This API is licensed for use with Learning Management.
231 *
232 * <p><b>Prerequisites</b><br>
233 * The certification member record with the given object version number should exist.
234 *
235 * <p><b>Post Success</b><br>
236 * The certification member is deleted successfully.
237 *
238 * <p><b>Post Failure</b><br>
239 * The API does not delete the certification member record, and raises an error.
240 *
241 * @param p_validate If true, then validation alone will be performed and the
242 * database will remain unchanged. If false and all validation checks pass,
243 * then the database will be modified.
244 * @param p_certification_member_id The unique identifier for the certification member record.
245 * @param p_object_version_number Current version number of the certification member to be deleted.
246 * @rep:displayname Delete Certification Member
247 * @rep:category BUSINESS_ENTITY OTA_CERTIFICATION
248 * @rep:lifecycle active
249 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
250 * @rep:scope public
251 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
252 */
253 --
254 -- {End Of Comments}
255 --
256
257 procedure delete_certification_member
258 (p_validate in boolean default false
259 ,p_certification_member_id in number
260 ,p_object_version_number in number
261 );
262 end ota_cert_member_api;