class InterviewAllocationController extends CompetitionManagementCookieController<InterviewAllocationSelectionForm> {

    @GetMapping("/unallocated-applications/{assessorId}")
    public String applications(@ModelAttribute(name = SELECTION_FORM, binding = false) InterviewAllocationSelectionForm selectionForm,
                               Model model,
                               @PathVariable("competitionId") long competitionId,
                               @PathVariable("assessorId") long assessorId,
                               @RequestParam(value = "page", defaultValue = "0") int page,
                               HttpServletRequest request,
                               HttpServletResponse response) {
        updateSelectionForm(request, response, competitionId, assessorId, selectionForm);
        model.addAttribute("model", unallocatedInterviewApplicationsModelPopulator.populateModel(
                competitionId,
                assessorId,
                page
        ));
        return "assessors/interview/unallocated-applications";
    }

}