47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
CREATE OR REPLACE PACKAGE amfr_journal IS
|
|
/**
|
|
-- Package to handle journalling of flexibly implemented business logic
|
|
-- #version $Revision: $
|
|
-- #author $Author: $
|
|
--
|
|
*/
|
|
g_package_name CONSTANT VARCHAR2(30) := 'amfl_journal';
|
|
g_header CONSTANT VARCHAR2(160) := '$Header: $';
|
|
g_revision CONSTANT VARCHAR2(160) := '$Revision: $';
|
|
/*
|
|
VSS Information not documented by PL/SQL Developer
|
|
$Header: $
|
|
$Date: $ Date and time of last checkin
|
|
$Modtime: $ Date and time of last modification
|
|
$History: $
|
|
*/
|
|
/**
|
|
-- Global that may be used a a null value to pass into log_transaction
|
|
*/
|
|
g_name_value_tab name_value_tab;
|
|
/**
|
|
-- Log details of a transaction in the audit table
|
|
-- #param p_operation_type The type of operation, either:
|
|
-- %value INSERT
|
|
-- %value UPDATE
|
|
-- %value DELETE
|
|
-- %value LOGON
|
|
-- %value LOGOFF
|
|
-- %value EXECUTE
|
|
-- #param p_operation_target The target of the operation
|
|
-- #param p_old_values Optional. A name value array containing details of the old values, before the action took place
|
|
-- #param p_new_values Optional. A name value array containing details of the new values, after the action took place
|
|
*/
|
|
PROCEDURE log_transaction ( p_operation_type audit_transactions.operation_type%TYPE
|
|
, p_operation_target audit_transactions.operation_target%TYPE
|
|
, p_old_values name_value_tab
|
|
, p_new_values name_value_tab);
|
|
/**
|
|
-- Details about this module
|
|
-- %return A textual descrtiption of the version number and VSS header for this package
|
|
*/
|
|
FUNCTION about RETURN VARCHAR2;
|
|
--
|
|
END amfr_journal;
|
|
/
|