-
-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathVideoLearningEventDao.java
More file actions
22 lines (14 loc) · 898 Bytes
/
VideoLearningEventDao.java
File metadata and controls
22 lines (14 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package ai.elimu.dao;
import ai.elimu.dao.enums.OrderDirection;
import ai.elimu.entity.analytics.VideoLearningEvent;
import ai.elimu.model.v2.enums.analytics.research.ExperimentGroup;
import ai.elimu.model.v2.enums.analytics.research.ResearchExperiment;
import java.util.Calendar;
import java.util.List;
import org.springframework.dao.DataAccessException;
public interface VideoLearningEventDao extends GenericDao<VideoLearningEvent> {
VideoLearningEvent read(Calendar timestamp, String androidId, String packageName) throws DataAccessException;
List<VideoLearningEvent> readAllOrderedByTimestamp(OrderDirection orderDirection) throws DataAccessException;
List<VideoLearningEvent> readAll(String androidId) throws DataAccessException;
List<VideoLearningEvent> readAll(ResearchExperiment researchExperiment, ExperimentGroup experimentGroup) throws DataAccessException;
}