The Data Info code is used to define the data provided by a web application, its grouping in a navigation tree and the linking between different web applications. All the data, grouping and linking information is stored in the glastgen database.
The code provides a set of classes to read/update the database and a set of beans to easily access this data in a JSP environment. The beans are added to each of the application's sessions via a filter that is meant to be added to the application. The filter also adds additional functionality for saving/loading information via xml files. Finally we provide a set of tag files containing forms to view/edit the data, grouping and linking information. These tag files can be easily embedded in web applications.
The following set of database tables are used by the Data Info code.
The Applications table defines the available applications.
Column Name |
Description |
---|---|
APPID |
The primary key. |
APPLICATION |
The name of the application. |
SHORTNAME |
A short name for the application; meant to be used in linking. |
URL |
The URL of the application without the context. To be used in linking. |
PAGE |
The page where the plots are. Also for linking. |
The DataInfo table defines the application specific data. Most of the columns in this table are used for plotting purposes.
Column Name |
Description |
---|---|
ID |
The primary key. |
NAME |
The name of the data. This name must be unique within an application. |
APPID |
Foreign key to the application's primary key. |
TYPE |
The java type of the data object: hep.aida.IHistogram1D, hep.aida.IHistogram2D, org.glast.base.application.data.trending.TrendingDataChannel. |
TITLE |
The title of the corresponding plot. |
LOGYAXIS |
Boolean flag to set log y axis. |
XAXISLABEL |
The data x axis label. |
YAXISLABEL |
The data y axis label. |
LABEL |
The name of the data used in the navigation tree. It not provided the name will be used. |
DESCRIPTION |
Not used for now. The description is meant to be used to explain the data (tooltips, popups, boxes) |
STYLE |
Not used for now. Meant to be a list of comma separated style names to be applied when plotting the data. |
PATH |
Obsolete; used in System Tests for grouping To be removed. |