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

📄 classservice.java

📁 are are are are are are are are are are are are
💻 JAVA
字号:
/*
 * ClassService.java
 *
 * Created on 2006年5月18日, 下午7:00
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package enova.service;

import java.util.List;
import enova.pojo.*;

/**
 *
 * @author vlinux
 */
public interface ClassService {
 
    /*通过班级ID获取班级*/
    public enova.pojo.Class get(Integer classId) throws StoreException;
    
    /*更新或创建一个班级,如果班级名称和所在专业的组合已经存在,则抛出存在异常*/
    public void updateOrCreate(enova.pojo.Class c) throws UniqueException, StoreException;
    
    /*通过班级ID删除班级*/
    public void delete(Integer classId) throws NotExistException, StoreException;
    
    /*通过专业ID、登记年份获取班级*/
    public List getBySpecialIdAndEnrollYear(Integer specialId,Integer enrollYear) throws StoreException;
    
    /*通过专业ID获取班级,并且按照班级登记年份排序*/
    public List getBySpecialId(Integer specialId) throws StoreException;
    
}

⌨️ 快捷键说明

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