主页 > 编程资料 > JSP(JAVA) >
发布时间:2016-01-01 作者:网络 阅读:256次

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

关键字词: