scoredao.java
来自「are are are are are are are are are are 」· Java 代码 · 共 43 行
JAVA
43 行
/*
* ScoreDao.java
*
* Created on 2006年5月19日, 上午8:19
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package enova.dao;
import java.util.List;
import enova.pojo.*;
/**
*
* @author vlinux
*/
public interface ScoreDao {
public Score get(Integer studentId, Integer courseId) throws DataAccessException;
//public void update(Score score) throws DataAccessException;
public void insert(Score score) throws RecordExistException, DataAccessException;
//public void updateOrInsert(Score score) throws RecordExistException, DataAccessException;
public void delete(Integer studentId, Integer courseId) throws DataAccessException;
public void update(Integer studentId,Integer courseId,Integer grade) throws DataAccessException;
public void clean(Integer studentId,Integer courseId) throws DataAccessException;
public void cleanByClassId(Integer classId,Integer courseId) throws DataAccessException;
public void cleanByClassIdAndYearAndTerm(Integer classId,Integer year,String term) throws DataAccessException;
public List getByTeacherIdAndCourseIdAndClassIdSortNumber(Integer teacherId,Integer courseId,Integer classId) throws DataAccessException;
public List getByStudentIdAndYearAndTerm(Integer studentId,Integer year,String term) throws DataAccessException;
public List getByStudentIdSortYearAndTerm(Integer studentId) throws DataAccessException;
public List getByClassIdSortYearAndTermAndNumber(Integer classId) throws DataAccessException;
public List getByClassIdAndYearAndTermSortNumber(Integer classId,Integer year,String term) throws DataAccessException;
public List getByNumberAndYearAndTerm(String number,Integer year,String term) throws DataAccessException;
public List getByNumber(String number) throws DataAccessException;
public void updateByTeacherIdAndStudentIdAndCourseId(Integer teacherId,Integer studentId,Integer courseId,Integer value)
throws DataAccessException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?