/* * (non-Javadoc) * * @see nl.cybercompany.treinadvies.web.pages.application.business.ReisplannerService#planReis(nl. * cybercompany.treinadvies.domain.Station, * nl.cybercompany.treinadvies.web.pages.application.domain.Station) */ @Override @Cacheable(cacheName = "reisadviesCache") public ReisAdvies planReis(ReisVraag reisVraag) throws NoResultException { return convert( nsApiClient.getReisAdvies( Station.createSimple(reisVraag.getVertrekStation()), Station.createSimple(reisVraag.getAankomstStation()), reisVraag.getTijd()), reisVraag); }
@Override public StationList getStationList() { return nsApiClient.fetchStationsList(); }