git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@50874 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
CREATE OR REPLACE PACKAGE EFT_NOM.cout_system_configuration IS
|
||||
|
||||
/**
|
||||
-- Package containing the common utility system configuration routines used by the Access Manager application
|
||||
-- #version $Revision: $
|
||||
-- #author Andy Hardy
|
||||
*/
|
||||
|
||||
/*
|
||||
$Header: $ Logfile, Revision, Date, Author
|
||||
|
||||
$Modtime: $ Date and time of last modification
|
||||
|
||||
$History: $
|
||||
*/
|
||||
|
||||
/** Default date format for stored configuration items*/
|
||||
g_date_format CONSTANT VARCHAR2(80) := 'DD/MM/YYYY HH24:MI:SS';
|
||||
|
||||
/** Setup of default system configuration items */
|
||||
PROCEDURE setup_system_configuration;
|
||||
|
||||
/** Add a date configuration item
|
||||
#param p_parameter The name of the configuration item
|
||||
#param p_value The value to be given to the configuration item
|
||||
#param p_description The description of the configuration item
|
||||
*/
|
||||
PROCEDURE add_configuration_item_date(p_parameter IN VARCHAR2
|
||||
,p_value IN DATE
|
||||
,p_description IN VARCHAR2 := NULL);
|
||||
/** Add a non-date configuration item
|
||||
#param p_parameter The name of the configuration item
|
||||
#param p_value The value to be given to the configuration item
|
||||
#param p_description The description of the configuration item
|
||||
*/
|
||||
PROCEDURE add_configuration_item(p_parameter IN VARCHAR2
|
||||
,p_value IN VARCHAR2 DEFAULT NULL
|
||||
,p_description IN VARCHAR2 := NULL);
|
||||
|
||||
/** Get a date configuration item
|
||||
#param p_parameter The name of the configuration item to be retrieved
|
||||
#return Value of the configuration item as a date
|
||||
*/
|
||||
FUNCTION get_configuration_item_date(p_parameter IN VARCHAR2) RETURN DATE;
|
||||
/** Get a configuration item
|
||||
#param p_parameter The name of the configuration item to be retrieved
|
||||
#return Value of the configuration item
|
||||
*/
|
||||
FUNCTION get_configuration_item(p_parameter IN VARCHAR2) RETURN VARCHAR2;
|
||||
|
||||
END cout_system_configuration;
|
||||
/
|
||||
|
||||
Reference in New Issue
Block a user