Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 430:7ab81ff32111 2.3
merged flys-artifacts/2.3
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:10 +0200 |
parents | b8377caf4515 |
children | 5d65fe4c08d5 |
comparison
equal
deleted
inserted
replaced
290:a6f56ed9238b | 430:7ab81ff32111 |
---|---|
1 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
2 | |
3 Tagged RELEASE 0.1 | |
4 | |
5 2011-05-16 Hans Plum <hans@intevation.de> | |
6 | |
7 * NEWS: | |
8 New. Giving some user specific perspective to new functionality and | |
9 changes. This file references releases dates only; details can be find | |
10 in the client module at flys-client. | |
11 | |
12 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
13 | |
14 First step to calculate "W fuer ungleichwertige Abfluesse" correctly. | |
15 flys/issue55 | |
16 | |
17 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
18 New. Remaps "gleichwertige" Q values to the corresponding | |
19 "ungleichwertige" Q values depending on km. | |
20 | |
21 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
22 Remap the Q values "ungleichwertig" depending on the | |
23 "gleichwertige" ones. | |
24 | |
25 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
26 | |
27 First step to fix flys/issue69 | |
28 | |
29 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
30 New code path to implement the calculation of "Wasserstand/Wasspiegellage" | |
31 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code. | |
32 | |
33 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
34 | |
35 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes | |
36 file to get to know about the changes of the version numbers. | |
37 | |
38 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
39 | |
40 ISSUE-37 | |
41 | |
42 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This | |
43 state would be happy if there is a UI provider called "river_panel". | |
44 | |
45 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
46 | |
47 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
48 methods that return the requested chart size as integer array [width, | |
49 height]. The requested size is read from the incomding request document. | |
50 | |
51 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size | |
52 of a chart is no longer static. The requested size is fetched using | |
53 ChartGenerator.getSize(). | |
54 | |
55 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
56 | |
57 ISSUE-52 | |
58 | |
59 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
60 The X-Axis of such a chart is inverted, if the head of the river is not | |
61 at kilometer 0. This type of charts always have the head of the river at | |
62 the left side. | |
63 | |
64 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
65 | |
66 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
67 Make incoming XML symmetric to DistanceInfoService. | |
68 | |
69 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
70 | |
71 ISSUE-47 | |
72 | |
73 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
74 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
75 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
76 Adjusted temporarily the color of the W, Q and corrected W curves to | |
77 distinguish each other. | |
78 | |
79 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
80 | |
81 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
82 Adjusted the plot of xy charts - the gridlines are displayed now. | |
83 | |
84 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
85 | |
86 ISSUE-53 | |
87 | |
88 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
89 Added a method that returns the preferred locale based on the available | |
90 locales of the server and the desired locales of the request (CallMeta). | |
91 | |
92 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a | |
93 method that creates a number formatter with minimum and maximum digits. | |
94 | |
95 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
96 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
97 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
98 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
99 Formatted the number values of the CSV exports. | |
100 | |
101 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
102 | |
103 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java: | |
104 New. A data structure that enables us to save a data triple: a range | |
105 that consist of lower and upper double value and a set of values that | |
106 belong to this range. | |
107 | |
108 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
109 Implemented the validation of W/Q values. | |
110 | |
111 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
112 | |
113 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New | |
114 method to retrieve i18n messages based on keys. | |
115 | |
116 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
117 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
118 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
119 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
120 Added headers for CSV exports. | |
121 | |
122 * src/main/resources/messages.properties, | |
123 src/main/resources/messages_de_DE.properties, | |
124 src/main/resources/messages_en.properties, | |
125 src/main/resources/messages_de.properties: Added new i18n strings for | |
126 CSV headers. | |
127 | |
128 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
129 | |
130 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
131 Fetches river name from incoming XML document. If no river is given all | |
132 infos about all rivers are listed. | |
133 | |
134 * src/main/resources/metadata/template.xml: Templates honors the 'river' | |
135 parameter. | |
136 | |
137 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
138 Extended to pass parameters to the templating. Added support for | |
139 type conversion. | |
140 | |
141 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
142 Take parameters as an initial stack frame. | |
143 | |
144 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java: | |
145 New. Converts types off stacked variables. | |
146 | |
147 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
148 | |
149 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
150 method to add subtitles to charts. The implementation in this class does | |
151 not add any subtitle. Concrete subclasses may override this method to | |
152 add some. | |
153 | |
154 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
155 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
156 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
157 Add subtitles to charts. | |
158 | |
159 * src/main/resources/messages.properties, | |
160 src/main/resources/messages_de_DE.properties, | |
161 src/main/resources/messages_en.properties, | |
162 src/main/resources/messages_de.properties: Added i18n templates for | |
163 compound messages (chart subtitles). | |
164 | |
165 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
166 | |
167 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
168 Added new methods to retrieve translated compound messages. | |
169 | |
170 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
171 | |
172 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a | |
173 method to set the master artifact that should be used for some special | |
174 operations. | |
175 | |
176 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
177 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
178 Implement the setMasterArtifact() method of the interface. | |
179 | |
180 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
181 Call OutGenerator.setMasterArtifact(). | |
182 | |
183 NOTE: The determination of the master artifact needs to be implemented! | |
184 | |
185 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
186 | |
187 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
188 hard coded dev code that defined a WQ mode. | |
189 | |
190 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
191 | |
192 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
193 Stripped ugly extra whitespace from output introduced by | |
194 templating. | |
195 | |
196 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
197 | |
198 * src/main/resources/metadata/template.xml: Added forgotten | |
199 columns of fixation WSTs. | |
200 | |
201 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
202 | |
203 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a | |
204 method to retrieve i18n strings. | |
205 | |
206 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
207 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
208 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
209 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
210 Enabled i18n support for chart title and axes labels. | |
211 | |
212 * src/main/resources/messages.properties, | |
213 src/main/resources/messages_de_DE.properties, | |
214 src/main/resources/messages_en.properties, | |
215 src/main/resources/messages_de.properties: Added i18n strings for the | |
216 chart types above. | |
217 | |
218 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
219 | |
220 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
221 New. This OutGenerator exports the data of a discharge longitudinal | |
222 section computation. | |
223 | |
224 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter. | |
225 | |
226 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the | |
227 discharge_longitudinal_section state. | |
228 | |
229 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
230 | |
231 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
232 Added code to make back jump correction work with both | |
233 potential flow directions. | |
234 | |
235 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
236 | |
237 * src/main/resources/metadata/template.xml: | |
238 Added data cage configuration for 'Längsschnitt'. | |
239 | |
240 2011-05-06 Ingo Weinzierl <ingo@intevation.de> | |
241 | |
242 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge | |
243 longitudinal sections. | |
244 | |
245 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A | |
246 derived dataset to store W/Q values with corrected Ws for a kilometer | |
247 range. | |
248 | |
249 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new | |
250 methods and a new constructor to initialize this data object with a | |
251 predefined set of values. | |
252 | |
253 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
254 methods to retrieve the W/Q values for the 'discharge longitudinal | |
255 section' computation. | |
256 | |
257 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New | |
258 methods to retrieve and compute data used for the 'discharge | |
259 longitudinal section' computation. | |
260 | |
261 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
262 | |
263 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
264 Bugfix: just write the ranges of gauges into the DESCRIBE if the | |
265 'wq_values' data item is required. | |
266 | |
267 * src/main/resources/messages.properties, | |
268 src/main/resources/messages_de_DE.properties, | |
269 src/main/resources/messages_en.properties, | |
270 src/main/resources/messages_de.properties: Added i18n messages used in | |
271 the DESCRIBE of the WQAdapted state. | |
272 | |
273 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
274 | |
275 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
276 Changed the title of the y-axis (now 'W [NN+m]'). | |
277 | |
278 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
279 | |
280 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the | |
281 output state for creating 'discharge longitudinal section' charts. | |
282 | |
283 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
284 method that returns all gauges of the selected river based on a the | |
285 given kilometer range. | |
286 | |
287 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New. | |
288 This state creates a set of elements for the DESCRIBE that consist of a | |
289 tuple of kilometer values. The number of elements depend on the number | |
290 of gauges intersected by the given kilometer range. | |
291 | |
292 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java: | |
293 New. This state is the output state that is reached after the 'discharge | |
294 longitudinal section' computation has been chosen. | |
295 | |
296 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
297 | |
298 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default | |
299 step width between two kilometers added - if no step width is given, | |
300 this default width is used. | |
301 | |
302 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
303 | |
304 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
305 Fixed a potential NullPointerException if there is just a single | |
306 kilometer given to create a longitudinal section. | |
307 | |
308 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
309 | |
310 * pom.xml: Added http://repository.jboss.org/maven2 repo | |
311 to fix flys/issue30 | |
312 | |
313 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
314 | |
315 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
316 To make diagram generation possible ws are now generated from qs | |
317 because they are many ws having different qs. | |
318 | |
319 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
320 | |
321 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
322 Fetch the WQ data from WINFO artifact and write those values into the | |
323 CSV export. | |
324 | |
325 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
326 | |
327 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
328 methods to compute and retrieve the data for discharge curves (computed). | |
329 | |
330 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
331 Fetch the computed discharge curve data from WINFOArtifact and add the | |
332 values into the JFreeChart dataset. | |
333 | |
334 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
335 | |
336 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable | |
337 the WINFO artifact for computing discharge curves. | |
338 | |
339 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge | |
340 curves and exports for its data. | |
341 | |
342 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
343 New. This state is reached if the user chose the computed discharge | |
344 curve. | |
345 | |
346 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
347 New. This is only a stub implementation at the moment. This | |
348 OutGenerator should create computed discharge curves later. It extends | |
349 the DischargeCurveGenerator which should do the same stuff for discharge | |
350 curves for gauges. | |
351 | |
352 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
353 New. This is only a stub implementation at the moment. This OutGenerator | |
354 should create the exports of the discharge curve computation. | |
355 | |
356 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
357 | |
358 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration | |
359 curve state (CSV export). | |
360 | |
361 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve | |
362 computations. | |
363 | |
364 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New. | |
365 This abstract OutGenerator represents the base class for exporting | |
366 computed data. Currently, the CSV export is supported. | |
367 | |
368 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved | |
369 the most code to export to CSV into the AbstractExporter. | |
370 | |
371 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
372 New. This exporter exports the computed data of a duration computation. | |
373 | |
374 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
375 | |
376 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
377 Modified a wrong debug statement which would confuse the user. | |
378 | |
379 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
380 | |
381 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel | |
382 state (CSV export). | |
383 | |
384 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels. | |
385 | |
386 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New. | |
387 This OutGenerator exports the data of a waterlevel computation. Note: | |
388 It is necessary to specify the desired facet (e.g. | |
389 'waterlevel_export.csv'). | |
390 | |
391 * pom.xml: Added a dependency to OpenCSV. | |
392 | |
393 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
394 | |
395 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
396 Introduced an "export" output target. If the target is "export", a | |
397 facet (read from the incoming xml document) is a necessary parameter | |
398 that determines which facets are written to the output. | |
399 | |
400 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
401 | |
402 * src/main/resources/messages_en.properties: Bugfix: replaced german | |
403 string (copy & paste mistake). | |
404 | |
405 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
406 | |
407 * src/main/resources/messages.properties, | |
408 src/main/resources/messages_de_DE.properties, | |
409 src/main/resources/messages_en.properties, | |
410 src/main/resources/messages_de.properties: Added new i18n strings for | |
411 for the location selection. | |
412 | |
413 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
414 | |
415 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
416 New. An OutGenerator for creating duration curves. | |
417 | |
418 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A | |
419 model class to store necessary data for creating W and Q facets of a | |
420 duration curve. This model stores W, Q and Days. | |
421 | |
422 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
423 Added a function to retrieve tuples of (day, q) based on a given gauge - | |
424 these tuples are necessary for creating duration curves. | |
425 | |
426 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
427 methods to compute and retrieve the data necessary for creating duration | |
428 curves. | |
429 | |
430 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
431 Bugfix: improved the access to the location array (avoid | |
432 NullPointerException). | |
433 | |
434 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves. | |
435 | |
436 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
437 | |
438 * contrib/visualize-transitions.xsl: State quoting was done wrong. | |
439 | |
440 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
441 | |
442 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the | |
443 final state for creating duration curves. | |
444 | |
445 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
446 New. This state should be reached to just insert an array of locations. | |
447 | |
448 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java: | |
449 New. This state is reached if the duration curve calculation is | |
450 selected. | |
451 | |
452 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted | |
453 getDistance() so that it takes care on inserted locations - not just | |
454 inserted ranges. | |
455 | |
456 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
457 | |
458 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
459 Flush/persist caches at program exists. | |
460 | |
461 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
462 Commented out too eloquent debug output. | |
463 | |
464 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
465 | |
466 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
467 Uses the methods of FLYSArtifact to retrieve the necessary information | |
468 rivername and selected distance. | |
469 | |
470 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
471 | |
472 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
473 Added interpolateW method to take reference to result ws array | |
474 as an argument to avoid expensive array allocations in km iterating | |
475 loops. | |
476 | |
477 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
478 Added a constructor to create backing trove datastructure | |
479 with the right capacity. | |
480 | |
481 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
482 Move allocation of result ws out of km loop. | |
483 | |
484 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
485 | |
486 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ | |
487 selection state. Those items are necessary to store the information | |
488 about the selected mode (range/single selection) and the values of the | |
489 single selection. | |
490 | |
491 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If | |
492 there is no value for a data item, this item is not written into the | |
493 static DESCRIBE part. | |
494 | |
495 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
496 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
497 Renamed the method to validate upper and lower values. | |
498 | |
499 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
500 state can now handle values inserted in the single selection. Therefore, | |
501 new validate methods has been added. | |
502 | |
503 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
504 methods getWs() and getWs() take care on the values inserted in the | |
505 single insert mode of the client which enables the user to insert single | |
506 W and Q. | |
507 | |
508 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
509 | |
510 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
511 Repaired getQForW() by calculating indices on right dimension. | |
512 | |
513 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
514 | |
515 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
516 methods for retrieving selected W values (getWs()). | |
517 | |
518 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
519 method for retrieving waterlevel data takes care on selected Ws, now. | |
520 The selected Ws are transformed using the DischargeTables.getQForW() | |
521 into Q values. | |
522 | |
523 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
524 | |
525 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
526 Removed an unused parameter 'result' of getQForW(). | |
527 | |
528 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
529 | |
530 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed | |
531 the getDataset() method and replaced it with a addDataset() method. | |
532 On this way, concrete subclasses of this OutGenerator can have multiple | |
533 datasets (e.g. different datasets for W and Q). This abstract method is | |
534 called after the chart generation is finished. | |
535 | |
536 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
537 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
538 Both classes implement the addDataset() method. The | |
539 LongitudinalSectionGenerator has already multiple datasets for W and Q. | |
540 Both are added to the chart - both have an own range axis. | |
541 | |
542 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
543 | |
544 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
545 Use the cache for the wst value table if configured. | |
546 | |
547 * doc/conf/cache.xml: Choose a more precise name for the | |
548 wst value table cache. | |
549 | |
550 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
551 | |
552 * pom.xml: Added dependency to Ehcache. Apache 2.0 license. | |
553 | |
554 * doc/conf/conf.xml: Added configuration of ehcache. | |
555 | |
556 * doc/conf/cache.xml: New. Cache configurations. | |
557 | |
558 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
559 New. Factory to access caches. | |
560 | |
561 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
562 | |
563 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
564 Forgot to add. | |
565 | |
566 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
567 New. Given a database connection and a XML template it generates | |
568 an output with meta data about the database. | |
569 | |
570 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
571 New. Holds prepared statements optimized to be run in the stack of | |
572 contextes. | |
573 | |
574 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
575 New. Model to hold a hierarchical scope of variables. | |
576 | |
577 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
578 New. Stores data set fetched from a sql select to be iterated in | |
579 a context. | |
580 | |
581 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java, | |
582 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
583 Removed superfluous imports. | |
584 | |
585 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
586 | |
587 * doc/conf/conf.xml: Added meta data service. | |
588 | |
589 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
590 Stub for the meta data service. | |
591 | |
592 * src/main/resources/metadata/template.xml: Initial template for | |
593 the meta data service. | |
594 | |
595 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
596 | |
597 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
598 Bugfix: Now, curves for Q values are drawn into a longitudinal section | |
599 chart as well. Therefore, it was necessary to change the datastructure | |
600 of the inner class ThemeList that stores all themes included in a chart | |
601 in an ordered list (stored in a java.util.Vector now). | |
602 | |
603 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
604 | |
605 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An | |
606 abstract base class for ChartGenerators that create XY charts. | |
607 | |
608 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
609 Sourced the generate() method out to the XYChartGenerator. | |
610 | |
611 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
612 Implemented the methods to add W and Q facets to the chart. | |
613 | |
614 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
615 | |
616 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved | |
617 the calculation of the step with for ranges. | |
618 | |
619 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
620 | |
621 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a | |
622 method that returns the number of elements stored in the data pool. | |
623 | |
624 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
625 | |
626 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
627 Added a get() method which takes destination array as an | |
628 argument. | |
629 | |
630 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
631 | |
632 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the | |
633 data structure to store w, q and kms values from List<Double> to | |
634 TDoubleArrayList which stores native double values instead of big | |
635 Double values. | |
636 | |
637 * pom.xml: Added the GNU Trove dependency. | |
638 | |
639 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
640 | |
641 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the | |
642 name a the requested facet to doOut(). Concrete generators should just | |
643 create output for this facet now. | |
644 | |
645 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
646 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
647 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
648 Adapted the method signature of doOut(). | |
649 | |
650 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
651 Adapted the method call of OutGenerator.doOut(). | |
652 | |
653 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
654 | |
655 * doc/conf/themes.xml: Added mappings for the facets | |
656 longitudinal.section.w and longitudinal.section.q. | |
657 | |
658 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
659 | |
660 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some | |
661 methods to retrieve necessary information for computing the data of a | |
662 waterlevel. | |
663 | |
664 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
665 methods to compute and retrieve the data of a waterlevel computation. | |
666 | |
667 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
668 | |
669 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This | |
670 model class represents a pool of data triples that consist of W, Q and | |
671 Kms information. This class might be used to compute data for creating | |
672 longitudinal section curves (which are based on those W, Q and Kms | |
673 values). | |
674 | |
675 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
676 | |
677 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
678 Bugfix: Removed endless loop and a bug while iterating over Hibernate | |
679 results. | |
680 | |
681 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
682 | |
683 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
684 New. An OutGenerator that creates longitudinal section curves. | |
685 | |
686 NOTE: This is just the stub - the out creation needs to be implemented! | |
687 | |
688 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator. | |
689 | |
690 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
691 | |
692 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section. | |
693 | |
694 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
695 | |
696 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New. | |
697 This state should be reached if the 'calc.surface.curve' calculation | |
698 method has been chosen. | |
699 | |
700 * doc/conf/artifacts/winfo.xml: Modified a transition and added the | |
701 WaterlevelState. This state is reached if the 'calc.surface.curve' | |
702 calculation method has been chosen. It currently has 1 output - a | |
703 longitudinal section that is not implemented yet! | |
704 | |
705 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
706 | |
707 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java: | |
708 New. This transition is valid if the a data object of the current | |
709 artifact equals/notequals a configured value in the transition model. | |
710 | |
711 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
712 | |
713 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
714 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes: | |
715 - Adapted the parameters of the isStateReachable() call - added the | |
716 artifact and the current state. | |
717 - Append the outputs of a current state if the state is filled with | |
718 valid data. | |
719 | |
720 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
721 | |
722 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
723 Added the missing init() method that has been introduced in the | |
724 interface some commits ealier. | |
725 | |
726 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
727 Call init() after a Transition has been created. | |
728 | |
729 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
730 | |
731 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
732 Bugfix: Introduced a <art:outputs> node in the attribute document of a | |
733 Collection that contains further <art:output> nodes - instead of having | |
734 multiple <art:output> nodes at toplevel of the document. | |
735 | |
736 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
737 Adapted the XPath to retrieve the outputs in the attribute document of a | |
738 Collection. | |
739 | |
740 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
741 | |
742 * contrib/visualize-transitions.xsl: Added to create a | |
743 Graphviz digraph out of the config.xml. Usage: | |
744 | |
745 $ xsltproc --stringparam base-dir ../doc/conf/ \ | |
746 contrib/visualize-transitions.xsl \ | |
747 doc/conf/conf.xml > transitions.dot | |
748 | |
749 $ dot -Tsvg -o transitions.svg transitions.dot | |
750 | |
751 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
752 | |
753 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
754 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
755 If no data has been inserted so far, an IllegalArgumentException is | |
756 thrown. | |
757 | |
758 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
759 | |
760 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:: | |
761 A lot of new methods to retrieve the theme of a facet - used while | |
762 creating the output of a facet/artifact. If a facet has no theme yet, it | |
763 is initialized. | |
764 | |
765 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
766 | |
767 * src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
768 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed | |
769 useless imports. | |
770 | |
771 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
772 | |
773 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An | |
774 abstract OutGenerator that might be used to create chart output. Some | |
775 basic things that are equal in all charts should be done here! | |
776 | |
777 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
778 This OutGenerator no longer implements the OutGenerator directly, but it | |
779 extends the ChartGenerator now. | |
780 | |
781 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
782 | |
783 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
784 Restructured the out() operation of a collection: Now, we collect a list | |
785 of artifacts/facets and use this for the OutGenerator. Its doOut() | |
786 method gets the attribute of an artifact - the position and the active | |
787 state is managed by the Collection itself. | |
788 | |
789 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
790 | |
791 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New. | |
792 a specialized facet that stores information about its position and its | |
793 state (active/inactive) in an output of a collection. | |
794 | |
795 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New. | |
796 This parser takes the attributes (XML) of a collection and extracts the | |
797 contained outputs with its facets. The result is a Map<String, Output>. | |
798 | |
799 * src/main/java/de/intevation/flys/collections/OutputParser.java: New. | |
800 This parser is used to query the artifact's DESCRIBE and to extract the | |
801 supported outputs. The result is a Map<String, Output>. | |
802 | |
803 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New. | |
804 This writer merges the outputs contained in an attribute of a collection | |
805 with the outputs of a collection's artifacts. | |
806 | |
807 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
808 The attributes of a collection are written into its DESCRIBE document | |
809 now. The OutputParser and AttributeParser are used to read the supported | |
810 attributes by the collection and its artifacts - the AttributeWriter is | |
811 used to merge both attributes and create a final attribute document. | |
812 | |
813 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
814 | |
815 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java, | |
816 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
817 The facet-2-theme mappings are initialized at startup and stored in the | |
818 FLYSContext. | |
819 | |
820 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a | |
821 function that retrieves a theme from FLYSContext based on its name. | |
822 | |
823 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
824 | |
825 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
826 Corrected a silly c&p mistake. | |
827 | |
828 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
829 | |
830 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
831 | |
832 Implementation of the "Ruecksprungkorrektur" to be done in | |
833 "W fuer angepassten Abflusslaengschnitt". | |
834 | |
835 All tests show the expected results. In some corner cases the | |
836 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur" | |
837 has some definition shortcomings: | |
838 | |
839 a - What should happend when you cannot find point 2 because | |
840 you cannot step back one quarter from point 3 because there | |
841 is no data there any more (river too short in this direction)? | |
842 The implemented algorithm raises point 3' only to an | |
843 according factor. E.g. If you can step back the whole quarter | |
844 distance the elevation is the full quarter. If you can | |
845 step back only the half of the quarter the elevation is | |
846 only an eighth. | |
847 | |
848 b - If the water heights between point 2 and 3 are constant then | |
849 the algorithm will produce a spline interpolation that | |
850 lowers those values. Is this intended? | |
851 | |
852 For real data the back jumps are expected to be more in the middle | |
853 of the distance ranges so the corner cases are maybe not so | |
854 important. | |
855 | |
856 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
857 Removed superfluous import. | |
858 | |
859 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
860 | |
861 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug | |
862 code that has been commited by accident. | |
863 | |
864 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
865 | |
866 * doc/conf/themes.xml: New. A first small theme configuration. | |
867 | |
868 * doc/conf/conf.xml: Added a link to the theme configuration. | |
869 | |
870 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
871 Defined a key that is used to store a themes map in the FLYSContext. | |
872 | |
873 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
874 The theme configuration is read at startup and the themes are stores in | |
875 the FLYSContext. | |
876 | |
877 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
878 | |
879 * src/main/java/de/intevation/flys/themes/Theme.java, | |
880 src/main/java/de/intevation/flys/themes/DefaultTheme.java: | |
881 New. The interface and its default implementation that represents themes | |
882 used to style charts and maps. | |
883 | |
884 * src/main/java/de/intevation/flys/themes/ThemeField.java, | |
885 src/main/java/de/intevation/flys/themes/DefaultThemeField.java: | |
886 New. The interface and its default implementation that represents fields | |
887 in themes. A theme might be "Lines" and one of its field might be | |
888 "Color" or "Size". | |
889 | |
890 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory | |
891 that creates new themes based on a theme configuration. | |
892 | |
893 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
894 | |
895 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
896 Implementation of "Abflusskurve/Abflusstafel" calculation. | |
897 | |
898 Added method interpolateWQ() which takes an km and results in a | |
899 tuple of two double arrays containing the w/q values interpolated | |
900 between the surrounding w/q values of the table. | |
901 w values are interpolated linear, q values with a cubic spline. | |
902 | |
903 Drawing w over q gives you the discharge table at the given km. | |
904 | |
905 !!! This code needs testing !!! | |
906 | |
907 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
908 | |
909 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0) | |
910 | |
911 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
912 | |
913 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
914 Fix problem when sorting by q (copied w instead of q). | |
915 | |
916 2011-04-20 Ingo Weinzierl <ingo@intevation.de> | |
917 | |
918 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
919 Fixed broken HQL statement. | |
920 | |
921 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
922 | |
923 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
924 add a method interpolateW() which takes an array of | |
925 q values and returns an equal sized array of w values. | |
926 This is essentially the "Wasserstand/Wasserspiegellagen" calculation | |
927 of desktop FLYS. | |
928 | |
929 If you want to do a calculation with given w values you have | |
930 to convert the w values with DischargeTables.getQForW() first. | |
931 | |
932 !!! This code needs heavy testing !!! | |
933 | |
934 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
935 | |
936 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
937 We need a getQForW() method and not getWForQ() because when | |
938 doing a "Wasserstand/Wasserspiegellagen" calculation with given | |
939 w values these values need to be translated to q values with | |
940 the master discharge table. | |
941 | |
942 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
943 | |
944 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
945 Sorting of q values was done wrong. | |
946 | |
947 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
948 | |
949 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
950 Ordered the list of annotations returned by this factory based on its | |
951 range. | |
952 | |
953 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
954 | |
955 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
956 New. This service returns an XML document that includes the main values | |
957 of a gauge based on a river name, a start and an end point. | |
958 | |
959 * doc/conf/conf.xml: Registered the MainValuesService. | |
960 | |
961 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
962 | |
963 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
964 A factory that provides methods to return MainValues. | |
965 | |
966 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
967 | |
968 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
969 Added static method getWForQ() to interpolate a w value for | |
970 a given q value based on a given discharge table. | |
971 | |
972 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
973 | |
974 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
975 Added convenience constructors/methods to ease the access to the master | |
976 discharge table of a gauge. | |
977 | |
978 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
979 | |
980 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
981 Moved the query complexity into view 'wst_value_table' and | |
982 used this instead. | |
983 | |
984 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
985 | |
986 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
987 Fetches w/q value tables from the backend. TODO: Move this | |
988 to the backend and use a view. | |
989 | |
990 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
991 | |
992 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
993 the error key that is thrown if no input data was found so that the key | |
994 is usable for GWT's i18n mechanism. | |
995 | |
996 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
997 | |
998 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
999 The inserted river is validated now (overrides validate() of | |
1000 DefaultState). | |
1001 | |
1002 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1003 | |
1004 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1005 The inserted calculation method is validated now (overrides validate() | |
1006 of DefaultState). | |
1007 | |
1008 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1009 | |
1010 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1011 The input data of feed() are validated using the DefaultStates | |
1012 validate() method. | |
1013 | |
1014 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1015 New method validate() that needs to be overidden by concrete subclasses. | |
1016 It should return true, if the data of the State is fine, otherwise it | |
1017 should raise an exception. | |
1018 | |
1019 NOTE: The exceptions are not translated in the server but in the client! | |
1020 | |
1021 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New. | |
1022 This abstract class exists to provide some methods for handling ranges. | |
1023 Currently, there is a method that validates a given range based on | |
1024 min/max values. | |
1025 | |
1026 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
1027 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
1028 Implemented input data validation for ranges. | |
1029 | |
1030 NOTE: The input validation of concrete values has not been implemented | |
1031 yet! | |
1032 | |
1033 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1034 | |
1035 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1036 Removed debug code that has been commited by accident :-/ | |
1037 | |
1038 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
1039 | |
1040 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
1041 getGauge() method returns the first gauge based on the given start and | |
1042 end point of the river. | |
1043 | |
1044 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
1045 Fixed potential bugs: if no gauge could be determined, the default | |
1046 values for W and Q are the minimum and maximum double values. | |
1047 | |
1048 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1049 | |
1050 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills | |
1051 the DESCRIBE with default values for W and Q. | |
1052 | |
1053 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1054 | |
1055 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
1056 New. Returns Wst object - based on a river. | |
1057 | |
1058 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1059 | |
1060 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now | |
1061 provides some methods that return some basic objects inserted while | |
1062 parameterization: River, Gauge and so on. | |
1063 | |
1064 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1065 | |
1066 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
1067 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1068 Bugfix: Repaired broken imports of the SessionHolder. | |
1069 | |
1070 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
1071 | |
1072 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
1073 Moved this class to flys-backend. | |
1074 | |
1075 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
1076 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
1077 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
1078 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java, | |
1079 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1080 Adapted imports of the SessionHolder. | |
1081 | |
1082 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1083 | |
1084 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
1085 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1086 Acquire/release sessions in services to avoid db connection leaks. | |
1087 | |
1088 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1089 | |
1090 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1091 Changed some method signatures - added a reference to the owner | |
1092 Artifact. | |
1093 | |
1094 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
1095 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
1096 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1097 Modified method signatures based on the changes in DefaultState. | |
1098 | |
1099 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
1100 Added default values to the dynamic part of DESCRIBE. | |
1101 | |
1102 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1103 | |
1104 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1105 Added a function that returns a River object based on a given river | |
1106 name. | |
1107 | |
1108 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1109 | |
1110 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
1111 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
1112 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
1113 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
1114 Static methods are using the SessionHolder, too. | |
1115 | |
1116 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1117 | |
1118 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1119 Added the setup() method that has been added to the interface | |
1120 description in the last commits. | |
1121 | |
1122 * doc/conf/conf.xml: Registered the SessionCallContextListener as | |
1123 CallContext.Listener. | |
1124 | |
1125 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1126 | |
1127 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
1128 Bugfix: Call correct method to retrieve an instance of | |
1129 SessionFactoryProvider. | |
1130 | |
1131 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1132 | |
1133 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
1134 New. Contains thread local session holder for hibernate sessions. | |
1135 | |
1136 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1137 Uses session from SessionHolder. | |
1138 | |
1139 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1140 Interacts with SessionHolder now. | |
1141 | |
1142 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
1143 Removed superfluous import. | |
1144 | |
1145 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1146 | |
1147 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
1148 Implementation of a CallContext.Listener to open/close Hibernate | |
1149 Sessions for each request. | |
1150 | |
1151 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1152 | |
1153 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1154 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1155 Some modifications related to the last commit - modification of the | |
1156 describe() signature of a State. | |
1157 | |
1158 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
1159 | |
1160 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: | |
1161 Removed. We do not need a state to select a gauge - the selection takes | |
1162 place by choosing a start and an end point. | |
1163 | |
1164 2011-04-13 Ingo Weinzierl <ingo@intevation.de> | |
1165 | |
1166 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1167 Bugfix: added missing label node to root node and a namespace to the | |
1168 data node. | |
1169 | |
1170 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
1171 | |
1172 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1173 The name of the artifact 'winfo' is written into the DESCRIBE document | |
1174 now. We need this to have a proper way to distinguish between different | |
1175 artifacts in the UI. | |
1176 | |
1177 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
1178 | |
1179 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix: | |
1180 States are filled with data before they describe themself. | |
1181 | |
1182 2011-04-11 Ingo Weinzierl <ingo@intevation.de> | |
1183 | |
1184 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
1185 New. A factory that returns the annotations of a specific river. | |
1186 | |
1187 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
1188 New. This service provides a document that contains information about | |
1189 distances of a river. | |
1190 | |
1191 * doc/conf/conf.xml: Registered the DistanceInfoService. | |
1192 | |
1193 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
1194 | |
1195 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1196 This collection overrides the out() operation now. The incoming request | |
1197 document is read and the related OutGenerator is used to create the | |
1198 output. | |
1199 | |
1200 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
1201 the code to create discharge curves. It has moved to the | |
1202 DischargeCurveGenerator which now does this work. | |
1203 | |
1204 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
1205 | |
1206 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The | |
1207 generate() method throws an IOException now. | |
1208 | |
1209 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
1210 New. This OutGenerator creates discharge curves. | |
1211 | |
1212 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
1213 | |
1214 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
1215 the visibility of the getData() method. It's now public, because the | |
1216 OutGenerator needs an artifact's data. | |
1217 | |
1218 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1219 | |
1220 * src/**/*.java: Removed trailing whitespace. | |
1221 | |
1222 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1223 | |
1224 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1225 Make project compilable again by | |
1226 commenting out a not existing XMLDebug reference. | |
1227 | |
1228 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
1229 | |
1230 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1231 Added code to parse the configured OutGenerators and to save them (in a | |
1232 map) in the FLYSContext. | |
1233 | |
1234 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
1235 Added a key that is used to save the OutGenerators Map in the context. | |
1236 | |
1237 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
1238 | |
1239 * src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
1240 New. This interface is used to generator different types of output. | |
1241 ArtifactCollections will make use of this interface to create a | |
1242 collected output of all its artifacts. | |
1243 | |
1244 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1245 | |
1246 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1247 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase | |
1248 operations instead. | |
1249 | |
1250 * TODO: Removed 'remove Backend reference' TODO. | |
1251 | |
1252 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1253 | |
1254 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the | |
1255 discharge curve output mode. This output now provides three facets - W, | |
1256 Q and the curve itself. | |
1257 | |
1258 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1259 | |
1260 Tagged RELEASE 0.1 | |
1261 | |
1262 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
1263 | |
1264 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO | |
1265 artifact configuration. | |
1266 | |
1267 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
1268 | |
1269 * src/main/resources/messages_de_DE.properties, | |
1270 src/main/resources/messages_de.properties: Changed a german string. | |
1271 | |
1272 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
1273 | |
1274 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1275 Modified the available calculation modes and its order in the DESCRIBE | |
1276 document. | |
1277 | |
1278 * src/main/resources/messages.properties, | |
1279 src/main/resources/messages_de_DE.properties, | |
1280 src/main/resources/messages_en.properties, | |
1281 src/main/resources/messages_de.properties: Adapted the names of | |
1282 calculation modes. | |
1283 | |
1284 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1285 | |
1286 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1287 Added the hash code of an artifact to the artifact part of the | |
1288 collection's DESCRIBE document. | |
1289 | |
1290 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1291 | |
1292 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed | |
1293 the background color of discharge curves to white. | |
1294 | |
1295 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1296 | |
1297 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1298 Cache the scale, too. Otherwise two calls to getValues() with | |
1299 different arguments will result in the same output. | |
1300 | |
1301 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1302 | |
1303 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1304 Introduced a 'scale' parameter in the getValues() method. | |
1305 | |
1306 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled | |
1307 the out() operation with code that draws a discharge table of one or | |
1308 more gauges specified by the given range in entered in a previous state. | |
1309 | |
1310 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
1311 | |
1312 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
1313 New. A helper class to exports charts. | |
1314 | |
1315 * pom.xml: Added dependencies to iText, Batik and JFreeChart. | |
1316 | |
1317 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1318 | |
1319 * src/main/java/de/intevation/flys/importer/PegelGltParser.java: | |
1320 Fixed swap of operands. | |
1321 | |
1322 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1323 | |
1324 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
1325 New. Load gauges for a river and filter them for given | |
1326 ranges. | |
1327 | |
1328 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1329 | |
1330 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1331 Store data in a double [][] instead of interleaved double [] | |
1332 to be compatible with org.jfree.data.xy.DefaultXYDataset. | |
1333 | |
1334 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
1335 | |
1336 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove | |
1337 the Backend reference from FLYSArtifactCollection. | |
1338 | |
1339 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
1340 | |
1341 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1342 Added missing artifact namespace of an attribute in the DESCRIBE | |
1343 document. | |
1344 | |
1345 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
1346 | |
1347 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1348 New. This ArtifactCollection overrides the DefaultArtifactCollection to | |
1349 implement FLYS specific describe() and out() operations. | |
1350 | |
1351 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the | |
1352 DefaultArtifactCollection for this application. | |
1353 | |
1354 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1355 | |
1356 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1357 New. Fetches values of discharge tables in form of packed | |
1358 w/q double arrays for given gauges. | |
1359 | |
1360 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1361 Removed needless import. | |
1362 | |
1363 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
1364 | |
1365 * src/main/resources/messages_de_DE.properties: Added a german resource | |
1366 bundle to avoid exceptions in the flys artifacts. Sometimes, the | |
1367 Resources class is not able to find a 'de_DE' bundle and throws an | |
1368 exception. This is really strange, because it should use the 'de' bundle | |
1369 in that case, but it doesn't. | |
1370 | |
1371 2011-03-23 Ingo Weinzierl <ingo@intevation.de> | |
1372 | |
1373 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
1374 some code to append the output modes of previous states to the DESCRIBE | |
1375 document. | |
1376 | |
1377 TODO: Determine if the current state is already filled with data and | |
1378 append its output modes as well! | |
1379 | |
1380 2011-03-22 Ingo Weinzierl <ingo@intevation.de> | |
1381 | |
1382 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with | |
1383 an output mode 'discharge_table'. | |
1384 | |
1385 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1386 | |
1387 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1388 Write human readable strings as label attribute into the DESCRIBE | |
1389 output. Those labels are used to be displayed in the GUI. | |
1390 | |
1391 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1392 | |
1393 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1394 Added some further calculation types. | |
1395 | |
1396 * src/main/resources/messages.properties, | |
1397 src/main/resources/messages_en.properties, | |
1398 src/main/resources/messages_de.properties: Added i18n strings for the | |
1399 calculation types | |
1400 | |
1401 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1402 | |
1403 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1404 Implemented the step-back part of the advance() operation. | |
1405 | |
1406 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
1407 | |
1408 * src/main/resources/messages_de.properties: Fixed a german umlaut. | |
1409 | |
1410 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
1411 | |
1412 * doc/conf/artifacts/winfo.xml: Added new states for entering a | |
1413 location/distance and w/q. | |
1414 | |
1415 * src/main/resources/messages.properties, | |
1416 src/main/resources/messages_en.properties, | |
1417 src/main/resources/messages_de.properties: New string for the | |
1418 location/distance and w/q input states. | |
1419 | |
1420 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
1421 | |
1422 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
1423 New. A state for the W/Q input of the WINFO parameterization. | |
1424 | |
1425 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
1426 | |
1427 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1428 Append an attribute 'uiprovider' to the dynamic UI node. | |
1429 | |
1430 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
1431 New. A state for the location/distance selection of the WINFO | |
1432 parameterization. | |
1433 | |
1434 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
1435 | |
1436 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1437 Added a new method getUIProvider() that might be overriden by concreted | |
1438 subclasses that should be rendered with a specific UIProvider. | |
1439 | |
1440 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
1441 | |
1442 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1443 The static UI part is created by the previous states now. This makes it | |
1444 possible to group the data objects (which is necessary to group the | |
1445 objects in the ui). | |
1446 | |
1447 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1448 Added a describeStatic() method that creates a node that contains the | |
1449 data of that state. | |
1450 | |
1451 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
1452 | |
1453 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1454 Removed TODO: the document contains the rivers provided by the backend | |
1455 now. | |
1456 | |
1457 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1458 | |
1459 * pom.xml: Added dependency to flys backend. | |
1460 | |
1461 * src/main/java/de/intevation/flys/artifacts/model/River.java: | |
1462 Removed. We are using the backend model now. | |
1463 | |
1464 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1465 Fetches the rivers from the backend. | |
1466 | |
1467 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1468 Import fixes. | |
1469 | |
1470 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1471 | |
1472 * doc/conf/conf.xml: Added section for database backend configuration. | |
1473 | |
1474 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1475 | |
1476 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1477 Fixed build error coming from different import of XMLUtils. | |
1478 | |
1479 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1480 | |
1481 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1482 Appended the missing label node that contains the human readable name of | |
1483 the data item. | |
1484 | |
1485 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1486 | |
1487 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1488 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1489 I18N of strings for the DESCRIBE document. | |
1490 | |
1491 * src/main/resources/messages.properties, | |
1492 src/main/resources/messages_en.properties, | |
1493 src/main/resources/messages_de.properties: I18N strings for the | |
1494 calculcation mode state. | |
1495 | |
1496 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1497 | |
1498 * doc/conf/artifacts/winfo.xml: Modified the winfo states. | |
1499 | |
1500 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted | |
1501 the artifact regarding the changes of the last commit. The states | |
1502 describe() method creates the dynamic UI node - the artifact needs to | |
1503 apply this node. | |
1504 | |
1505 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1506 New. The state for choosing the calculation mode. | |
1507 | |
1508 * src/main/resources/messages.properties, | |
1509 src/main/resources/messages_en.properties, | |
1510 src/main/resources/messages_de.properties: Added i18n strings for the | |
1511 calculation mode state. | |
1512 | |
1513 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1514 | |
1515 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1516 New. This is the base state for the FLYS application. It provides a | |
1517 method that creates the dynamic ui node for the DESCRIBE. | |
1518 | |
1519 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
1520 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both | |
1521 classes extend the abstract base class DefaultState. | |
1522 | |
1523 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
1524 | |
1525 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
1526 New. This class retrieves the i18n strings from a ResourceBundle. | |
1527 | |
1528 * src/main/resources/messages.properties, | |
1529 src/main/resources/messages_en.properties, | |
1530 src/main/resources/messages_de.properties: Resource files for german and | |
1531 english translation. | |
1532 | |
1533 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
1534 | |
1535 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
1536 the data that have been inserted in former states into the static node | |
1537 of the DESCRIBE. | |
1538 | |
1539 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
1540 | |
1541 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
1542 operations feed() and advance() return the description of the artifact | |
1543 using the describe() operation. This avoids additional server round trips | |
1544 in the client - the clients gets to know about the new state of the | |
1545 artifact immediately. | |
1546 | |
1547 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
1548 | |
1549 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1550 Implemented a part (step forward) of the advance operation. | |
1551 | |
1552 * TODO: Implement Step-Back in advance operation. | |
1553 | |
1554 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
1555 | |
1556 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1557 Implemented the abstract method getName(). It returns the constant | |
1558 'winfo' string. | |
1559 | |
1560 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1561 Implemented the feed action. The data of an incoming feed() operation is | |
1562 stored in StateData objects that are saved in a map in the artifact. | |
1563 | |
1564 NOTE: There is no input validation and no i18n of error messages (see | |
1565 TODO). | |
1566 | |
1567 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
1568 | |
1569 * TODO: This file contains some open points that need to be done. | |
1570 | |
1571 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
1572 | |
1573 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This | |
1574 artifact serves as the default artifact for the FLYS application. | |
1575 | |
1576 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This | |
1577 artifact now inherits from FLYSArtifact. Furthermore, there is one big | |
1578 change: we don't store the State objects itself in the artifact, but | |
1579 just the identifier of those. This makes the artifact smaller and more | |
1580 compatible agains previous versions of the software. | |
1581 | |
1582 2011-03-08 Ingo Weinzierl <ingo@intevation.de> | |
1583 | |
1584 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
1585 New. This service will retrieve a list of provided rivers. | |
1586 | |
1587 * doc/conf/conf.xml: Added a configuration for the RiverService. | |
1588 | |
1589 2011-03-07 Ingo Weinzierl <ingo@intevation.de> | |
1590 | |
1591 * doc/conf/conf.xml: Added a section user-factory and collection-factory in | |
1592 the factories part of the configuration. | |
1593 | |
1594 2011-03-01 Ingo Weinzierl <ingo@intevation.de> | |
1595 | |
1596 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1597 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider' | |
1598 attribute. | |
1599 | |
1600 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
1601 | |
1602 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
1603 RiverSelect state is called to create the UI part of the describe | |
1604 document. | |
1605 | |
1606 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
1607 Implemented the dynamic UI part of describe(). The static part is not | |
1608 inserted into the describe document at the moment. We need a reference to | |
1609 the previous states for this. | |
1610 | |
1611 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
1612 | |
1613 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
1614 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model | |
1615 class that represents a river and its factory to create concrete river | |
1616 instances. | |
1617 NOTE: Currently, this is just a mockup. The factory just returns two | |
1618 static rivers "Mosel" and "Saar" without a connection to a backend. | |
1619 | |
1620 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
1621 | |
1622 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The | |
1623 input data of a state is initialized with empty StateData objects after | |
1624 the State has been created. | |
1625 | |
1626 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states | |
1627 which now fits better to the class name of the implementation. | |
1628 | |
1629 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
1630 | |
1631 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
1632 describe document returned by this artifact now contains the current state | |
1633 and the reachable states. | |
1634 | |
1635 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
1636 | |
1637 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1638 The transitions are put into the TransitionEngine with the ID of the state | |
1639 - not longer with the artifact name. On this way, we are able to fetch | |
1640 just the transitions for a specific state, instead of all the transitions | |
1641 of an artifact. | |
1642 | |
1643 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
1644 | |
1645 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe() | |
1646 returns the artifact's uuid and hash value. The whole implementation of | |
1647 describe() is still outstanding. | |
1648 | |
1649 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
1650 | |
1651 * doc/conf/artifacts/winfo.xml: Removed useless config stuff. | |
1652 | |
1653 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
1654 useless methods, and improved the init process - the first state is set as | |
1655 the current state for this artifact. | |
1656 | |
1657 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
1658 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New. | |
1659 The states are used in the first two steps of the WINFOArtifact. | |
1660 Currently, they just implement stubs of the necessary methods setup() and | |
1661 describe(). | |
1662 | |
1663 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
1664 | |
1665 * src/main/java/de/intevation/flys/artifacts/states/State.java, | |
1666 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java, | |
1667 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java: | |
1668 Removed. These classes are placed in the artifact-database now. | |
1669 | |
1670 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java, | |
1671 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
1672 Adapted imports of Transition. | |
1673 | |
1674 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New. | |
1675 This factory should be used to create concrete State objects. | |
1676 | |
1677 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added | |
1678 a constant key to store the StateEngine in the context. | |
1679 | |
1680 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1681 New method that initializes the states at application start. | |
1682 | |
1683 2011-02-03 Ingo Weinzierl <ingo@intevation.de> | |
1684 | |
1685 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The | |
1686 interface description of a state. | |
1687 | |
1688 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java, | |
1689 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
1690 New. The interface description and a default implementation of a | |
1691 transition. | |
1692 | |
1693 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java: | |
1694 New. The TransitionEngine stores all transitions for each artifact and | |
1695 should be used to determine, if an artifact can advance from one state to | |
1696 another. | |
1697 | |
1698 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
1699 New. Transitions should be created by using this class. | |
1700 | |
1701 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New. | |
1702 The Flys context. It currently defines keys to store important components | |
1703 in the context. | |
1704 | |
1705 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1706 New. The context factory initializes the basic components of the | |
1707 application. Currently, the TransitionEngine is created and all artifacts | |
1708 with its transitions are read from the global configuration and stored in | |
1709 the FLYSContext. | |
1710 | |
1711 * pom.xml: Added a dependency to the 'artifacts-common' package. | |
1712 | |
1713 * doc/conf/artifacts/winfo.xml: Corrected the classname of the | |
1714 DefaultTransition. | |
1715 | |
1716 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory. | |
1717 | |
1718 2011-02-02 Ingo Weinzierl <ingo@intevation.de> | |
1719 | |
1720 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact | |
1721 server. | |
1722 | |
1723 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an | |
1724 WINFO artifact. | |
1725 | |
1726 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of | |
1727 an artifact for a WINFO parameterization. | |
1728 | |
1729 * pom.xml: Set the source code version to 1.5. | |
1730 | |
1731 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1732 | |
1733 * src/**, pom.xml: Added initial maven project. | |
1734 * ChangeLog: new. |