struts2+spring+hibernate分页代码[比较多]第1/7页
程序员文章站
2023-12-05 17:28:58
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();
}
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
上一篇: android 电话状态监听(来电和去电)实现代码
下一篇: 微软斯巴达浏览器跑分曝光 搞得离谱