DBA Data[Home] [Help]

PACKAGE: APPS.UMX_REG_FLOW_PVT

Source


1 PACKAGE UMX_REG_FLOW_PVT AUTHID CURRENT_USER as
2 /* $Header: UMXPRFWS.pls 115.1 2004/08/09 22:20:54 kchervel noship $ */
3 -- Start of Comments
4 -- Package name     : UMX_REG_FLOW_PVT
5 -- Purpose          : generate URL
6 -- History          :
7 
8 -- KCHERVEL  12/03/01  Created
9 -- NOTE             :
10 -- End of Comments
11 
12 /** record type for holding name , value pairs
13  */
14 type paramsRecType is record
15   (
16      paramName               wf_item_attributes.name%TYPE := null,
17      paramValue              wf_item_attributes.text_Default%TYPE := null
18   );
19 
20 type paramsTabType is table of paramsRecType
21     index by binary_integer;
22 
23 Default_paramTab paramsTabType;
24 
25 /**
26     *
27     *  @param regSrv indicates the registration service for which the registration request is being made
28     *  @param htmlParams  parameters required to be passed through the URL for rendering the page. These parameters are not added to regBean.
29     *  @param regParams   registration parameters. These parameters are serialized and encrypted before passing them to the createExecLink. These are the only parameters added to RegBean.
30     *  @param target   target page. This is the page to forward to once the registration is complete. The target parameter is passed to page 3 discussed above. It is not encrypted and will not be automatically added to the RegBean.
31     * Teams should keep track of this parameter and forward to this page once registration is complete.
32     *  @param URLOnly if not 'Y' returns a href link to run the function
33     *  @param linkName name of the link if a href link is generated
34     *
35     *  @return URL for running the user registration page with all parameters encrypted
36     *
37  * This method uses
38 
39  JTF_DBSTREAM_UTILS.writeString(s) to serialize the name, value pairs
40 ICX_PORTLET.createExecLink() to generate the required URL passing the delimited string as a parameter UMXRegParams
41  */
42 function  generateRegistrationURL (p_regSrv      in varchar2,
43                                    p_htmlParams  in paramsTabType := default_paramtab,
44                                    p_regParams   in paramsTabType := default_paramtab,
45                                    p_target      in varchar2,
46                                    p_url_only  in varchar2 := 'Y' ,
47                                    p_linkName in varchar2 := null)  return varchar2;
48 
49 function  generateRegistrationURL (p_regSrv           in varchar2,
50                                    p_delimHtmlParams  in varchar2,
51                                    p_delimRegParams   in varchar2,
52                                    p_target           in varchar2,
53                                    p_url_only         in varchar2 := 'Y' ,
54                                    p_linkName in varchar2 := null)  return varchar2;
55 
56 procedure getDelimitedString(p_string in varchar2,
57                              x_delimitedString out NOCOPY varchar2);
58 function  genRegistrationURL (p_regSrv      in varchar2,
59                               p_target      in varchar2,
60                               p_url_only  in varchar2 := 'Y' ,
61                               p_linkName in varchar2 := null)  return varchar2;
62 /* wrapper on createExecLink with app as FND, resp as -1 */
63 function  generateURL (p_function_name in varchar2,
64                   p_parameters    in varchar2,
65                   p_target           in varchar2,
66                   p_url_only         in varchar2 := 'Y' ,
67                   p_linkName in varchar2 := null)  return varchar2;
68 End UMX_REG_FLOW_PVT;