欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

struts2+spring+hibernate分页代码[比较多]第1/7页

程序员文章站 2022-06-21 23:50:43
dao层接口: java代码 复制代码 代码如下: package com.last999.im.news.dao; import java.util.*; import...
dao层接口:
java代码
复制代码 代码如下:

package com.last999.im.news.dao;
import java.util.*;
import com.last999.im.news.entity.kindentity;
import com.last999.im.news.web.pagetool;
public interface kindentitydao{
public kindentity get(string uuid);
public void save(kindentity kindentity);
public void update(kindentity kindentity);
public void delete(string uuid);
public void delete(kindentity kindentity);
public list<kindentity> findall();
public kindentity findkindentitybyname(string name);
public list<kindentity> getkindentity(pagetool pageinfo);
public int getrows();
}

复制代码 代码如下:

package com.last999.im.news.dao;
import java.util.*;
import com.last999.im.news.entity.kindentity;
import com.last999.im.news.web.pagetool;
public interface kindentitydao{
public kindentity get(string uuid);
public void save(kindentity kindentity);
public void update(kindentity kindentity);
public void delete(string uuid);
public void delete(kindentity kindentity);
public list<kindentity> findall();
public kindentity findkindentitybyname(string name);
public list<kindentity> getkindentity(pagetool pageinfo);
public int getrows();
}

1