class IncidentListPresenter extends RecordListPresenter {

    @Override
    public List<Long> getRecordsByFilter(SpinnerState spinnerState) {
        switch (spinnerState) {
            case AGE_ASC:
                return incidentService.getAllOrderByAgeASC();
            case AGE_DES:
                return incidentService.getAllOrderByAgeDES();
            case INTERVIEW_DATE_ASC:
                return incidentService.getAllOrderByDateASC();
            case INTERVIEW_DATE_DES:
                return incidentService.getAllOrderByDateDES();
            default:
                return new ArrayList<>();
        }
    }

    @Inject public  IncidentListPresenter(IncidentService incidentService, IncidentFormService
            incidentFormService, RecordService recordService);

}