class InviteAssessorsOverviewController extends CompetitionManagementCookieController<OverviewSelectionForm> {

    @GetMapping("/pending-and-declined")
    public String overview(Model model,
                           @Valid @ModelAttribute(FILTER_FORM_ATTR_NAME) OverviewAssessorsFilterForm filterForm,
                           @ModelAttribute(name = SELECTION_FORM, binding = false) OverviewSelectionForm selectionForm,
                           @SuppressWarnings("unused") BindingResult bindingResult,
                           @PathVariable("competitionId") long competitionId,
                           @RequestParam(defaultValue = "0") int page,
                           @RequestParam(value = "filterChanged", required = false) boolean filterChanged,
                           HttpServletRequest request,
                           HttpServletResponse response) {

        updateOverviewSelectionForm(request, response, competitionId, selectionForm, filterForm, filterChanged);

        model.addAttribute("model", inviteAssessorsOverviewModelPopulator.populateModel(
                competitionId,
                page,
                filterForm.getStatus(),
                filterForm.getCompliant(),
                filterForm.getAssessorName()
        ));

        return "assessors/overview";
    }

}