/** * Search for a placement by road ref. * * @param request search parameters * @return */ public Optional<RoadPlacement> findPlacement(RoadRefRequest request) { return getResults( "vegreferanse", request.getQueryParam(), request.getProjection().orElse(null)); }
/** * @param request * @return * @deprecated Use {@link #findPlacement(RefLinkRequest)} */ @Deprecated public RoadPlacement getRoadPlacement(RoadRefRequest request, Projection projection) { return getResults("vegreferanse", request.getQueryParam(), projection).orElse(null); }