threadsdao.java

来自「论坛软件系统亦称电子公告板(BBS)系统」· Java 代码 · 共 35 行

JAVA
35
字号
package cn.jsprun.dao.posts;

import java.util.List;
import java.util.Map;

import cn.jsprun.domain.Threads;
import cn.jsprun.struts.form.posts.ThreadsForm;

public interface ThreadsDao {

	public boolean addThread(Threads thread);
	public Threads findByTid(Integer id);
	public void totype(Integer typeid, String sbtid);
	public void toforum(Integer fid, String sbtid);
	public void donotupdatemember(Boolean b, String sbtid);
	public void sticklevel(Integer displayorder, String sbtid);
	public void adddigest(Integer digest, String sbtid);
	public void status(Integer status, String sbtid);
	public void deleteattach(String sbtid);
	public boolean modifyThreads(Threads thread);
	public List<Threads> findThreadsByUid(int uid);
	public List<Threads>findThreadsByHql(String hql,int start,int maxrow);
	public int findThreadCount();
	public Threads findThreadsBytid(int tid);
	public int findThreadCountByHql(String hql);
	public boolean deleteThreads(Threads thread);
	public List<Threads>findThreadsByHqlTwo(String hql,int start,int maxrow);
	public Integer getThreadsCount();
	public boolean updateThreads(Threads thread);
	public List<Threads> getThreadsByThreadIdList(List<Integer> tidList);
	public Threads getLsatThread(Short fid);
	public List<Threads> getThreadsByHql(String hql);
	public void addThreads(List<Threads> threadsList);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?