1 PACKAGE JTF_DIAG_HELPER_UTILS AUTHID CURRENT_USER AS
2 /* $Header: jtf_diag_helper_utils_s.pls 120.1.12010000.2 2008/08/29 07:10:15 sramados ship $*/
3
4 /**
5 * This will add the input to the collection of inputs with the values provided
6 * @param inputs IN The collection which will hold the inputs
7 * @param name IN name of the input to be added to the collection
8 * @param value IN value of the nput
9 * @param isConfidential IN true if the input is confidential , default value is false
10 * @param defaultValue IN default value of the input
11 * @param tip IN tip to be shown in the UI givine information about the input
12 * @param isMandatory IN true if the input is mandatory for running the test
13 * @param isDate IN true if the input is a date
14 * @param isNumber IN true if the input is number
15 * @return JTF_DIAG_TEST_INPUTS A Nested table of inputs needed for the test.This nested table
16 * should be initialised with the function initialise_Input_Collection
17 */
18 FUNCTION addInput(inputs IN JTF_DIAG_TEST_INPUTS,
19 name IN VARCHAR2,
20 value IN VARCHAR2,
21 isConfidential IN VARCHAR2 default 'FALSE',
22 defaultValue IN VARCHAR2 default null,
23 tip IN VARCHAR2 default null,
24 isMandatory IN VARCHAR2 default 'FALSE',
25 isDate IN VARCHAR2 default 'FALSE',
26 isNumber IN VARCHAR2 default 'FALSE') RETURN JTF_DIAG_TEST_INPUTS;
27
28 /**
29 * A function to initialise the collection of inputs for a test
30 */
31 FUNCTION initialise_Input_Collection RETURN JTF_DIAG_TEST_INPUTS;
32 /**
33 * A function to get the value of the input identifies by the argName
34 */
35 FUNCTION GET_INPUT_VALUE(argName IN VARCHAR2,inputs IN JTF_DIAG_INPUTTBL) RETURN VARCHAR2;
36
37 END;