class IncidentSearchPresenter extends RecordSearchPresenter {

    @Override
    protected List<Long> getSearchResult(Map<String, String> searchConditions) {
        String id = searchConditions.get(ID);
        String survivorCode = searchConditions.get(SURVIVOR_CODE);
        int ageFrom = Integer.valueOf(searchConditions.get(AGE_FROM));
        int ageTo = Integer.valueOf(searchConditions.get(AGE_TO));
        String typeOfViolence = searchConditions.get(TYPE_OF_VIOLENCE);
        String location = searchConditions.get(LOCATION);
        return incidentService.getSearchResult(id, survivorCode, ageFrom, ageTo, typeOfViolence, location);
    }

    @Inject public  IncidentSearchPresenter(IncidentService incidentService, IncidentFormService incidentFormService);

}