Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/CoordinateSelectionTransition.java @ 207:d87347142702
Store the Results of an Artifact not in the Artifact but in an ehcache instance. issue3
gnv-artifacts/trunk@263 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 23 Oct 2009 08:50:50 +0000 |
parents | 6e7952fd1744 |
children | ee2d4134d0b3 |
comparison
equal
deleted
inserted
replaced
206:01ac348ac4a4 | 207:d87347142702 |
---|---|
52 } | 52 } |
53 | 53 |
54 @Override | 54 @Override |
55 protected void purifyResult(Collection<Result> result, String uuid) { | 55 protected void purifyResult(Collection<Result> result, String uuid) { |
56 log.debug("CoordinateSelectionTransition.purifyResult"); | 56 log.debug("CoordinateSelectionTransition.purifyResult"); |
57 if (this.descibeData == null) { | 57 Collection<Object> describeData = this.getDescibeData(uuid); |
58 this.descibeData = new ArrayList<Object>(); | 58 if (describeData == null) { |
59 describeData = new ArrayList<Object>(); | |
59 } | 60 } |
60 NamedCollection<KeyValueDescibeData> keyValueDescibeData = this | 61 NamedCollection<KeyValueDescibeData> keyValueDescibeData = this |
61 .extractKVP(result, "FEATUREID", "SHAPE"); | 62 .extractKVP(result, "FEATUREID", "SHAPE"); |
62 this.descibeData.add(keyValueDescibeData); | 63 describeData.add(keyValueDescibeData); |
64 this.setDescibeData(uuid, describeData); | |
63 } | 65 } |
64 | 66 |
65 @Override | 67 @Override |
66 protected String prepareInputData4RegionDBQuery(String value) { | 68 protected String prepareInputData4RegionDBQuery(String value) { |
67 log.debug("CoordinateSelectionTransition.prepareInputData4RegionDBQuery"); | 69 log.debug("CoordinateSelectionTransition.prepareInputData4RegionDBQuery"); |