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();
}

1234567下一页阅读全文
标签:
struts2,spring,hibernate,分页

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com