Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java @ 439:8975de9d7483
Loop through configuration to chart generation.
gnv-artifacts/trunk@487 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 28 Dec 2009 16:24:05 +0000 |
parents | bed9735adf84 |
children | 9c2767fcb388 |
comparison
equal
deleted
inserted
replaced
438:7399bb8f83ea | 439:8975de9d7483 |
---|---|
20 import de.intevation.gnv.chart.ChartLabels; | 20 import de.intevation.gnv.chart.ChartLabels; |
21 import de.intevation.gnv.geobackend.base.Result; | 21 import de.intevation.gnv.geobackend.base.Result; |
22 import de.intevation.gnv.state.exception.StateException; | 22 import de.intevation.gnv.state.exception.StateException; |
23 import de.intevation.gnv.state.timeseries.TimeSeriesOutputState; | 23 import de.intevation.gnv.state.timeseries.TimeSeriesOutputState; |
24 import de.intevation.gnv.statistics.Statistics; | 24 import de.intevation.gnv.statistics.Statistics; |
25 | |
26 import de.intevation.artifacts.CallContext; | |
25 | 27 |
26 /** | 28 /** |
27 * @author Tim Englich <tim.englich@intevation.de> | 29 * @author Tim Englich <tim.englich@intevation.de> |
28 * | 30 * |
29 */ | 31 */ |
55 Collection dates, | 57 Collection dates, |
56 Object result, | 58 Object result, |
57 Locale locale, | 59 Locale locale, |
58 String uuid, | 60 String uuid, |
59 boolean linesVisible, | 61 boolean linesVisible, |
60 boolean shapesVisible | 62 boolean shapesVisible, |
63 CallContext callContext | |
61 ) { | 64 ) { |
62 Chart chart = null; | 65 Chart chart = null; |
63 | 66 |
64 if (CACHE_CHART) { | 67 if (CACHE_CHART) { |
65 log.info("Try to get horizontalcrosssection chart from cache."); | 68 log.info("Try to get horizontalcrosssection chart from cache."); |
66 chart = (Chart) getChartFromCache(uuid); | 69 chart = (Chart) getChartFromCache(uuid, callContext); |
67 } | 70 } |
68 | 71 |
69 if (chart != null) | 72 if (chart != null) |
70 return chart; | 73 return chart; |
71 | 74 |