class TracingSearchPresenter extends RecordSearchPresenter {

    @Override
    protected List<Long> getSearchResult(Map<String, String> searchConditions) {
        String id = searchConditions.get(ID);
        String name = searchConditions.get(NAME);
        int ageFrom = Integer.valueOf(searchConditions.get(AGE_FROM));
        int ageTo = Integer.valueOf(searchConditions.get(AGE_TO));
        String dateOfInquiry = searchConditions.get(DATE_OF_INQUIRY);

        return tracingService.getSearchResult(id, name, ageFrom, ageTo, getDate(dateOfInquiry));
    }

    @Inject public  TracingSearchPresenter(TracingService tracingService);

}