annotate app/model/Deskriptor.js @ 1126:f1d234a7adc7

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 24 May 2016 10:41:07 +0200
parents f73ca04d73a7
children
rev   line source
769
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 /**
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 *
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 */
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 Ext.define('Lada.model.Deskriptor', {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 extend: 'Ext.data.Model',
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 /**
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8 * Fields are:
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 * - ...
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 */
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 fields: [{
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 name: 'bedeutung'
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 }, {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 name: 'beschreibung'
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
15 }, {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
16 name: 'ebene'
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
17 }, {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
18 name: 'id'
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 }, {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 name: 'sn'
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
21 }, {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22 name: 'sXx'
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
23 }],
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 idProperty: 'id',
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
27 proxy: {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
28 type: 'rest',
999
f73ca04d73a7 Refactored Server URL
Dustin Demuth <dustin@intevation.de>
parents: 769
diff changeset
29 url: 'lada-server/rest/deskriptor',
769
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
30 reader: {
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
31 type: 'json',
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
32 root: 'data',
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
33 totalProperty: 'totalCount'
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
34 }
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
35 }
274a843caf44 Added model and store for deskriptoren.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
36 });

http://lada.wald.intevation.org