studentdao.java

来自「are are are are are are are are are are 」· Java 代码 · 共 32 行

JAVA
32
字号
/*
 * StudentDao.java
 *
 * Created on 2006年5月19日, 上午8:17
 *
 * 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 StudentDao {
    
    public Student get(Integer studentId) throws DataAccessException;
    public void updateOrInsert(Student student)  throws RecordExistException, DataAccessException;
    public void delete(Integer studentId) throws DataAccessException;
    public Student loginVerify(String number,String password) throws DataAccessException;
    public void changePassword(String number,String oldPassword,String newPassword) throws DataAccessException;
    public List getByClassIdSortNumber(Integer classId) throws DataAccessException;
    public List getByName(String name) throws DataAccessException;
    public List getByClassIdAndName(Integer classId,String name) throws DataAccessException;
    public List getByNumber(String number) throws DataAccessException;
    
}

⌨️ 快捷键说明

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