newsdao.java
来自「一个免费wap站」· Java 代码 · 共 24 行
JAVA
24 行
package com.eline.wap.resource.dao;
import com.eline.wap.common.model.Page;
import com.eline.wap.resource.exceptions.ResourceDAOSysException;
import com.eline.wap.resource.model.News;
import com.eline.wap.resource.model.NewsCondition;
public interface NewsDAO {
public News getNews(int newsId) throws ResourceDAOSysException;
public Page getNews(int parentId, int start, int count) throws ResourceDAOSysException;
public Page searchNews(NewsCondition condition, int start, int count) throws ResourceDAOSysException;
public void createNews(News item) throws ResourceDAOSysException;
public void updateNews(News item) throws ResourceDAOSysException;
public void deleteNews(int newsId) throws ResourceDAOSysException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?