dao層接口:
Java代碼
復(fù)制代碼 代碼如下:
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 ListKindEntity> findAll();
public KindEntity findKindEntityByName(String name);
public ListKindEntity> getKindEntity(PageTool pageInfo);
public int getRows();
}
復(fù)制代碼 代碼如下:
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 ListKindEntity> findAll();
public KindEntity findKindEntityByName(String name);
public ListKindEntity> getKindEntity(PageTool pageInfo);
public int getRows();
}
1234567下一頁閱讀全文
您可能感興趣的文章:- struts+spring+hibernate三個(gè)框架的整合
- 詳解JAVAEE——SSH三大框架整合(spring+struts2+hibernate)
- Spring集成Struts與Hibernate入門詳解
- struts2.3.24+spring4.1.6+hibernate4.3.11+mysql5.5.25開發(fā)環(huán)境搭建圖文教程
- SSH框架網(wǎng)上商城項(xiàng)目第1戰(zhàn)之整合Struts2、Hibernate4.3和Spring4.2
- Spring,hibernate,struts經(jīng)典面試筆試題(含答案)
- Hibernate+Spring+Struts擴(kuò)展Struts
- Spring+Hibernate+Struts(SSH)框架整合實(shí)戰(zhàn)