1 Package irc_document_swi As
2 /* $Header: iridoswi.pkh 120.0.12000000.2 2007/03/23 10:39:05 vboggava noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |----------------------------< create_document >---------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of comments}
7 --
8 -- Description:
9 -- This procedure is the self-service wrapper procedure to the following
10 -- API: irc_document_api.create_document
11 --
12 -- Pre-requisites
13 -- All 'IN' parameters to this procedure have been appropriately derived.
14 --
15 -- Post Success:
16 -- p_return_status will return value indicating success.
17 --
18 -- Post Failure:
19 -- p_return_status will return value indication failure.
20 --
21 -- Access Status:
22 -- Internal Development use only.
23 --
24 -- {End of comments}
25 -- ----------------------------------------------------------------------------
26 PROCEDURE create_document
27 (p_validate in number default hr_api.g_false_num
28 ,p_effective_date in date
29 ,p_type in varchar2
30 ,p_person_id in number
31 ,p_mime_type in varchar2
32 ,p_assignment_id in number default null
33 ,p_file_name in varchar2 default null
34 ,p_description in varchar2 default null
35 ,p_document_id in number
36 ,p_end_date in date default null
37 ,p_object_version_number out nocopy number
38 ,p_return_status out nocopy varchar2
39 );
40 -- ----------------------------------------------------------------------------
41 -- |----------------------------< delete_document >---------------------------|
42 -- ----------------------------------------------------------------------------
43 -- {Start of comments}
44 --
45 -- Description:
46 -- This procedure is the self-service wrapper procedure to the following
47 -- API: irc_document_api.delete_document
48 --
49 -- Pre-requisites
50 -- All 'IN' parameters to this procedure have been appropriately derived.
51 --
52 -- Post Success:
53 -- p_return_status will return value indicating success.
54 --
55 -- Post Failure:
56 -- p_return_status will return value indication failure.
57 --
58 -- Access Status:
59 -- Internal Development use only.
60 --
61 -- {End of comments}
62 -- ----------------------------------------------------------------------------
63 PROCEDURE delete_document
64 (p_validate in number default hr_api.g_false_num
65 ,p_effective_date in date
66 ,p_document_id in number
67 ,p_object_version_number in number
68 ,p_person_id in number
69 ,p_party_id in number
70 ,p_end_date In Date
71 ,p_type in varchar2
72 ,p_return_status out nocopy varchar2
73 );
74 -- ----------------------------------------------------------------------------
75 -- |----------------------------< update_document >---------------------------|
76 -- ----------------------------------------------------------------------------
77 -- {Start of comments}
78 --
79 -- Description:
80 -- This procedure is the self-service wrapper procedure to the following
81 -- API: irc_document_api.update_document
82 --
83 -- Pre-requisites
84 -- All 'IN' parameters to this procedure have been appropriately derived.
85 --
86 -- Post Success:
87 -- p_return_status will return value indicating success.
88 --
89 -- Post Failure:
90 -- p_return_status will return value indication failure.
91 --
92 -- Access Status:
93 -- Internal Development use only.
94 --
95 -- {End of comments}
96 -- ----------------------------------------------------------------------------
97 PROCEDURE update_document
98 (p_validate in number default hr_api.g_false_num
99 ,p_effective_date in date
100 ,p_document_id in number
101 ,p_mime_type in varchar2 default hr_api.g_varchar2
102 ,p_type in varchar2 default hr_api.g_varchar2
103 ,p_file_name in varchar2 default hr_api.g_varchar2
104 ,p_description in varchar2 default hr_api.g_varchar2
105 ,p_person_id In number default hr_api.g_number
106 ,p_party_id in number default hr_api.g_number
107 ,p_end_date In Date default hr_api.g_date
108 ,p_assignment_id In number default hr_api.g_number
109 ,p_object_version_number in out nocopy number
110 ,p_new_doc_id out nocopy number
111 ,p_return_status out nocopy varchar2
112 );
113 end irc_document_swi;