DBA Data[Home] [Help]

APPS.WFA_HTML dependencies on WF_DIRECTORY

Line 418: Wf_Directory.GetRoleOrigSysInfo(recipient,ros,rosid);

414: if (recipient = username) then
415: ros := uos;
416: rosid := uosid;
417: else
418: Wf_Directory.GetRoleOrigSysInfo(recipient,ros,rosid);
419: end if;
420: else
421: ros := substr(recipient, 1, rolecolon-1);
422: rosid := to_number(substr(recipient, rolecolon+1));

Line 435: Wf_Directory.GetRoleOrigSysInfo(orig_recipient,oos,oosid);

431: elsif (orig_recipient = username) then
432: oos := uos;
433: oosid := uosid;
434: else
435: Wf_Directory.GetRoleOrigSysInfo(orig_recipient,oos,oosid);
436: end if;
437: else
438: oos := substr(orig_recipient, 1, origcolon-1);
439: oosid := to_number(substr(orig_recipient, origcolon+1));

Line 473: not Wf_Directory.IsPerformer(username, admin_role)) then

469: -- Check if current user has WF_ADMIN_ROLE privileges.
470: -- If so, allow access anyway.
471: admin_role := wf_core.translate('WF_ADMIN_ROLE');
472: if (admin_role <> '*' and
473: not Wf_Directory.IsPerformer(username, admin_role)) then
474: Wf_Core.Token('USER', username);
475: Wf_Core.Token('NID', to_char(nid));
476: Wf_Core.Raise('WFNTF_ACCESS_USER');
477: end if;

Line 683: Wf_Directory.GetRoleInfo(notrec.recipient_role, disprole, s0, s0, s0, s0);

679: if (notrec.language = userenv('LANG')) then
680: disprole := notrec.to_user;
681: l_subject := wf_core.substitutespecialchars(notrec.subject);
682: else
683: Wf_Directory.GetRoleInfo(notrec.recipient_role, disprole, s0, s0, s0, s0);
684: l_subject := Wf_Notification.GetSubject(to_number(nid));
685: end if;
686: titlerole := disprole;
687:

Line 1157: Wf_Directory.GetRoleInfo(recipient, realname, s0, s0, s0, s0);

1153: begin
1154: -- Authenticate user
1155: username := Wfa_Html.Authenticate(to_number(nid), nkey);
1156: Wf_Notification.GetInfo(to_number(nid), recipient, s0, s0, s0, s0, status);
1157: Wf_Directory.GetRoleInfo(recipient, realname, s0, s0, s0, s0);
1158:
1159: -- if nkey is not null, it is from email, and we need to create a pseudo
1160: -- session for it.
1161: if (nkey is not null) then

Line 1616: Wf_Directory.GetRoleInfo(recipient, realname, s0, s0, s0, s0);

1612: begin
1613: -- Authenticate user
1614: username := Wfa_Html.Authenticate(to_number(nid), nkey);
1615: Wf_Notification.GetInfo(to_number(nid), recipient, s0, s0, s0, s0, status);
1616: Wf_Directory.GetRoleInfo(recipient, realname, s0, s0, s0, s0);
1617:
1618: -- Get language codeset
1619: lang_codeset := substr(userenv('LANGUAGE'),instr(userenv('LANGUAGE'),'.')+1,
1620: length(userenv('LANGUAGE')));

Line 1994: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

1990:
1991: -- Get status
1992: Wf_Notification.GetInfo(to_number(nid), recipient, s0, s0, s0, s0, status);
1993: username := Wfa_Html.Authenticate(to_number(nid), null);
1994: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
1995:
1996: htp.htmlOpen;
1997: htp.headOpen;
1998: if (status = 'OPEN') then

Line 2112: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

2108: username := Wfa_Html.Authenticate(nid, nkey);
2109:
2110: -- Get notification recipient and status
2111: Wf_Notification.GetInfo(nid, username, s0, s0, s0, s0, status);
2112: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
2113:
2114: -- Set title
2115: result := htf.htmlOpen ||g_newLine;
2116: result := result || htf.headOpen||g_newLine;

Line 2227: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

2223: username := Wfa_Html.Authenticate(nid, nkey);
2224:
2225: -- Get notification recipient and status
2226: Wf_Notification.GetInfo(nid, username, s0, s0, s0, s0, status);
2227: Wf_Directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
2228:
2229: -- Set title
2230: result := htf.htmlOpen ||g_newLine;
2231: result := result || htf.headOpen||g_newLine;

Line 2385: WF_DIRECTORY.GetRoleDisplayName(upper(l_forwardee)) || '.'));

2381: htp.htmlOpen;
2382: htp.headOpen;
2383:
2384: htp.center(htf.bold(WF_CORE.Translate('WFA_ASSIGNED') || ': ' ||
2385: WF_DIRECTORY.GetRoleDisplayName(upper(l_forwardee)) || '.'));
2386:
2387: htp.headClose;
2388: htp.htmlClose;
2389:

