newsdao.java
来自「基于JAVA的学生就业信息网 实现对信息浏览 检索 审核 修改和删除」· Java 代码 · 共 55 行
JAVA
55 行
/*
* Created on 2005-6-24
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package org.ug.sztz.dao.oa;
import java.util.List;
import java.util.Map;
import org.ug.sztz.domain.oa.NewsEntity;
/**
* @author xix
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public interface NewsDao {
public NewsEntity insertNews(Object news);
public int deleteNews(String newsId);
public int updateNews(Object news);
public int updateNewsStatus(Object news);
public int updateNewsDJ(String id);
public NewsEntity getNewsById(String newsId);
public NewsEntity getNewsByTitle(String newsId);
public List getNewsList(Map map);
public List getNewsList(Map map,int skipResults, int maxResults);
public List getNewsListByFatherSort(Map map);//据栏目选取新闻,map中必须包含sort值
public List getNewsListByFatherSort(Map map,int skipResults, int maxResults);
public List getNewsListBySort(Map map);//据栏目选取新闻,map中必须包含sort值
public List getNewsListBySort(Map map,int skipResults, int maxResults);
public List getNewsListByType(Map map);//据栏目选取新闻,ma p中必须包含type值
public List getNewsListByType(Map map,int skipResults, int maxResults);
public List SearchNews(Map map);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?