mirror of https://github.com/tasks/tasks
Boilerplate daos for the outstanding entities
parent
1a151f7891
commit
5a41043e9d
@ -0,0 +1,12 @@
|
||||
package com.todoroo.astrid.dao;
|
||||
|
||||
import com.todoroo.andlib.data.DatabaseDao;
|
||||
import com.todoroo.astrid.data.OutstandingEntry;
|
||||
|
||||
public class OutstandingEntryDao<TYPE extends OutstandingEntry<?>> extends DatabaseDao<TYPE> {
|
||||
|
||||
public OutstandingEntryDao(Class<TYPE> modelClass) {
|
||||
super(modelClass);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.todoroo.astrid.dao;
|
||||
|
||||
import com.todoroo.astrid.data.TagOutstanding;
|
||||
|
||||
public class TagOutstandingDao extends OutstandingEntryDao<TagOutstanding> {
|
||||
|
||||
public TagOutstandingDao() {
|
||||
super(TagOutstanding.class);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.todoroo.astrid.dao;
|
||||
|
||||
import com.todoroo.astrid.data.TaskOutstanding;
|
||||
|
||||
public class TaskOutstandingDao extends OutstandingEntryDao<TaskOutstanding> {
|
||||
|
||||
public TaskOutstandingDao() {
|
||||
super(TaskOutstanding.class);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue