class InterviewAssignmentServiceImpl implements InterviewAssignmentService {

    @Override
    @Transactional(readOnly = true)
    public ServiceResult<List<Long>> getAvailableApplicationIds(long competitionId) {
        return serviceSuccess(
                simpleMap(
                        applicationRepository.findSubmittedApplicationsNotOnInterviewPanel(competitionId),
                        Application::getId
                )
        );
    }

}