DBA Data[Home] [Help]

APPS.WF_LOCAL_SYNCH dependencies on WF_ROLE_HIERARCHY

Line 1802: -- Call CreateSession from WF_ROLE_HIERARCHY.AddRelationship

1798: last_update_date=>g_lastUpdateDate );
1799:
1800: --Add this role to the cache of newly created roles.
1801: if (g_trustedRoles.COUNT = 0) then
1802: -- Call CreateSession from WF_ROLE_HIERARCHY.AddRelationship
1803: -- instead of here
1804: -- g_trustTimeStamp := WF_ROLE_HIERARCHY.CreateSession;
1805: g_trustedRoles(0) := g_name;
1806: else

Line 1804: -- g_trustTimeStamp := WF_ROLE_HIERARCHY.CreateSession;

1800: --Add this role to the cache of newly created roles.
1801: if (g_trustedRoles.COUNT = 0) then
1802: -- Call CreateSession from WF_ROLE_HIERARCHY.AddRelationship
1803: -- instead of here
1804: -- g_trustTimeStamp := WF_ROLE_HIERARCHY.CreateSession;
1805: g_trustedRoles(0) := g_name;
1806: else
1807: g_trustedRoles(g_trustedRoles.LAST + 1) := g_name;
1808: end if;

Line 2653: if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(l_partitionName)) then

2649: --when you try to sync and the base orig system is
2650: --Hierarchy enabled
2651: WF_DIRECTORY.AssignPartition(origsys.name,
2652: l_partitionID, l_partitionName);
2653: if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(l_partitionName)) then
2654: syncRoles(origsys.name);
2655: syncUserRoles(origsys.name);
2656: end if;
2657:

Line 2690: --if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(p_orig_system)) then

2686: --
2687: --If the orig system is hierarchy enabled, it cannot bulk synchronize
2688:
2689: --ie resolve the assigned partition and then check.
2690: --if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(p_orig_system)) then
2691:
2692: --Bug 3585554
2693: --Check if this orig system is attached to another
2694: --one eg : PER to fnd_usr

Line 2700: if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(l_partitionName)) then

2696: --when you try to sync and the base orig system is
2697: --Hierarchy enabled
2698: WF_DIRECTORY.AssignPartition(p_orig_system,
2699: l_partitionID, l_partitionName);
2700: if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(l_partitionName)) then
2701: syncRoles(p_orig_system);
2702: syncUserRoles(p_orig_system);
2703: else
2704: WF_CORE.Token('ORIG_SYSTEM', p_orig_system);

Line 2806: if NOT (WF_ROLE_HIERARCHY.validateSession(g_trustTimeStamp)) then

2802: FUNCTION CheckCache (p_role_name in VARCHAR2) return boolean
2803: is
2804: roleIND PLS_INTEGER;
2805: begin
2806: if NOT (WF_ROLE_HIERARCHY.validateSession(g_trustTimeStamp)) then
2807: g_trustedRoles.DELETE;
2808: return FALSE;
2809: end if;
2810: