DBA Data[Home] [Help]

PACKAGE: APPS.HR_EAP_INS

Source


1 Package hr_eap_ins AUTHID CURRENT_USER as
2 /* $Header: hreaprhi.pkh 120.0 2005/05/30 23:58 appldev noship $ */
3 -- ----------------------------------------------------------------------------
4 -- |----------------------------< register >----------------------------------|
5 -- ----------------------------------------------------------------------------
6 -- {Start of Comments}
7 -- Description:
8 --   This procedure is called to register the external application in SSO
9 --   schema
10 --
11 -- Prerequisites:
12 --
13 -- In Parameters:
14 --   p_app_code       IN   external app code
15 --   p_apptype        IN   application type
16 --   p_appurl         IN   URL for external application
17 --   p_logout_url     IN   URL for external application to logout
18 --   p_userfld        IN   name of user field
19 --   p_pwdfld         IN   name of password field
20 --   p_authused       IN   type of authentication used
21 --   p_fnameN         IN   additional names  (N=1..9)
22 --   p_fvalN          IN   additional values (N=1..9)
23 --
24 -- Post Success:
25 -- External application is registered in SSO schema.
26 --
27 -- Post Failure:
28 --   An application error is raised if in case of failure
29 --
30 -- Developer Implementation Notes:
31 --   None.
32 --
33 -- Access Status:
34 --   Internal Development Use Only.
35 --
36 -- {End of Comments}
37 -- ----------------------------------------------------------------------------
38 procedure register
39  (      p_app_code       IN VARCHAR2,
40         p_apptype        IN VARCHAR2,
41         p_appurl         IN VARCHAR2,
42         p_logout_url     IN VARCHAR2,
43         p_userfld        IN VARCHAR2,
44         p_pwdfld         IN VARCHAR2,
45         p_authused       IN VARCHAR2,
46         p_fname1         IN VARCHAR2 DEFAULT NULL,
47         p_fval1          IN VARCHAR2 DEFAULT NULL,
48         p_fname2         IN VARCHAR2 DEFAULT NULL,
49         p_fval2          IN VARCHAR2 DEFAULT NULL,
50         p_fname3         IN VARCHAR2 DEFAULT NULL,
51         p_fval3          IN VARCHAR2 DEFAULT NULL,
52         p_fname4         IN VARCHAR2 DEFAULT NULL,
53         p_fval4          IN VARCHAR2 DEFAULT NULL,
54         p_fname5         IN VARCHAR2 DEFAULT NULL,
55         p_fval5          IN VARCHAR2 DEFAULT NULL,
56         p_fname6         IN VARCHAR2 DEFAULT NULL,
57         p_fval6          IN VARCHAR2 DEFAULT NULL,
58         p_fname7         IN VARCHAR2 DEFAULT NULL,
59         p_fval7          IN VARCHAR2 DEFAULT NULL,
60         p_fname8         IN VARCHAR2 DEFAULT NULL,
61         p_fval8          IN VARCHAR2 DEFAULT NULL,
62         p_fname9         IN VARCHAR2 DEFAULT NULL,
63         p_fval9          IN VARCHAR2 DEFAULT NULL,
64         p_ki_app_id      out nocopy number
65         );
66 
67 --
68 
69 -- ----------------------------------------------------------------------------
70 -- |------------------------< set_base_key_value >----------------------------|
71 -- ----------------------------------------------------------------------------
72 -- {Start of Comments}
73 -- Description:
74 --   This procedure is called to register the next ID value from the database
75 --   sequence.
76 --
77 -- Prerequisites:
78 --
79 -- In Parameters:
80 --   Primary Key
81 --
82 -- Post Success:
83 --
84 -- Post Failure:
85 --
86 -- Developer Implementation Notes:
87 --   None.
88 --
89 -- Access Status:
90 --   Internal Development Use Only.
91 --
92 -- {End of Comments}
93 -- ----------------------------------------------------------------------------
94 procedure set_base_key_value
95   (p_ext_application_id  in  number);
96 --
97 -- ----------------------------------------------------------------------------
98 -- |---------------------------------< ins >----------------------------------|
99 -- ----------------------------------------------------------------------------
100 -- {Start Of Comments}
101 --
102 -- Description:
103 --   This procedure is the record interface for the insert process
104 --   for the specified entity. The role of this process is to insert a fully
105 --   validated row, into the HR schema passing back to  the calling process,
106 --   any system generated values (e.g. primary and object version number
107 --   attributes). This process is the main backbone of the ins
108 --   process. The processing of this procedure is as follows:
109 --   1) The controlling validation process insert_validate is executed
110 --      which will execute all private and public validation business rule
111 --      processes.
112 --   2) The pre_insert business process is then executed which enables any
113 --      logic to be processed before the insert dml process is executed.
114 --   3) The insert_dml process will physical perform the insert dml into the
115 --      specified entity.
116 --   4) The post_insert business process is then executed which enables any
117 --      logic to be processed after the insert dml process.
118 --
119 -- Prerequisites:
120 --   The main parameters to the this process have to be in the record
121 --   format.
122 --
123 -- In Parameters:
124 --
125 -- Post Success:
126 --   A fully validated row will be inserted into the specified entity
127 --   without being committed.
128 --
129 -- Post Failure:
130 --   If an error has occurred, an error message will be raised.
131 --
132 -- Developer Implementation Notes:
133 --   None.
134 --
135 -- Access Status:
136 --   Internal Development Use Only.
137 --
138 -- {End Of Comments}
139 -- ----------------------------------------------------------------------------
140 Procedure ins
141   (p_rec                      in out nocopy hr_eap_shd.g_rec_type
142   );
143 --
144 -- ----------------------------------------------------------------------------
145 -- |---------------------------------< ins >----------------------------------|
146 -- ----------------------------------------------------------------------------
147 -- {Start Of Comments}
148 --
149 -- Description:
150 --   This procedure is the attribute interface for the insert
151 --   process for the specified entity and is the outermost layer. The role
152 --   of this process is to insert a fully validated row into the HR schema
153 --   passing back to the calling process, any system generated values
154 --   (e.g. object version number attributes).The processing of this
155 --   procedure is as follows:
156 --   1) The attributes are converted into a local record structure by
157 --      calling the convert_args function.
158 --   2) After the conversion has taken place, the corresponding record ins
159 --      interface process is executed.
160 --   3) OUT parameters are then set to their corresponding record attributes.
161 --
162 -- Prerequisites:
163 --
164 -- In Parameters:
165 --
166 -- Post Success:
167 --   A fully validated row will be inserted for the specified entity
168 --   without being committed.
169 --
170 -- Post Failure:
171 --   If an error has occurred, an error message will be raised.
172 --
173 -- Developer Implementation Notes:
174 --   None.
175 --
176 -- Access Status:
177 --   Internal Development Use Only.
178 --
179 -- {End Of Comments}
180 -- ----------------------------------------------------------------------------
181 Procedure ins
182   (p_external_application_name      in     varchar2
183   ,p_external_application_id        in     varchar2
184   ,p_ext_application_id                out nocopy number
185   );
186 --
187 end hr_eap_ins;