📄 newsdao.java
字号:
package com.relationinfo.dao;import java.util.List;import com.relationinfo.model.News;public interface NewsDAO extends DAO { /** * Retrieves all of the newss */ public List getNewss(News news); /** * Gets news's information based on primary key. An * ObjectRetrievalFailureException Runtime Exception is thrown if * nothing is found. * * @param newscode the news's newscode * @return news populated news object */ public News getNews(final String newscode); /** * Saves a news's information * @param news the object to be saved */ public void saveNews(News news); /** * Removes a news from the database by newscode * @param newscode the news's newscode */ public void removeNews(final String newscode);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -