1 package FND_LOG_ATTACHMENT AUTHID CURRENT_USER as
2 /* $Header: AFUTLGTS.pls 115.3 2004/05/05 02:07:10 kkapur noship $ */
3
4 /**
5 ** Writes ASCII PMESSAGE to the Attachment
6 ** For performance, messages are buffered in memory
7 ** until the buffer limit (default 10000) is reached or
8 ** CLOSE(..) is called.
9 */
10 PROCEDURE WRITE(PATTACHMENT_ID IN NUMBER, PMESSAGE IN VARCHAR2);
11
12 /**
13 ** Writes ASCII PMESSAGE (appended with newline) to the Attachment
14 ** For performance, messages are buffered in memory
15 ** until the buffer limit (default 10000) is reached or
16 ** CLOSE(..) is called.
17 */
18 PROCEDURE WRITELN(PATTACHMENT_ID IN NUMBER, PMESSAGE IN VARCHAR2);
19
20 /**
21 ** Writes RAW PMESSAGE to the Attachment
22 ** For performance, data is buffered in memory
23 ** until the buffer limit (default 10000) is reached or
24 ** CLOSE(..) is called.
25 */
26 PROCEDURE WRITE_RAW(PATTACHMENT_ID IN NUMBER, PMESSAGE IN LONG RAW);
27
28 /**
29 ** Writes PMESSAGE to the Attachment.
30 ** For AOL/J Internal use Only!
31 ** (Called from AppsLog.java)
32 */
33 PROCEDURE WRITE_INTERNAL(PATTACHMENT_ID IN NUMBER, PMESSAGE IN FND_TABLE_OF_RAW_2000,
34 PCHARSET IN VARCHAR2, PMIMETYPE IN VARCHAR2,
35 PENCODING IN VARCHAR2, PLANG IN VARCHAR2,
36 PFILE_EXTN IN VARCHAR2, PDESC IN VARCHAR2);
37
38 /**
39 ** Flushes the Attachment buffer and closes the Attachment
40 */
41 PROCEDURE CLOSE(PATTACHMENT_ID IN NUMBER);
42
43 end FND_LOG_ATTACHMENT;