Exemple #1
0
 public long insertClass(DanceClass danceClass) {
   return db.insertClass(danceClass.getName(), danceClass.getDescription());
 }
Exemple #2
0
 public List<DanceClass> getDanceClasses() {
   return extractDanceClassesFromDbResults(db.getClasses());
 }
Exemple #3
0
 public CatalogueDAO(Context context) {
   db = DatabaseDAO.getInstance(context);
 }