Line 3171: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

3167: WHEN OTHERS THEN
3168: raise;
3169: END;
3170:
3171: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
3172:
3173: admin_mode := 'N';
3174: admin_role := wf_core.translate('WF_ADMIN_ROLE');
3175: if (admin_role = '*' or

Line 3176: Wf_Directory.IsPerformer(username, admin_role)) then

3172:
3173: admin_mode := 'N';
3174: admin_role := wf_core.translate('WF_ADMIN_ROLE');
3175: if (admin_role = '*' or
3176: Wf_Directory.IsPerformer(username, admin_role)) then
3177: admin_mode := 'Y';
3178: end if;
3179:
3180: htp.htmlOpen;

Line 3231: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

3227: begin
3228: -- Check session and current user
3229: wfa_sec.GetSession(username);
3230: username := upper(username);
3231: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
3232:
3233: admin_mode := 'N';
3234: admin_role := wf_core.translate('WF_ADMIN_ROLE');
3235: if (admin_role = '*' or

Line 3236: Wf_Directory.IsPerformer(username, admin_role)) then

3232:
3233: admin_mode := 'N';
3234: admin_role := wf_core.translate('WF_ADMIN_ROLE');
3235: if (admin_role = '*' or
3236: Wf_Directory.IsPerformer(username, admin_role)) then
3237: admin_mode := 'Y';
3238: end if;
3239:
3240: -- Set page title

Line 3301: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

3297:
3298: -- Check session and current user
3299: wfa_sec.GetSession(username);
3300: username := upper(username);
3301: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
3302:
3303: admin_mode := 'N';
3304: admin_role := wf_core.translate('WF_ADMIN_ROLE');
3305: if (admin_role = '*' or

Line 3306: Wf_Directory.IsPerformer(username, admin_role)) then

3302:
3303: admin_mode := 'N';
3304: admin_role := wf_core.translate('WF_ADMIN_ROLE');
3305: if (admin_role = '*' or
3306: Wf_Directory.IsPerformer(username, admin_role)) then
3307: admin_mode := 'Y';
3308: end if;
3309:
3310: -- Set page title

Line 3911: role_info_tbl wf_directory.wf_local_roles_tbl_type;

3907: l_result NUMBER := 1; -- This is the return value for each mode
3908:
3909: colon NUMBER;
3910:
3911: role_info_tbl wf_directory.wf_local_roles_tbl_type;
3912:
3913: BEGIN
3914:
3915: if (p_mode = 'LOV') then

Line 3958: Wf_Directory.GetRoleInfo2(p_hidden_value,role_info_tbl);

3954: l_result := 1;
3955:
3956: elsif (p_mode = 'GET_DISPLAY_VAL') THEN
3957:
3958: Wf_Directory.GetRoleInfo2(p_hidden_value,role_info_tbl);
3959: l_name := role_info_tbl(1).name;
3960: l_display_name := role_info_tbl(1).display_name;
3961: p_display_value:= l_name;
3962:

Line 4001: -- copy logic from wf_directory.getroleinfo2

3997: ** the please use lov icon to select value.
3998: */
3999: if (ii = 2) then
4000:
4001: -- copy logic from wf_directory.getroleinfo2
4002: colon := instr(p_display_value,':');
4003: if (colon = 0) then
4004: select count(*)
4005: into ii

Line 4070: role_info_tbl wf_directory.wf_local_roles_tbl_type;

4066: l_upper_name VARCHAR2(360);
4067: l_orig_system_id NUMBER;
4068: l_get_role BOOLEAN := TRUE;
4069:
4070: role_info_tbl wf_directory.wf_local_roles_tbl_type;
4071:
4072: BEGIN
4073:
4074: /*

Line 4109: ** Bug# 2236250 calling Wf_Directory.GetRoleInfo2 only if the value

4105: ** there are duplicate internal names that match the criteria then
4106: ** there is a problem with directory services but what can you do. Go
4107: ** ahead and pick the first name so you return something
4108: **
4109: ** Bug# 2236250 calling Wf_Directory.GetRoleInfo2 only if the value
4110: ** after ':' is numeric.
4111: */
4112: if (l_get_role) then
4113: l_upper_name := upper(p_display_name);

Line 4114: Wf_Directory.GetRoleInfo2(l_upper_name,role_info_tbl);

4110: ** after ':' is numeric.
4111: */
4112: if (l_get_role) then
4113: l_upper_name := upper(p_display_name);
4114: Wf_Directory.GetRoleInfo2(l_upper_name,role_info_tbl);
4115: l_name := role_info_tbl(1).name;
4116: end if;
4117:
4118: /*

Line 4169: -- copy logic from wf_directory.getroleinfo2

4165: ** of the display name and the user name should be unique
4166: */
4167: else
4168:
4169: -- copy logic from wf_directory.getroleinfo2
4170: l_colon := instr(p_user_name,':');
4171:
4172: if (l_colon = 0) then
4173: select count(1)