changeset 748:344330d3d1cd

Added new stores for messprogramm and Probe queries.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 28 Apr 2015 10:56:41 +0200
parents 3ffecbce17d6
children 78e73be45aaa
files app/store/MessprogrammQueries.js app/store/ProbeQueries.js
diffstat 2 files changed, 40 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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
+});
--- /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
+});

http://lada.wald.intevation.org