diff gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java @ 99:bb45c5097cb6

ehcache Integration for storing the chartresultvalues gnv-artifacts/trunk@146 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 28 Sep 2009 14:17:15 +0000
parents 1b12021905b9
children e01c163ea5b0
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java	Mon Sep 28 10:20:41 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java	Mon Sep 28 14:17:15 2009 +0000
@@ -70,7 +70,7 @@
     
     private Transition parent = null;
     
-    private Map<String,InputData> inputData = null;
+    protected Map<String,InputData> inputData = null;
     
     protected Collection<Object> descibeData = null;
     
@@ -180,7 +180,7 @@
     /**
      * @see de.intevation.gnv.transition.Transition#putInputData(java.util.Collection)
      */
-    public void putInputData(Collection<InputData> inputData) throws TransitionException {
+    public void putInputData(Collection<InputData> inputData, String uuid) throws TransitionException {
         log.debug("TransitionBase.putInputData");
         if (inputData != null){
             Iterator<InputData> it = inputData.iterator();
@@ -284,7 +284,7 @@
     /**
      * @see de.intevation.gnv.transition.Transition#advance()
      */
-    public void advance() throws TransitionException {
+    public void advance(String uuid) throws TransitionException {
         log.debug("TransitionBase.advance");
         try {
             List<String> list = new ArrayList<String>();
@@ -316,7 +316,7 @@
                     QueryExecutor queryExecutor = QueryExecutorFactory.getInstance().getQueryExecutor();
                     result = queryExecutor.executeQuery(this.queryID, filterValues);
                 }
-                this.purifyResult(result);
+                this.purifyResult(result, uuid);
             } catch (RuntimeException e) {
                 log.error(e,e);
             }
@@ -362,7 +362,7 @@
     /**
      * @param result
      */
-    protected void purifyResult(Collection<Result> result) {
+    protected void purifyResult(Collection<Result> result, String uuid) {
         if (this.descibeData == null){
             this.descibeData = new ArrayList<Object>();
         }

http://dive4elements.wald.intevation.org