1 7 8 29 package com.geinuke.middle; 30 31 32 import java.util.ArrayList ; 33 34 import com.geinuke.bizlogic.BLException; 35 36 import com.geinuke.util.CountArrayList; 37 import com.geinuke.vo.NewsVO; 38 import com.geinuke.vo.TopicVO; 39 40 46 public interface ITopicBL { 47 public void insTopic(TopicVO to) throws BLException; 48 49 public void insForumTopic(TopicVO to, int fid) throws BLException; 50 51 public void updateForumTopic(TopicVO to) throws BLException; 52 53 public TopicVO getTopic(int id) throws BLException; 54 55 public TopicVO getLastTopicByFId(int id) throws BLException; 56 57 public TopicVO getForumTopicByTId(int id) throws BLException; 58 59 public void setLastModTime(TopicVO t) throws BLException; 60 61 public TopicVO fillTopic(TopicVO t) throws BLException; 62 63 public TopicVO getTopicByName(String name) throws BLException; 64 65 public TopicVO getTopicByImage(String name) throws BLException; 66 67 public ArrayList getAllTopics(String type) throws BLException; 68 69 public ArrayList getTopicsByNews(NewsVO n) throws BLException; 70 71 public CountArrayList getTopicsByFId(int fid) throws BLException; 72 73 74 public void delForumTopicByTId(int tid)throws BLException; 75 76 public void delForumTopicsByFid(int fid)throws BLException; 77 78 public CountArrayList getForumTopicsByText(String text) throws BLException; 79 } | Popular Tags |