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

📄 examservice.java

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

import java.awt.Choice;
import java.util.List;

import com.lili.common.exception.ExamException;
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 ExamService {

	void saveOrUpdateStudent(Student student) throws ExamException;

	void savaOrUpdateTeacher(Teacher teacher) throws ExamException;

	void saveOrUpdateChoice(CChoice c) throws ExamException;

	void saveOrUpdateSelectOne(SelectOne selectOne) throws ExamException;

	Student getStudentByName(String name) throws ExamException;

	Student getStudentByXuehao(String xuehao) throws ExamException;

	Teacher getTeacherByName(String name) throws ExamException;

	List<Student> listStudents() throws ExamException;

	Subject getSubjectByName(String name) throws ExamException;

	void saveOrUpdateSubject(Subject subject) throws ExamException;

	void changeState() throws ExamException;

	int getSelectOneNum(Subject subject) throws ExamException;

	int getChoiceNum(Subject subject) throws ExamException;

	SelectOne getSelectOne(int num) throws ExamException;

	CChoice getChoice(int num) throws ExamException;

}

⌨️ 快捷键说明

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