DBA Data[Home] [Help]

APPS.WF_LOCAL_SYNCH dependencies on WF_ROLE_HIERARCHY

Line 1851: -- Call CreateSession from WF_ROLE_HIERARCHY.AddRelationship

1847: last_update_date=>g_lastUpdateDate );
1848:
1849: --Add this role to the cache of newly created roles.
1850: if (g_trustedRoles.COUNT = 0) then
1851: -- Call CreateSession from WF_ROLE_HIERARCHY.AddRelationship
1852: -- instead of here
1853: -- g_trustTimeStamp := WF_ROLE_HIERARCHY.CreateSession;
1854: g_trustedRoles(0) := g_name;
1855: else

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

1849: --Add this role to the cache of newly created roles.
1850: if (g_trustedRoles.COUNT = 0) then
1851: -- Call CreateSession from WF_ROLE_HIERARCHY.AddRelationship
1852: -- instead of here
1853: -- g_trustTimeStamp := WF_ROLE_HIERARCHY.CreateSession;
1854: g_trustedRoles(0) := g_name;
1855: else
1856: g_trustedRoles(g_trustedRoles.LAST + 1) := g_name;
1857: end if;

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

2715: --when you try to sync and the base orig system is
2716: --Hierarchy enabled
2717: WF_DIRECTORY.AssignPartition(origsys.name,
2718: l_partitionID, l_partitionName);
2719: if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(l_partitionName)) then
2720: syncRoles(origsys.name);
2721: syncUserRoles(origsys.name);
2722: end if;
2723:

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

2752: --
2753: --If the orig system is hierarchy enabled, it cannot bulk synchronize
2754:
2755: --ie resolve the assigned partition and then check.
2756: --if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(p_orig_system)) then
2757:
2758: --Bug 3585554
2759: --Check if this orig system is attached to another
2760: --one eg : PER to fnd_usr

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

2762: --when you try to sync and the base orig system is
2763: --Hierarchy enabled
2764: WF_DIRECTORY.AssignPartition(p_orig_system,
2765: l_partitionID, l_partitionName);
2766: if NOT (WF_ROLE_HIERARCHY.HierarchyEnabled(l_partitionName)) then
2767: syncRoles(p_orig_system);
2768: syncUserRoles(p_orig_system);
2769: else
2770: WF_CORE.Token('ORIG_SYSTEM', p_orig_system);

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

2868: FUNCTION CheckCache (p_role_name in VARCHAR2) return boolean
2869: is
2870: roleIND PLS_INTEGER;
2871: begin
2872: if NOT (WF_ROLE_HIERARCHY.validateSession(g_trustTimeStamp)) then
2873: g_trustedRoles.DELETE;
2874: return FALSE;
2875: end if;
2876: