struts2+spring+hibernate 페이지 코드 [비교적 많음] 1/7페이지

1488 단어
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 findAll();
public KindEntity findKindEntityByName(String name);
public List 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 findAll();
public KindEntity findKindEntityByName(String name);
public List getKindEntity(PageTool pageInfo);
public int getRows();
}

1,2,3,4,5,6,7

좋은 웹페이지 즐겨찾기