package com.google.android.apps.paco;

public class JavascriptEventLoader {
  private ExperimentProviderUtil experimentProviderUtil;
  private Experiment experiment;

  /**
   * 
   */
  JavascriptEventLoader(ExperimentProviderUtil experimentProviderUtil, Experiment experiment) {
    this.experimentProviderUtil = experimentProviderUtil;
    this.experiment = experiment;
  }

  public String loadAllEvents() {
    experimentProviderUtil.loadEventsForExperiment(experiment);    
    final Feedback feedback = experiment.getFeedback().get(0);
    return FeedbackActivity.convertExperimentResultsToJsonString(feedback, experiment);  
  }
}
@@ -32,16 +32,39 @@
 .paco;%0A%0A
+import java.util.Map;%0A%0A
 public c
@@ -653,9 +653,154 @@
 ;  %0A  %7D%0A
+  %0A  public void saveResponse(Map%3CString, String%3E responses) %7B%0A    throw new IllegalArgumentException(%22Save response not yet implemented!%22);%0A  %7D%0A
 %7D

add placeholder for write endpoint