DBA Data[Home] [Help]

APPS.JTF_DIAG_REPORT_FACTORY dependencies on JTF_DIAG_MESSAGE

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

83: RAISE_APPLICATION_ERROR(-20100,'Heading of the Section is null');
84: END IF;
85: RETURN section_component;
86: END CREATE_SECTION;
87: FUNCTION CREATE_MESSAGE(message VARCHAR2,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
88: IS
89: message_component JTF_DIAG_MESSAGE;
90: exec_id NUMBER;
91: ui_node_id NUMBER;

Line 89: message_component JTF_DIAG_MESSAGE;

85: RETURN section_component;
86: END CREATE_SECTION;
87: FUNCTION CREATE_MESSAGE(message VARCHAR2,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
88: IS
89: message_component JTF_DIAG_MESSAGE;
90: exec_id NUMBER;
91: ui_node_id NUMBER;
92: message_content VARCHAR2(2000);
93: BEGIN

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

96: message_content := DBMS_XMLGEN.CONVERT(message,0);
97: exec_id := report_context.EXEC_ID;
98: select JTF_DIAGNOSTIC_REPORT_S.nextval into ui_node_id from dual;
99: IF message_type IS NOT NULL AND (message_type = 'info' OR message_type = 'warning' OR message_type = 'error' OR message_type = 'attention') THEN
100: message_component := JTF_DIAG_MESSAGE(exec_id,ui_node_id,message_content,message_type,null,0,0,0);
101: ELSE
102: RAISE_APPLICATION_ERROR(-20100,'The message type '|| message_type||' is wrong: It can only be info, warning or error');
103: END IF;
104: ELSE

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

106: END IF;
107: RETURN message_component;
108: END CREATE_MESSAGE;
109:
110: FUNCTION CREATE_MESSAGE(note in out nocopy JTF_DIAG_NOTE,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
111: IS
112: message_component JTF_DIAG_MESSAGE;
113: exec_id NUMBER;
114: ui_node_id NUMBER;

Line 112: message_component JTF_DIAG_MESSAGE;

108: END CREATE_MESSAGE;
109:
110: FUNCTION CREATE_MESSAGE(note in out nocopy JTF_DIAG_NOTE,message_type VARCHAR2,report_context JTF_DIAG_REPORT_CONTEXT) RETURN JTF_DIAG_MESSAGE
111: IS
112: message_component JTF_DIAG_MESSAGE;
113: exec_id NUMBER;
114: ui_node_id NUMBER;
115: message_note_id NUMBER;
116: str VARCHAR2(4000);

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

121: message_note_id := note.UI_NODE_ID;
122: exec_id := report_context.EXEC_ID;
123: select JTF_DIAGNOSTIC_REPORT_S.nextval into ui_node_id from dual;
124: IF message_type IS NOT NULL AND (message_type = 'info' OR message_type = 'warning' OR message_type = 'error' OR message_type = 'attention') THEN
125: message_component := JTF_DIAG_MESSAGE(exec_id,ui_node_id,message_content,message_type,null,message_note_id,0,0);
126: IF NOTE.ADDED_TO_PARENT <> 1 THEN
127: str := note.CONSTRUCT_NODE;
128: INSERT INTO JTF_DIAGNOSTIC_REPORT
129: (Execution_ID,UI_Node_ID,type,xmldata,parent_node_id)