class CompetitionSetupApplicationQuestionValidator {

    public void validate(QuestionForm form, BindingResult bindingResult, long questionId, CompetitionResource competitionResource) {
        validateRadioButtons(form, bindingResult, competitionResource);
        if (!competitionResource.isKtp()) {
            validateAssessmentGuidanceRows(form, bindingResult);
        }
        validateFileUploaded(form, bindingResult, questionId);
        validateTypeOfQuestion(form, bindingResult);
        validateAppendix(form, bindingResult);
    }

}