comparison app/model/Query.js @ 548:d47ee7439f44

Added new js files.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Mar 2015 12:43:52 +0100
parents
children 78e73be45aaa
comparison
equal deleted inserted replaced
547:f172b35a3b92 548:d47ee7439f44
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /**
10 * Model class for SQL-Querys
11 */
12 Ext.define('Lada.model.Query', {
13 extend: 'Ext.data.Model',
14
15 fields: [{
16 name: 'id'
17 }, {
18 name: 'name'
19 }, {
20 name: 'description'
21 }, {
22 name: 'sql'
23 }, {
24 name: 'results'
25 }, {
26 name: 'filters'
27 }],
28
29 proxy: {
30 type: 'rest',
31 url: 'lada-server/query',
32 reader: {
33 type: 'json',
34 root: 'data'
35 }
36 }
37 });

http://lada.wald.intevation.org