1 Package pqh_ttl_ins as
2 /* $Header: pqttlrhi.pkh 120.1 2005/08/06 13:15:26 srajakum noship $ */
3
4 --
5 -- ----------------------------------------------------------------------------
6 -- |---------------------------------< ins >----------------------------------|
7 -- ----------------------------------------------------------------------------
8 -- {Start Of Comments}
9 --
10 -- Description:
11 -- This procedure is the record interface for the insert process
12 -- for the specified entity. The role of this process is to insert a fully
13 -- validated row, into the HR schema passing back to the calling process,
14 -- any system generated values (e.g. primary and object version number
15 -- attributes). This process is the main backbone of the ins
16 -- process. The processing of this procedure is as follows:
17 -- 1) The controlling validation process insert_validate is executed
18 -- which will execute all private and public validation business rule
19 -- processes.
20 -- 2) The pre_insert business process is then executed which enables any
21 -- logic to be processed before the insert dml process is executed.
22 -- 3) The insert_dml process will physical perform the insert dml into the
23 -- specified entity.
24 -- 4) The post_insert business process is then executed which enables any
25 -- logic to be processed after the insert dml process.
26 --
27 -- Prerequisites:
28 -- The main parameters to the this process have to be in the record
29 -- format.
30 --
31 -- In Parameters:
32 --
33 -- Post Success:
34 -- A fully validated row will be inserted into the specified entity
35 -- without being committed.
36 --
37 -- Post Failure:
38 -- If an error has occurred, an error message will be supplied with the work
39 -- rolled back.
40 --
41 -- Developer Implementation Notes:
42 -- None.
43 --
44 -- Access Status:
45 -- Internal Development Use Only.
46 --
47 -- {End Of Comments}
48 -- ----------------------------------------------------------------------------
49 /**
50 Procedure ins
51 (
52 p_rec in out nocopy pqh_ttl_shd.g_rec_type
53 );
54 **/
55 --
56 -- ----------------------------------------------------------------------------
57 -- |---------------------------------< ins >----------------------------------|
58 -- ----------------------------------------------------------------------------
59 -- {Start Of Comments}
60 --
61 -- Description:
62 -- This procedure is the attribute interface for the insert
63 -- process for the specified entity and is the outermost layer. The role
64 -- of this process is to insert a fully validated row into the HR schema
65 -- passing back to the calling process, any system generated values
66 -- (e.g. object version number attributes).The processing of this
67 -- procedure is as follows:
68 -- 1) The attributes are converted into a local record structure by
69 -- calling the convert_args function.
70 -- 2) After the conversion has taken place, the corresponding record ins
71 -- interface process is executed.
72 -- 3) OUT parameters are then set to their corresponding record attributes.
73 --
74 -- Prerequisites:
75 --
76 -- In Parameters:
77 --
78 -- Post Success:
79 -- A fully validated row will be inserted for the specified entity
80 -- without being committed.
81 --
82 -- Post Failure:
83 -- If an error has occurred, an error message will be supplied with the work
84 -- rolled back.
85 --
86 -- Developer Implementation Notes:
87 -- None.
88 --
89 -- Access Status:
90 -- Internal Development Use Only.
91 --
92 -- {End Of Comments}
93 -- ----------------------------------------------------------------------------
94 /**
95 Procedure ins
96 (
97 p_template_id out nocopy number,
98 p_template_name in varchar2,
99 p_language out nocopy varchar2,
100 p_source_lang in varchar2
101 );
102 **/
103 --
104 Procedure ins_tl
105 (
106 p_template_id in number,
107 p_language_code in varchar2,
108 p_template_name in varchar2
109 );
110 end pqh_ttl_ins;