15 |
import org.simpleframework.xml.Serializer; |
import org.simpleframework.xml.Serializer; |
16 |
import org.simpleframework.xml.core.Persister; |
import org.simpleframework.xml.core.Persister; |
17 |
|
|
18 |
|
import dk.thoerup.android.traininfo.common.StationBean; |
19 |
|
|
20 |
/** |
/** |
21 |
* Servlet implementation class LocateStations |
* Servlet implementation class LocateStations |
22 |
*/ |
*/ |
64 |
Statistics.getInstance().incrementStationLookupsFavorites(); |
Statistics.getInstance().incrementStationLookupsFavorites(); |
65 |
String list = transformToIntList( req.getParameter("list")); |
String list = transformToIntList( req.getParameter("list")); |
66 |
stations = stationDao.getByList(list); |
stations = stationDao.getByList(list); |
67 |
|
} else if (req.getParameter("dump") != null) { |
68 |
|
stations = stationDao.dumpAll(); |
69 |
} |
} |
70 |
return stations; |
return stations; |
71 |
} |
} |