49505152535455565758
{ checkDir( request ); } dModel = new ModelAndView("admin"); dModel.addObject( "dish" , new mDish() ); dModel.addObject( "listtype" , dService.getDishTypes() ); return dModel; }
303132333435363738
ArrayList<mDish> list = new ArrayList<mDish>(); ArrayList<eDish> elist = daoDish.ReadAll(); for (eDish dish : elist) { list.add( new mDish( dish ) ); } this.list = list; }
43444546474849505152
{ ArrayList<mDish> list = new ArrayList<mDish>(); for (eDish dish : daoDish.getDishesByIds(idList)) { list.add( new mDish( dish ) ); } return list; }
585960616263646566
ArrayList<mDish> list = new ArrayList<mDish>(); ArrayList<eDish> elist = daoDish.getDishesByType(id); for (eDish dish : elist) { list.add( new mDish( dish ) ); } this.list = list; }
454647484950515253
ArrayList<eDish> elist = daoDish.ReadAll(); for (eDish dish : elist) { list.add( new mDish( dish ) ); } return list; }
81828384858687
@Override @Transactional public mDish getDish( String id ) { return new mDish( daoDish.Read( Convector.StringToInt(id) ) ); }
14151617181920
protected HibernateDish daoDish; @Transactional public mDish getDish( String id ) { return new mDish( daoDish.Read( Convector.StringToInt(id) ) ); }