1 PACKAGE IBE_JTA_INTEGRATION_GRP AS
2 /* $Header: IBEVUREJS.pls 120.0.12010000.1 2008/07/28 11:39:48 appldev ship $ */
3
4
5 G_USERTYPEREG_ID CONSTANT VARCHAR2(30):= 'USERTYPEREG_ID';
6 G_USERTYPE_KEY CONSTANT VARCHAR2(30):= 'USER_TYPE_KEY';
7 G_USERTYPE_APPID CONSTANT VARCHAR2(30):= 'APPID';
8 G_USER_CUSTOMER_ID CONSTANT VARCHAR2(30):= 'CUSTOMER_ID';
9 G_USER_PERSON_PARTY_ID CONSTANT VARCHAR2(30):= 'PERSON_PARTY_ID';
10
11
12 /*+====================================================================
13 | FUNCTION NAME
14 | postRejection
15 |
16 | DESCRIPTION
17 | This function is seeded as a subscription to the rejection event
18 |
19 | USAGE
20 | - Inactivates the contact associated with the rejected username.
21 |
22 | REFERENCED APIS
23 | This API calls the following APIs
24 | - ibe_party_v2pvt.Update_Party_Status
25 | - PRM_USER_PVT.INACTIVATEPARTNERUSER
26 +======================================================================*/
27
28 FUNCTION postRejection(
29 p_subscription_guid IN RAW,
30 p_event IN OUT NOCOPY wf_event_t)
31 RETURN VARCHAR2;
32
33
34 /*+====================================================================
35 | FUNCTION NAME
36 | getIsUserCompanyToBeExpired
37 |
38 | DESCRIPTION
39 | This API is called by postRejection
40 |
41 | USAGE
42 | - To determine if Company details are also to be inactivated?
43 |
44 | REFERENCED APIS
45 +======================================================================*/
46
47 FUNCTION getIsUserCompanyToBeExpired(
48 p_contact_party_id IN NUMBER)
49 RETURN VARCHAR2;
50
51
52 /*+====================================================================
53 | FUNCTION NAME
54 | getIsPartialRegistrationUser
55 |
56 | DESCRIPTION
57 | This API is called by postRejection
58 |
59 | USAGE
60 | - Determines whether the user under rejection had registered
61 | using one of the partial registration usertypes
62 |
63 | REFERENCED APIS
64 +======================================================================*/
65
66 FUNCTION getIsPartialRegistrationUser(
67 p_user_reg_id IN NUMBER)
68 RETURN VARCHAR2;
69
70
71 /*+====================================================================
72 | FUNCTION NAME
73 | getIsPartnerUser
74 |
75 | DESCRIPTION
76 | This API is called by postRejection
77 |
78 | USAGE
79 | - Determines whether the user under rejection had registered
80 | using one of the partner registration usertypes
81 |
82 | REFERENCED APIS
83 +======================================================================*/
84
85 FUNCTION getIsPartnerUser(
86 p_user_reg_id IN NUMBER)
87 RETURN VARCHAR2;
88
89 END IBE_JTA_INTEGRATION_GRP;