examservice.java

来自「struts在线考试系统. 自己还没看」· Java 代码 · 共 46 行

JAVA
46
字号
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 + =
减小字号Ctrl + -
显示快捷键?