raimund@548: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz raimund@548: * Software engineering by Intevation GmbH raimund@548: * raimund@548: * This file is Free Software under the GNU GPL (v>=3) raimund@548: * and comes with ABSOLUTELY NO WARRANTY! Check out raimund@548: * the documentation coming with IMIS-Labordaten-Application for details. raimund@548: */ raimund@548: raimund@548: /** raimund@548: * A ProbeList. raimund@548: * This class represents the result list of 'Proben' in the search query raimund@548: * */ raimund@548: Ext.define('Lada.model.ProbeList', { raimund@548: extend: 'Ext.data.Model', raimund@548: raimund@548: fields: [{ raimund@1111: name: 'pid', raimund@1111: mapping: 'id' raimund@1111: }, { raimund@548: name: 'readonly' dustin@856: }, { dustin@856: name: 'owner' raimund@548: }], raimund@548: raimund@548: idProperty: 'id', raimund@548: raimund@548: proxy: { raimund@548: type: 'rest', dustin@999: url: 'lada-server/rest/probe', raimund@548: reader: { raimund@548: type: 'json', dustin@670: root: 'data', dustin@670: totalProperty: 'totalCount' raimund@548: } raimund@548: } raimund@548: });