comparison gnv-artifacts/ChangeLog @ 607:292fbcd5e9ac

Parted the cache blob into pieces and changed the way how user input is stored on each state. gnv-artifacts/trunk@673 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 10 Feb 2010 11:43:35 +0000
parents 9efc1c256dbb
children 74dfb9346574
comparison
equal deleted inserted replaced
606:9efc1c256dbb 607:292fbcd5e9ac
1 2010-02-10 Ingo Weinzierl <ingo.weinzierl@intevation.de>
2
3 * src/main/java/de/intevation/gnv/state/State.java: New method 'feed' in
4 this interface. It should be used to feed this state with new data
5 selected by the user.
6
7 * src/main/java/de/intevation/gnv/artifacts/GNVArtifactBase.java: Use new
8 method 'feed' instead of 'putInputData' to feed the state with new data.
9
10 * src/main/java/de/intevation/gnv/state/profile/horizontal/NorthSouthEastWestState.java,
11 src/main/java/de/intevation/gnv/state/CoordinateSelectionState.java,
12 src/main/java/de/intevation/gnv/state/SingleInputState.java: Method
13 'purifyResult' just cleans values from database and returns it. DO NOT
14 put these results into cache at this place!
15
16 * src/main/java/de/intevation/gnv/state/InputData.java,
17 src/main/java/de/intevation/gnv/state/DefaultInputData.java: Some new
18 methods to store objects in such an InputData object. Objects are used to
19 store MinMaxDescribeData objects for example. And further new methods to
20 store a description for each InputData object. This is used to render the
21 static GUI part. Until now, this object stored the id's of the
22 selected parameter, only - which are useless to show in GUI. The
23 description should be the string shown in the GUI, later.
24
25 * src/main/java/de/intevation/gnv/state/MinMaxState.java: This type of state
26 overrides 'feed' and 'appendToStaticNode'. 'feed' takes user input and
27 parses min and max values from it (used for time periods for example).
28 'appendToStaticNode' will append these fields to the static GUI part.
29
30 * src/main/java/de/intevation/gnv/state/StateBase.java: Removed the big
31 cache blob and parted it into pieces. Each state will now put its
32 database data into cache. In this way, we are able to reuse these data
33 when the user steps back in history. Data, inserted by the user, will be
34 stored via 'feed'. Special input fields like multi selection or ranges
35 need to override this method to parse the input data and store them in
36 special objects.
37
38 TODOs:
39 - The output modes are based on this big cache blob and search for
40 parameterid, measurementid and dateid in it.
41 TimeSeriesOutputState.getCollection() needs to be adapted!
42
1 2010-02-09 Tim Englich <tim.englich@intevation.de> 43 2010-02-09 Tim Englich <tim.englich@intevation.de>
2 44
3 * src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultFIS.java (addParameter), 45 * src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultFIS.java (addParameter),
4 src/main/java/de/intevation/gnv/artifacts/services/requestobjects/FIS.java (addParameter): 46 src/main/java/de/intevation/gnv/artifacts/services/requestobjects/FIS.java (addParameter):
5 Added the possibility to add Parameters to an existing FIS. 47 Added the possibility to add Parameters to an existing FIS.

http://dive4elements.wald.intevation.org