ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/ClientAPIData.hpp
Revision: 1.4
Committed: Wed Nov 9 21:25:23 2005 UTC (19 years, 5 months ago) by afaq
Branch: MAIN
Changes since 1.3: +77 -77 lines
Log Message:
	Bug fix in TableTemplate, Addition of History Table, Updated Schema for Multi-Unique-Key, Tested several insert API calls.

File Contents

# User Rev Content
1 afaq 1.1 #ifndef _ClientTest_hpp_
2     #define _ClientTest_hpp_
3     #include "ClientDataStructure.hpp"
4    
5     class Insertapps_ClientAPIData : public ClientDataStructure {
6     public:
7     INTEGER t_application_output_type;
8     STRING t_app_family_name;
9 afaq 1.2 STRING t_collection_type_name_t_application_output_type;
10 afaq 1.1 STRING t_app_config_parameter_set;
11     INTEGER t_app_config_application;
12 afaq 1.4 INTEGER t_collection_type_id_t_application_output_type;
13 afaq 1.1 INTEGER t_app_config_id;
14 afaq 1.2 INTEGER t_collection_type_id_t_application_input_type;
15 afaq 1.1 STRING t_application_app_version;
16     STRING t_app_config_conditions_version;
17     INTEGER t_application_app_family;
18     INTEGER t_application_id;
19 afaq 1.4 INTEGER t_app_family_id;
20     INTEGER t_application_input_type;
21     STRING t_collection_type_name_t_application_input_type;
22 afaq 1.3 STRING t_application_executable;
23 afaq 1.1 public:
24     Insertapps_ClientAPIData();
25    
26     virtual int makeMessage(Message& messageOut);
27     virtual int readInMessage(Message& messageIn, string lisName, int index);
28    
29     };
30     class Person_ClientAPIData : public ClientDataStructure {
31     public:
32     STRING t_person_distinguised_name;
33     INTEGER t_person_id;
34     STRING t_person_name;
35     STRING t_person_contactinfo;
36     public:
37     Person_ClientAPIData();
38    
39     virtual int makeMessage(Message& messageOut);
40     virtual int readInMessage(Message& messageIn, string lisName, int index);
41    
42     };
43     class Physicsgroup_ClientAPIData : public ClientDataStructure {
44     public:
45 afaq 1.4 INTEGER t_person_id_t_physics_group_convener;
46     STRING t_person_distinguised_name_t_physics_group_convener;
47     STRING t_person_name_t_physics_group_convener;
48 afaq 1.3 INTEGER t_physics_group_id;
49 afaq 1.4 STRING t_person_contactinfo_t_physics_group_convener;
50 afaq 1.3 STRING t_physics_group_name;
51 afaq 1.4 INTEGER t_physics_group_convener;
52 afaq 1.1 public:
53     Physicsgroup_ClientAPIData();
54    
55     virtual int makeMessage(Message& messageOut);
56     virtual int readInMessage(Message& messageIn, string lisName, int index);
57    
58     };
59     class Evcollview_ClientAPIData : public ClientDataStructure {
60     public:
61     INTEGER t_info_evcoll_validation_status;
62     STRING t_info_evcoll_name;
63     INTEGER t_info_evcoll_status;
64 afaq 1.4 STRING t_evcoll_status_name;
65 afaq 1.1 INTEGER t_info_evcoll_events;
66     INTEGER t_event_collection_id;
67     INTEGER t_info_evcoll_event_collection;
68     STRING t_validation_status_name;
69     INTEGER t_event_collection_processed_dataset;
70     INTEGER t_evcoll_status_id;
71     INTEGER t_validation_status_id;
72 afaq 1.4 INTEGER t_event_collection_collection_index;
73 afaq 1.1 STRING t_info_evcoll_estimated_luminosity;
74     public:
75     Evcollview_ClientAPIData();
76    
77     virtual int makeMessage(Message& messageOut);
78     virtual int readInMessage(Message& messageIn, string lisName, int index);
79    
80     };
81     class Fileview_ClientAPIData : public ClientDataStructure {
82     public:
83     INTEGER t_evcoll_file_fileid;
84     INTEGER t_file_type;
85 afaq 1.4 INTEGER t_file_type_id;
86 afaq 1.1 INTEGER t_block_processed_dataset;
87     INTEGER t_file_inblock;
88     STRING t_file_status_name;
89 afaq 1.4 INTEGER t_block_status;
90 afaq 1.1 STRING t_file_guid;
91 afaq 1.4 STRING t_file_logical_name;
92 afaq 1.1 INTEGER t_file_status_id;
93 afaq 1.4 INTEGER t_file_id;
94     INTEGER t_block_files;
95 afaq 1.1 INTEGER t_evcoll_file_evcoll;
96     STRING t_file_type_name;
97     INTEGER t_block_id;
98     STRING t_file_filesize;
99 afaq 1.4 STRING t_block_status_name;
100 afaq 1.1 INTEGER t_block_bytes;
101     INTEGER t_file_status;
102     INTEGER t_block_status_id;
103     INTEGER t_evcoll_file_id;
104     public:
105     Fileview_ClientAPIData();
106    
107     virtual int makeMessage(Message& messageOut);
108     virtual int readInMessage(Message& messageIn, string lisName, int index);
109    
110     };
111     class Primarydataset_ClientAPIData : public ClientDataStructure {
112     public:
113     INTEGER t_desc_mc_id;
114     STRING t_desc_mc_description;
115     INTEGER t_primary_dataset_description;
116     STRING t_primary_dataset_name;
117 afaq 1.4 STRING t_desc_mc_decay_chain;
118 afaq 1.2 INTEGER t_physics_group_id;
119 afaq 1.1 INTEGER t_desc_primary_id;
120     INTEGER t_desc_primary_trigger_path;
121 afaq 1.2 STRING t_desc_trigger_description;
122 afaq 1.1 INTEGER t_primary_dataset_physics_group;
123 afaq 1.2 INTEGER t_desc_trigger_id;
124 afaq 1.1 STRING t_desc_mc_production;
125 afaq 1.2 STRING t_physics_group_name;
126 afaq 1.1 INTEGER t_desc_primary_mc_channel;
127     INTEGER t_primary_dataset_id;
128     CHARACTER t_desc_primary_is_mc_data;
129 afaq 1.4 INTEGER t_physics_group_convener;
130 afaq 1.1 public:
131     Primarydataset_ClientAPIData();
132    
133     virtual int makeMessage(Message& messageOut);
134     virtual int readInMessage(Message& messageIn, string lisName, int index);
135    
136     };
137     class Processingpath_ClientAPIData : public ClientDataStructure {
138     public:
139 afaq 1.4 STRING t_processed_dataset_name;
140 afaq 1.2 STRING t_collection_type_name_t_application_output_type;
141     STRING t_application_app_version;
142 afaq 1.4 STRING t_app_config_conditions_version;
143 afaq 1.2 INTEGER t_application_id;
144 afaq 1.4 INTEGER t_application_output_type;
145 afaq 1.1 INTEGER t_data_tier_id;
146     INTEGER t_processing_path_parent;
147 afaq 1.2 INTEGER t_app_config_id;
148     INTEGER t_collection_type_id_t_application_input_type;
149     INTEGER t_processed_dataset_processing_path;
150 afaq 1.4 INTEGER t_processing_path_data_tier;
151     INTEGER t_application_app_family;
152     STRING t_data_tier_name;
153     STRING t_app_family_name;
154     STRING t_app_config_parameter_set;
155     CHARACTER t_processed_dataset_is_open;
156     INTEGER t_processing_path_app_config;
157     INTEGER t_app_config_application;
158     STRING t_application_executable;
159     STRING t_collection_type_name_t_application_input_type;
160     STRING t_processing_path_full_path;
161 afaq 1.1 INTEGER t_processing_path_id;
162 afaq 1.4 INTEGER t_application_input_type;
163 afaq 1.2 INTEGER t_processed_dataset_primary_dataset;
164 afaq 1.1 INTEGER t_processed_dataset_id;
165 afaq 1.2 INTEGER t_collection_type_id_t_application_output_type;
166 afaq 1.4 INTEGER t_app_family_id;
167 afaq 1.1 public:
168     Processingpath_ClientAPIData();
169    
170     virtual int makeMessage(Message& messageOut);
171     virtual int readInMessage(Message& messageIn, string lisName, int index);
172    
173     };
174     class Analysisdataset_ClientAPIData : public ClientDataStructure {
175     public:
176     STRING t_dataset_status_name;
177     INTEGER t_info_anads_analysis_dataset;
178 afaq 1.4 STRING t_validation_status_name;
179 afaq 1.1 INTEGER t_anads_data_event_collection;
180     STRING t_info_anads_estimated_luminiosity;
181     STRING t_analysis_dataset_name;
182     INTEGER t_info_anads_validation_status;
183     INTEGER t_anads_data_id;
184     INTEGER t_dataset_status_id;
185     INTEGER t_anads_data_analysis_dataset;
186 afaq 1.4 INTEGER t_info_anads_status;
187 afaq 1.1 INTEGER t_analysis_dataset_id;
188     INTEGER t_validation_status_id;
189     INTEGER t_analysis_dataset_processed_dataset;
190     INTEGER t_info_anads_events;
191     public:
192     Analysisdataset_ClientAPIData();
193    
194     virtual int makeMessage(Message& messageOut);
195     virtual int readInMessage(Message& messageIn, string lisName, int index);
196    
197     };
198     class Datasetprovenenceevchild_ClientAPIData : public ClientDataStructure {
199     public:
200     STRING t_processed_dataset_name;
201 afaq 1.4 INTEGER t_event_collection_id;
202 afaq 1.1 INTEGER t_processing_path_id;
203     INTEGER t_event_collection_processed_dataset;
204     INTEGER t_primary_dataset_description;
205     INTEGER t_data_tier_id;
206     INTEGER t_processing_path_parent;
207     INTEGER t_evcoll_parentage_type;
208     INTEGER t_processed_dataset_processing_path;
209 afaq 1.4 STRING t_parentage_type_name;
210     INTEGER t_processing_path_data_tier;
211     INTEGER t_primary_dataset_id;
212     INTEGER t_event_collection_collection_index;
213     STRING t_data_tier_name;
214     INTEGER t_parentage_type_id;
215     CHARACTER t_processed_dataset_is_open;
216     INTEGER t_processing_path_app_config;
217     INTEGER t_primary_dataset_physics_group;
218     STRING t_processing_path_full_path;
219     STRING t_primary_dataset_name;
220 afaq 1.3 INTEGER t_evcoll_parentage_parent;
221 afaq 1.4 INTEGER t_processed_dataset_primary_dataset;
222 afaq 1.1 INTEGER t_processed_dataset_id;
223     INTEGER t_evcoll_parentage_child;
224     public:
225     Datasetprovenenceevchild_ClientAPIData();
226    
227     virtual int makeMessage(Message& messageOut);
228     virtual int readInMessage(Message& messageIn, string lisName, int index);
229    
230     };
231     class Datasetprovenenceevparent_ClientAPIData : public ClientDataStructure {
232     public:
233     STRING t_processed_dataset_name;
234 afaq 1.4 INTEGER t_event_collection_id;
235 afaq 1.1 INTEGER t_processing_path_id;
236     INTEGER t_event_collection_processed_dataset;
237     INTEGER t_primary_dataset_description;
238     INTEGER t_data_tier_id;
239     INTEGER t_processing_path_parent;
240     INTEGER t_evcoll_parentage_type;
241     INTEGER t_processed_dataset_processing_path;
242 afaq 1.4 STRING t_parentage_type_name;
243     INTEGER t_processing_path_data_tier;
244     INTEGER t_primary_dataset_id;
245     INTEGER t_event_collection_collection_index;
246     STRING t_data_tier_name;
247     INTEGER t_parentage_type_id;
248     CHARACTER t_processed_dataset_is_open;
249     INTEGER t_processing_path_app_config;
250     INTEGER t_primary_dataset_physics_group;
251     STRING t_processing_path_full_path;
252     STRING t_primary_dataset_name;
253 afaq 1.3 INTEGER t_evcoll_parentage_parent;
254 afaq 1.4 INTEGER t_processed_dataset_primary_dataset;
255 afaq 1.1 INTEGER t_processed_dataset_id;
256     INTEGER t_evcoll_parentage_child;
257     public:
258     Datasetprovenenceevparent_ClientAPIData();
259    
260     virtual int makeMessage(Message& messageOut);
261     virtual int readInMessage(Message& messageIn, string lisName, int index);
262    
263     };
264     class Crabevcollview_ClientAPIData : public ClientDataStructure {
265     public:
266     INTEGER t_info_evcoll_validation_status;
267     STRING t_processed_dataset_name;
268     STRING t_info_evcoll_name;
269     INTEGER t_block_status;
270 afaq 1.4 INTEGER t_primary_dataset_physics_group;
271 afaq 1.1 INTEGER t_processing_path_id;
272     INTEGER t_info_evcoll_event_collection;
273     INTEGER t_event_collection_processed_dataset;
274     STRING t_info_evcoll_estimated_luminosity;
275     INTEGER t_primary_dataset_description;
276     INTEGER t_block_bytes;
277     INTEGER t_data_tier_id;
278     INTEGER t_processing_path_parent;
279 afaq 1.4 INTEGER t_processed_dataset_processing_path;
280     INTEGER t_block_files;
281     INTEGER t_processing_path_data_tier;
282     INTEGER t_primary_dataset_id;
283     INTEGER t_event_collection_collection_index;
284     STRING t_data_tier_name;
285     INTEGER t_block_processed_dataset;
286     INTEGER t_info_evcoll_events;
287     CHARACTER t_processed_dataset_is_open;
288     INTEGER t_processing_path_app_config;
289     INTEGER t_block_id;
290     INTEGER t_event_collection_id;
291     STRING t_processing_path_full_path;
292 afaq 1.3 STRING t_primary_dataset_name;
293     INTEGER t_info_evcoll_status;
294     INTEGER t_processed_dataset_primary_dataset;
295     INTEGER t_processed_dataset_id;
296 afaq 1.1 public:
297     Crabevcollview_ClientAPIData();
298    
299     virtual int makeMessage(Message& messageOut);
300     virtual int readInMessage(Message& messageIn, string lisName, int index);
301    
302     };
303     #endif