package com.exadel.service.events; import com.exadel.model.entity.events.TrainingEvent; import com.exadel.model.entity.events.TrainingFeedbackEvent; import com.exadel.model.entity.events.UserFeedbackEvent; import com.exadel.model.entity.feedback.TrainingFeedback; import org.springframework.data.domain.Page; import java.util.Collection; import java.util.List; import java.util.Optional; public interface TrainingFeedbackEventService { TrainingFeedbackEvent getEventById(String id); Collection<TrainingFeedbackEvent> getAllEvents(); Collection<TrainingFeedbackEvent> getUnwatchedEvents(); Optional<TrainingFeedbackEvent> addEvent(TrainingFeedbackEvent event); void deleteById(long id); void deleteByTrainingFeedbackId(long id); Page<TrainingFeedbackEvent> getTrainingFeedbackEvents(Integer first, Integer size); }