[Lada-commits] [PATCH 1 of 2] Added new stores for messprogramm and Probe queries

Wald Commits scm-commit at wald.intevation.org
Tue Apr 28 10:56:56 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1430211401 -7200
# Node ID 344330d3d1cd9e6fee51cfa6e61ed0c0a4b04f4c
# Parent  3ffecbce17d6ba727768d7718fff9c3573e01919
Added new stores for messprogramm and Probe queries.

diff -r 3ffecbce17d6 -r 344330d3d1cd app/store/MessprogrammQueries.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/store/MessprogrammQueries.js	Tue Apr 28 10:56:41 2015 +0200
@@ -0,0 +1,24 @@
+/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
+ * Software engineering by Intevation GmbH
+ *
+ * This file is Free Software under the GNU GPL (v>=3)
+ * and comes with ABSOLUTELY NO WARRANTY! Check out
+ * the documentation coming with IMIS-Labordaten-Application for details.
+ */
+
+/**
+ * Store for Queries
+ */
+Ext.define('Lada.store.MessprogrammQueries', {
+    extend: 'Ext.data.Store',
+    model: 'Lada.model.Query',
+    proxy: {
+        type: 'rest',
+        url: 'lada-server/query/messprogramm',
+        reader: {
+            type: 'json',
+            root: 'data'
+        }
+    },
+    autoLoad: true
+});
diff -r 3ffecbce17d6 -r 344330d3d1cd app/store/ProbeQueries.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/store/ProbeQueries.js	Tue Apr 28 10:56:41 2015 +0200
@@ -0,0 +1,16 @@
+/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
+ * Software engineering by Intevation GmbH
+ *
+ * This file is Free Software under the GNU GPL (v>=3)
+ * and comes with ABSOLUTELY NO WARRANTY! Check out
+ * the documentation coming with IMIS-Labordaten-Application for details.
+ */
+
+/**
+ * Store for Queries
+ */
+Ext.define('Lada.store.ProbeQueries', {
+    extend: 'Ext.data.Store',
+    model: 'Lada.model.Query',
+    autoLoad: true
+});


More information about the Lada-commits mailing list