1 7 8 29 package com.geinuke.middle; 30 31 import java.util.ArrayList ; 32 import java.util.HashMap ; 33 34 import com.geinuke.bizlogic.BLException; 35 import com.geinuke.vo.NewsVO; 36 37 43 public interface INewsBL { 44 public ArrayList getAllNews() throws BLException; 45 46 public ArrayList getEnabledNews() throws BLException; 47 48 public ArrayList getNewsByTId(int tid, boolean full) throws BLException; 49 50 public ArrayList getEnabledNewsByPeriod(Long [] bounds) throws BLException; 51 52 public ArrayList getEnabledNewsArchive() throws BLException; 53 54 public ArrayList getEnabledFullNews(int qt) throws BLException; 55 56 public void updateNews(NewsVO n) throws BLException; 57 58 public NewsVO getNewsByNId(int id) throws BLException; 59 60 public NewsVO getNewsByCommentCId(int cid) throws BLException; 61 62 public ArrayList getDisabledNews() throws BLException; 63 64 public HashMap getAutorList(ArrayList list) throws BLException; 65 66 public void insNews(NewsVO n) throws BLException; 67 68 public void deleteNews(int nid)throws BLException; 69 70 public ArrayList getLimitedNewsByTId(int tid,int max,boolean full) throws BLException; 71 72 public ArrayList getNewsByTitleOrText(String text) throws BLException; 73 } | Popular Tags |