【Java开源代码栏目提醒】:网学会员为需要Java开源代码的朋友们搜集整理了ColumnDAO.java相关资料,希望对各位网友有所帮助!
/*
* Created on 2005-11-10
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.mycompany.news.dao;
import java.sql.Connection;
import java.util.List;
import com.mycompany.news.dto.Column;
/**
* @author Administrator
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public interface ColumnDAO {
public void addColumn(Column Column)throws Exception;//添加Column信息
public void updateColumn(Column Column)throws Exception;//修改Column信息
public void deleteColumn(Column Column)throws Exception;//删除Column信息
public List listAllColumns()throws Exception;//列出所有的Column信息
public List listColumns(Column ColumnCondition,int pageNo,int pageSize)throws Exception;//组合条件查询
public Column getByID(long id)throws Exception;//根据主键获取对象
public void setConnection(Connection conn);
public Connection getConnection();
}
上一篇:
ColumnCollectionAliases.java
下一篇:
秋天是疼痛的