System and method for data abstraction using formatted system variables
First Claim
1. A method for retrieving a formatted data value from a data layer to a business logic layer, comprising:
- invoking a first procedure within the business logic layer the first procedure being a formatted variable abstraction procedure preprogrammed for a particular formatted variable;
passing at least one parameter to the first procedure, the at least one parameter identifying a formatted system variable; and
selecting, from a table of formatted variables and based upon the formatted system variable, a second procedure, the second procedure being a separate procedure from the first procedure;
building, within the first procedure, a dynamic statement to identify the second procedure from the table, such that execution, by the first procedure, of the dynamic statement invokes the second procedure to;
retrieve one or more data items from the data layer;
format the data items, within the second procedure, to form a formatted data value before returning from the dynamic statement; and
return the formatted data value to the dynamic statement, and return the formatted data value from the dynamic statement to the business logic layer via the first procedure,wherein the at least one parameter includes one or more of tag name, key value, return status, return value, subject key value, and image.
1 Assignment
0 Petitions
Accused Products
Abstract
A system, method and software product retrieve a formatted data value from a data layer to a business logic layer by invoking a formatted variable abstraction procedure from the business logic layer, passing at least one parameter to the formatted variable abstraction procedure (the at least one parameter identifying a formatted system variable), and building a dynamic statement based upon the formatted system variable such that execution of the dynamic statement: accesses a formatted variable table based upon the formatted system variable to locate information relating to the formatted system variable; retrieves one or more data items based upon the information; formats the data items to form the formatted data value based upon the information; and returns the formatted data value to the business logic layer.
-
Citations
22 Claims
-
1. A method for retrieving a formatted data value from a data layer to a business logic layer, comprising:
-
invoking a first procedure within the business logic layer the first procedure being a formatted variable abstraction procedure preprogrammed for a particular formatted variable;
passing at least one parameter to the first procedure, the at least one parameter identifying a formatted system variable; andselecting, from a table of formatted variables and based upon the formatted system variable, a second procedure, the second procedure being a separate procedure from the first procedure; building, within the first procedure, a dynamic statement to identify the second procedure from the table, such that execution, by the first procedure, of the dynamic statement invokes the second procedure to;
retrieve one or more data items from the data layer;
format the data items, within the second procedure, to form a formatted data value before returning from the dynamic statement; and
return the formatted data value to the dynamic statement, and return the formatted data value from the dynamic statement to the business logic layer via the first procedure,wherein the at least one parameter includes one or more of tag name, key value, return status, return value, subject key value, and image. - View Dependent Claims (2, 3, 4, 5, 20)
-
-
6. A method for data abstraction between a business logic layer and a data layer, comprising:
-
invoking a first procedure from the business logic layer with at least one parameter identifying a formatted system variable, the first procedure being a data abstraction procedure preprogrammed for a particular data value; accessing, from the first procedure, a first database table in the data layer to retrieve a database package name and a database program name of a second procedure based upon the formatted system variable, the second procedure being a separate procedure from the first procedure; building, if the package name indicates that the second procedure is valid, a dynamic statement within the first procedure that, upon execution, invokes the second procedure within the data layer to retrieve and format a data value from the data layer procedure;
retrieving, if the package name and program name does not indicate the valid procedure, an alternate fixed value from the first database table based upon the formatted system variable and assigning it to the formatted data value; and
returning the formatted data value to the business logic layer,wherein the at least one parameter includes one or more of tag name, key value, return status, return value, subject key value, and image. - View Dependent Claims (7, 8, 9, 10, 21)
-
-
11. A software product comprising instructions, stored on physical computer-readable non-transitory media, wherein the instructions, when executed by a computer, perform steps for data abstraction between a business logic layer and a data layer, comprising:
-
instructions for invoking a first procedure from the business logic layer with at least one parameter identifying a formatted system variable, the first procedure being a data abstraction procedure preprogrammed for a particular data value; instructions for accessing, from the first procedure, a first database table in the data layer to retrieve a package name and program name based upon the formatted system variable; instructions for building, if the package name indicates a valid package, a dynamic statement within the first procedure that, upon execution, invokes a second procedure within the data layer, identified by the program name and the package name, to retrieve a formatted data value from the data layer and return the formatted data value from the dynamic statement, the second procedure being a separate procedure from the first procedure;
instructions for retrieving, if the package name does not indicate a valid package, an alternate fixed value for use as the formatted data value from the first database table based upon the formatted system variable; and
instructions for returning the formatted data value to the business logic layer,wherein the at least one parameter includes one or more of tag name, key value, return status, return value, subject key value, and image. - View Dependent Claims (12, 13, 14, 15, 22)
-
-
16. A system stored in a non-transitory computer-readable medium for data abstraction between a business logic layer of an application server and a data layer of a database server, wherein the application server and the database server are implemented by a computer, comprising:
- means for invoking, within the application server, a formatted variable abstraction procedure from the business logic layer;
means for passing, within the application server, at least one parameter to the formatted variable abstraction procedure, the at least one parameter identifying a formatted system variable; and means for building a dynamic statement based upon the formatted system variable such that execution of the dynamic statement within the application server; accesses a formatted variable table within the database server based upon the formatted system variable to locate information within the data layer relating to the formatted system variable; retrieves one or more data items from the database server based upon the information; formats the data items to form the formatted data value based upon the information; and returns the formatted data value to the business logic layer wherein the parameter includes one or more of tag name, key value, return status, return value, subject key value, and image, and means for returning a status indicating success or failure of returning the formatted data value. - View Dependent Claims (17, 18, 19)
- means for invoking, within the application server, a formatted variable abstraction procedure from the business logic layer;
Specification