示例#1
0
 @Override
 public List<Teacher> listAll() {
   return teacherDao.listAll();
 }
示例#2
0
 @Override
 public Teacher retrieveTeacherById(long id) {
   return teacherDao.get(id);
 }
示例#3
0
 @Override
 @Transactional(readOnly = false)
 public void deleteTeacher(Teacher teacher) {
   teacherDao.delete(teacher);
 }
示例#4
0
 @Override
 @Transactional(readOnly = false)
 public void newTeacher(Teacher teacher) {
   teacherDao.add(teacher);
 }