DBA Data[Home] [Help]

APPS.JTF_DIAG_REPORT_FACTORY dependencies on JTF_DIAG_MESSAGE

Line 67: FUNCTION CREATE_MESSAGE(message VARCHAR2,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE

63: RAISE_APPLICATION_ERROR(-20100,'Heading of the Section is null');
64: END IF;
65: RETURN section_component;
66: END CREATE_SECTION;
67: FUNCTION CREATE_MESSAGE(message VARCHAR2,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
68: IS
69: message_component JTF_DIAG_MESSAGE;
70: exec_id NUMBER;
71: ui_node_id NUMBER;

Line 69: message_component JTF_DIAG_MESSAGE;

65: RETURN section_component;
66: END CREATE_SECTION;
67: FUNCTION CREATE_MESSAGE(message VARCHAR2,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
68: IS
69: message_component JTF_DIAG_MESSAGE;
70: exec_id NUMBER;
71: ui_node_id NUMBER;
72: message_content VARCHAR2(2000);
73: BEGIN

Line 80: message_component := JTF_DIAG_MESSAGE(exec_id,ui_node_id,message_content,message_type,null,0,0,0);

76: message_content := DBMS_XMLGEN.CONVERT(message,0);
77: exec_id := report_context.EXEC_ID;
78: select JTF_DIAGNOSTIC_REPORT_S.nextval into ui_node_id from dual;
79: IF message_type IS NOT NULL AND (message_type = 'info' OR message_type = 'warning' OR message_type = 'error' OR message_type = 'attention') THEN
80: message_component := JTF_DIAG_MESSAGE(exec_id,ui_node_id,message_content,message_type,null,0,0,0);
81: ELSE
82: RAISE_APPLICATION_ERROR(-20100,'The message type '|| message_type||' is wrong: It can only be info, warning or error');
83: END IF;
84: ELSE

Line 90: FUNCTION CREATE_MESSAGE(note in out nocopy JTF_DIAG_NOTE,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE

86: END IF;
87: RETURN message_component;
88: END CREATE_MESSAGE;
89:
90: FUNCTION CREATE_MESSAGE(note in out nocopy JTF_DIAG_NOTE,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
91: IS
92: message_component JTF_DIAG_MESSAGE;
93: exec_id NUMBER;
94: ui_node_id NUMBER;

Line 92: message_component JTF_DIAG_MESSAGE;

88: END CREATE_MESSAGE;
89:
90: FUNCTION CREATE_MESSAGE(note in out nocopy JTF_DIAG_NOTE,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
91: IS
92: message_component JTF_DIAG_MESSAGE;
93: exec_id NUMBER;
94: ui_node_id NUMBER;
95: message_note_id NUMBER;
96: str VARCHAR2(4000);

Line 105: message_component := JTF_DIAG_MESSAGE(exec_id,ui_node_id,message_content,message_type,null,message_note_id,0,0);

101: message_note_id := note.UI_NODE_ID;
102: exec_id := report_context.EXEC_ID;
103: select JTF_DIAGNOSTIC_REPORT_S.nextval into ui_node_id from dual;
104: IF message_type IS NOT NULL AND (message_type = 'info' OR message_type = 'warning' OR message_type = 'error' OR message_type = 'attention') THEN
105: message_component := JTF_DIAG_MESSAGE(exec_id,ui_node_id,message_content,message_type,null,message_note_id,0,0);
106: IF NOTE.ADDED_TO_PARENT <> 1 THEN
107: str := note.CONSTRUCT_NODE;
108: INSERT INTO JTF_DIAGNOSTIC_REPORT
109: (Execution_ID,UI_Node_ID,type,xmldata,parent_node_id)