⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 examdao.java

📁 struts在线考试系统. 自己还没看
💻 JAVA
字号:
package com.lili.exam.dao;


import java.util.List;

import com.lili.exam.pojo.CChoice;
import com.lili.exam.pojo.SelectOne;
import com.lili.exam.pojo.Student;
import com.lili.exam.pojo.Subject;
import com.lili.exam.pojo.Teacher;

public interface ExamDao {
	void saveOrUpdateStudent(Student student)throws Exception;
	
	void savaOrUpdateTeacher(Teacher teacher)throws Exception;
	
	void saveOrUpdateChoice (CChoice choice)throws Exception;
	
	void saveOrUpdateSelectOne(SelectOne selectOne)throws Exception;
	
	Student getStudentByName(String name)throws Exception;
	
	Student getStudentByXuehao(String xuehao)throws Exception;
	
	Teacher getTeacherByName(String name)throws Exception;
	
	List<Student> listStudents() throws Exception;
	
	Subject getSubjectByName(String name) throws Exception;
	
	void saveOrUpdateSubject (Subject subject)throws Exception;
	
	void changeState() throws Exception;
	
	int getSelectOneNum(Subject subject) throws Exception;;
	
	int getChoiceOneNum(Subject subject) throws Exception;
	
	SelectOne getSelectOne(int num) throws Exception;
	
	CChoice getChoice (int num)throws Exception;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -