made the update_drawing and drawing_exists functions public, so they can be called by the apex file upload screens

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3296 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-01-18 15:06:32 +00:00
parent 7873503ca5
commit 246c8fe946

View File

@@ -5,6 +5,13 @@ create or replace package MIP_FILES is
-- Purpose : Handle files for the webMIP system
-- Public function and procedure declarations
function drawing_file_exists(p_drwg_code varchar2) return boolean;
function update_file_association(p_uri in varchar2,
p_description in varchar2,
p_docu_type in varchar2,
p_qute_id in number,
p_enqu_id in number,
p_drwg_code in varchar2) return boolean;
function set_file_association(p_uri in varchar2,
p_description in varchar2,
p_docu_type in varchar2,
@@ -53,6 +60,7 @@ create or replace package body MIP_FILES as
%param p_uri - the uri of the file (the contents of the name column in APEX application files)
%param p_description - description of the file, will be set in documents and document_roles table
%param p_docu_type - INDO (held within webmip db), EXDO (held outside webmip), FIDO (on file system)
%param p_rt_code - type of role for docment eg 'ENQUIRY SUPPORTING DOC' see role types table
%param p_qute_id - the quote id if applicable otherwise supply null
%param p_enqu_id - the enquiry id if applicable otherwise supply null
%param p_drwg_code - the drawing code if applicable otherwise supply null