?? newsdao.java
字號:
/*
* 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -