git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@50874 248e525c-4dfb-0310-94bc-949c084e9493

This commit is contained in:
andrew.gilmore
2012-03-19 11:57:19 +00:00
parent 2a0f4900c3
commit 0e9ca75d77
1587 changed files with 500863 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
CREATE OR REPLACE PACKAGE EFT_NOM.saco_documents IS
/*
Routines used to store and retrieve documents
*/
g_header CONSTANT VARCHAR2(160) := '$Header: /Isle Of Grain/database/PLSQL/saco_documents.pck 1 7/01/05 12:54 Gilberta $';
g_revision CONSTANT VARCHAR2(160) := '$Revision: 1 $';
/*
* $Header: /Isle Of Grain/database/PLSQL/saco_documents.pck 1 7/01/05 12:54 Gilberta $
* $Revision: 1 $
*
*/
/*
Simple form to transfer a file from the client PC to the 'Document Table'.
Performs a POST against INPUT TYPEs of type 'FILE'. This causes the PL/SQL Gateway
to upload the given file to the 'Document Table'. On completion, calls upload.
*/
PROCEDURE upload_form;
PROCEDURE upload(p_language IN VARCHAR2
,p_file IN VARCHAR2
,p_description IN VARCHAR2);
PROCEDURE download_form;
PROCEDURE download_document(p_docu_id IN documents.docu_id%TYPE);
PROCEDURE download(p_file IN VARCHAR2);
PROCEDURE test_download;
/*
Routine called by the PL/SQL Gateway DAD 'Document Access Procedure'.
Used to download documents directly from the 'Document Table' to the client browser.
The document name is included in the OWA_PATH_INFO environment variable.
*/
PROCEDURE download;
PROCEDURE embed_document(p_docu_id IN documents.docu_id%TYPE);
PROCEDURE test_embed;
END saco_documents;
/