2013-10-07 14:20:20 -04:00
|
|
|
package com.uncc.gameday.alerts;
|
|
|
|
|
2013-10-14 13:35:21 -04:00
|
|
|
import java.util.Date;
|
2013-10-07 14:20:20 -04:00
|
|
|
import java.util.List;
|
|
|
|
|
2013-10-14 13:35:21 -04:00
|
|
|
/* Responsible for handling persistence/fetching of alerts */
|
2013-10-07 14:20:20 -04:00
|
|
|
|
|
|
|
public class AlertDB {
|
2013-10-14 13:35:21 -04:00
|
|
|
|
|
|
|
public void persist(Alert a) {
|
|
|
|
|
2013-10-07 14:20:20 -04:00
|
|
|
}
|
|
|
|
|
2013-10-14 13:35:21 -04:00
|
|
|
public void persistMultiple(List<Alert> alerts) {
|
|
|
|
|
2013-10-07 14:20:20 -04:00
|
|
|
}
|
|
|
|
|
2013-10-14 13:35:21 -04:00
|
|
|
public Alert fetch(Date d) {
|
|
|
|
|
|
|
|
return null;
|
2013-10-07 14:20:20 -04:00
|
|
|
}
|
|
|
|
|
2013-10-14 13:35:21 -04:00
|
|
|
public List<Alert> fetchMultiple(List<Date> dates) {
|
|
|
|
|
|
|
|
return null;
|
2013-10-09 19:39:20 -04:00
|
|
|
}
|
2013-10-09 20:20:04 -04:00
|
|
|
|
2013-10-14 13:35:21 -04:00
|
|
|
public List<Alert> fetchAll() {
|
|
|
|
|
2013-10-09 20:20:04 -04:00
|
|
|
return null;
|
|
|
|
}
|
2013-10-16 14:14:20 -04:00
|
|
|
|
|
|
|
public List<Alert> fetchUnread() {
|
|
|
|
return null;
|
|
|
|
}
|
2013-10-07 14:20:20 -04:00
|
|
|
}
|