comparison flys-backend/src/main/java/de/intevation/flys/model/Gauge.java @ 3791:e72c7fe202dd

Remove obsolet method flys-backend/trunk@5418 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Mon, 10 Sep 2012 12:16:28 +0000
parents 6546c0bbc6f9
children 5fea100c5334
comparison
equal deleted inserted replaced
3790:6546c0bbc6f9 3791:e72c7fe202dd
324 } 324 }
325 325
326 return new MinMaxWQ(minw, maxw, minq, maxq); 326 return new MinMaxWQ(minw, maxw, minq, maxq);
327 } 327 }
328 328
329 /** XXX: Can some one (ingo) tell me, what's the difference
330 to simple call of getMainValues()? */
331 public List<MainValue> fetchMainValues() {
332 // TODO: Use getMainValues() instead.
333 Session session = SessionHolder.HOLDER.get();
334
335 Query query = session.createQuery(
336 "from MainValue where gauge=:gauge");
337 query.setParameter("gauge", this);
338
339 return query.list();
340 }
341 } 329 }
342 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 330 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org