Mercurial > dive4elements > gnv-client
changeset 182:4896d4f94bdc
Bugfix ChartValues were not Recalculated after feed was called second Time.
gnv-artifacts/trunk@226 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 16 Oct 2009 08:17:21 +0000 |
parents | 81031e7ce2b8 |
children | 3e4256a6b48b |
files | gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java |
diffstat | 2 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Fri Oct 16 08:09:31 2009 +0000 +++ b/gnv-artifacts/ChangeLog Fri Oct 16 08:17:21 2009 +0000 @@ -1,9 +1,15 @@ 2009-10-16 Tim Englich <tim.englich@intevation.de> + * src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java (putInputData): + Bugfix ChartValues were not Recalculated after feed was called second Time. + +2009-10-16 Tim Englich <tim.englich@intevation.de> + * src/test/ressources/conf.xml: Bugfix in MinMaxTransition the Maxvalue was not the correct Value. 2009-10-16 Tim Englich <tim.englich@intevation.de> + * src/main/java/de/intevation/gnv/transition/CoordinateSelectionTransition.java (convert2DisplayCoordinate): Added Transformation from WKT-Coordinate Reperesentation to BSH-Coordinate Representation. issue38
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Fri Oct 16 08:09:31 2009 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java Fri Oct 16 08:17:21 2009 +0000 @@ -151,6 +151,18 @@ } return null; } + + protected void removeChartResult(String uuid) { + log.debug("OutputTransitionBase.getChartResult"); + if (CacheFactory.getInstance().isInitialized()) { + String key = uuid + super.getID(); + log.debug("Hash for Queryelements: " + key); + Element value = CacheFactory.getInstance().getCache().get(key); + if (value != null) { + CacheFactory.getInstance().getCache().remove(key); + } + } + } /** * @see de.intevation.gnv.transition.TransitionBase#purifyResult(java.util.Collection, @@ -166,4 +178,23 @@ } } + /** + * @see de.intevation.gnv.transition.TransitionBase#putInputData(java.util.Collection, java.lang.String) + */ + @Override + public void putInputData(Collection<InputData> inputData, + String uuid) + throws TransitionException { + log.debug("OutputTransitionBase.putInputData"); + this.removeChartResult(uuid); + super.putInputData(inputData, uuid); + } + + public void out(String outputMode, Collection<InputData> inputData, + OutputStream outputStream, String uuid, CallMeta callMeta) + throws TransitionException { + } + + + }