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

📄 newsattachmentdao.java

📁 jsp+servlet实现的标准MVC系统 jsp-servlet-service-DAO-DBMS
💻 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.News;
import com.mycompany.news.dto.NewsAttachment;

/**
 * @author Administrator
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface NewsAttachmentDAO {
	public void addNewsAttachment(NewsAttachment newsAttachment)throws Exception;//添加NewsAttachment信息
	public void updateNewsAttachment(NewsAttachment newsAttachment)throws Exception;//修改NewsAttachment信息
	public void deleteAttrByNews(News news)throws Exception;//删除NewsAttachment信息
	public void deleteNewsAttachment(NewsAttachment newsAttachment)throws Exception;//删除NewsAttachment信息
	public List listAllNewsAttachments()throws Exception;//列出所有的NewsAttachment信息
	public List listNewsAttachments(NewsAttachment newsAttachmentCondition)throws Exception;//组合条件查询
	public NewsAttachment getByID(long id)throws Exception;//根据主键获取对象
	public void setConnection(Connection conn);
	public Connection getConnection();
	public List getRecommendedNewsAttachment(long columnid) throws Exception;
}

⌨️ 快捷键说明

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