annotate app/store/Verwaltungseinheiten.js @ 483:a43cfdd73757

Added tag 1.0 for changeset a9184ba5ee17
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 21 Jan 2014 17:05:58 +0100
parents debfcc7713e3
children
rev   line source
472
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
2 * Software engineering by Intevation GmbH
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
3 *
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
4 * This file is Free Software under the GNU GPL (v>=3)
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
6 * the documentation coming with IMIS-Labordaten-Application for details.
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
7 */
debfcc7713e3 Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 457
diff changeset
8
337
39297b8e5ba2 Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 260
diff changeset
9 /**
39297b8e5ba2 Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 260
diff changeset
10 * Store for Verwaltungseinheiten
39297b8e5ba2 Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 260
diff changeset
11 */
153
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
12 Ext.define('Lada.store.Verwaltungseinheiten', {
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
13 extend: 'Ext.data.Store',
449
c22b24926500 Added lon/lat coordinates to varwaltungseinheiten store.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 431
diff changeset
14 fields: ['gemId', 'bezeichnung', 'longitude', 'latitude'],
260
70a1b5962930 Issue50: Added sorting on the most stores.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 153
diff changeset
15 sorters: [{
422
f9bb1ecf6462 Removed trailing commas.
Raimund Renkert <rrenkert@intevation.de>
parents: 415
diff changeset
16 property: 'bezeichnung'
260
70a1b5962930 Issue50: Added sorting on the most stores.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 153
diff changeset
17 }],
457
e7fea42c1432 Autoload Verwaltungseinheiten. We need the store already load on orte listing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 449
diff changeset
18 autoLoad: true,
153
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
19 proxy: {
427
7d80feaa4a7f The proxy to REST for Verwaltungseinheiten
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 415
diff changeset
20 type: 'rest',
153
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
21 api: {
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
22 read: 'server/rest/verwaltungseinheit'
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
23 },
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
24 reader: {
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
25 type: 'json',
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
26 root: 'data'
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
27 }
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
28 }
e9fb4814153a Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
29 });

http://lada.wald.intevation.org