DBA Data[Home] [Help]

PACKAGE: APPS.IBC_CITEM_PREVIEW_GRP

Source


1 PACKAGE IBC_CITEM_PREVIEW_GRP AUTHID CURRENT_USER as
2 /* $Header: ibcgcips.pls 115.4 2003/11/13 21:07:32 vicho ship $ */
3 
4 -----------------------------------------
5 -- Global Variables
6 -----------------------------------------
7 -- The latest versions of the item's components will be retrieved, even
8 -- if they are not yet approved, for preview purposes.
9 G_LATEST_COMP_VERSIONS	CONSTANT CHAR(20) := 'LATEST_COMP_VERSIONS';
10 
11 -- The live versions of the item's components will be retrieved for
12 -- preview purposes.
13 G_LIVE_COMP_VERSIONS	CONSTANT CHAR(18) := 'LIVE_COMP_VERSIONS';
14 
15 -- The default versions of the item's components.
16 G_DEFAULT_COMP_VERSIONS	CONSTANT CHAR(21) := 'DEFAULT_COMP_VERSIONS';
17 
18 
19 --------------------------------------------------------------------------------
20 -- Start of comments
21 --    API name   : Preview_Citem_Basic_Xml
22 --    Type       : Group
23 --    Pre-reqs   : None
24 --    Function   : Return a particular version of a content item with
25 --		   basic data as an XML Document for preview purposes.
26 --		   The item's compounded items are returned as references
27 --		   in the Xml.
28 --    Parameters :
29 --    IN         : p_api_version                IN  NUMBER    Required
30 --                 p_init_msg_list              IN  VARCHAR2  Optional
31 --                        Default = FND_API.G_FALSE
32 --		   p_content_item_id		IN  NUMBER    Required
33 --		   p_citem_version_id		IN  NUMBER    Required
34 --		   p_lang_code			IN  VARCHAR2  Optional
35 --                        DEFAULT NULL
36 --    OUT        : x_return_status              OUT VARCHAR2
37 --                 x_msg_count                  OUT NUMBER
38 --                 x_msg_data                   OUT VARCHAR2
39 --		   x_content_item_xml		OUT CLOB
40 --------------------------------------------------------------------------------
41 PROCEDURE Preview_Citem_Basic_Xml (
42 	p_api_version          	IN    	NUMBER,
43         p_init_msg_list        	IN    	VARCHAR2 DEFAULT FND_API.G_FALSE,
44 	p_content_item_id	IN	NUMBER,
45 	p_citem_version_id	IN	NUMBER,
46 	p_lang_code		IN	VARCHAR2 DEFAULT NULL,
47 	x_return_status        	OUT NOCOPY   	VARCHAR2,
48         x_msg_count            	OUT NOCOPY    	NUMBER,
49         x_msg_data             	OUT NOCOPY   	VARCHAR2,
50 	x_content_item_xml	OUT NOCOPY	CLOB
51 );
52 
53 
54 --------------------------------------------------------------------------------
55 -- Start of comments
56 --    API name   : Preview_Citem_Deep_Xml
57 --    Type       : Group
58 --    Pre-reqs   : None
59 --    Function   : Return a particular version of a content item with
60 --		   full data as an XML Document for preview purposes.
61 --		   The latest versions or the live versions of the item's
62 --		   components are retrieved, depending on the value of p_preview_mode.
63 --		   The item's component items are fully expanded in
64 --		   the Xml rather than as references. If the item's component
65 --		   in turn has some other components, they will be fully expanded
66 --		   also.
67 --    Parameters :
68 --    IN         : p_api_version                IN  NUMBER    Required
69 --                 p_init_msg_list              IN  VARCHAR2  Optional
70 --                        Default = FND_API.G_FALSE
71 --		   p_content_item_id		IN  NUMBER    Required
72 --		   p_citem_version_id		IN  NUMBER    Required
73 --		   p_lang_code			IN  VARCHAR2  Optional
74 --                        DEFAULT NULL
75 --		   p_preview_mode		IN  VARCHAR2  Optional
76 --			  Default = G_LATEST_COMP_VERSIONS
77 --    OUT        : x_return_status              OUT VARCHAR2
78 --                 x_msg_count                  OUT NUMBER
79 --                 x_msg_data                   OUT VARCHAR2
80 --		   x_content_item_xml		OUT CLOB
81 --	           x_num_levels_loaded		OUT NUMBER
82 --------------------------------------------------------------------------------
83 PROCEDURE Preview_Citem_Deep_Xml (
84 	p_api_version          	IN    	NUMBER,
85         p_init_msg_list        	IN    	VARCHAR2 DEFAULT FND_API.G_FALSE,
86 	p_content_item_id	IN	NUMBER,
87 	p_citem_version_id	IN	NUMBER,
88 	p_lang_code		IN	VARCHAR2 DEFAULT NULL,
89 	p_preview_mode		IN	VARCHAR2 DEFAULT G_LATEST_COMP_VERSIONS,
90 	x_return_status        	OUT NOCOPY   	VARCHAR2,
91         x_msg_count            	OUT NOCOPY    	NUMBER,
92         x_msg_data             	OUT NOCOPY   	VARCHAR2,
93 	x_content_item_xml	OUT NOCOPY	CLOB,
94 	x_num_levels_loaded	OUT NOCOPY	NUMBER
95 );
96 
97 
98 END IBC_CITEM_PREVIEW_GRP;