?? newssortfacadeimpl.java.svn-base
字號:
package com.pure.domain.logic.impl;
import java.util.List;
import org.springframework.dao.DataAccessException;
import com.pure.dao.NewsSortDAO;
import com.pure.domain.NewsSort;
import com.pure.domain.logic.NewsSortFacade;
import com.pure.page.Page;
public class NewsSortFacadeImpl implements NewsSortFacade {
private NewsSortDAO newsSortDao;
public NewsSortDAO getNewsSortDao() {
return newsSortDao;
}
public void setNewsSortDao(NewsSortDAO newsSortDao) {
this.newsSortDao = newsSortDao;
}
public void insertNewsSort(NewsSort newsSort) throws DataAccessException {
this.getNewsSortDao().insertNewsSort(newsSort);
}
public List getNewsSortList(Page page) {
return this.getNewsSortDao().getNewsSortList(page);
}
public List getNewsSortList() {
return this.getNewsSortDao().getNewsSortList();
}
public NewsSort getNewsSort(int id) {
return this.getNewsSortDao().getNewsSort(id);
}
public int getTotal(String hql) {
return this.getNewsSortDao().getTotal(hql);
}
public void delNewsSort(int id) {
this.getNewsSortDao().delNewsSort(id);
}
public void updateNewsSort(NewsSort newsSort) throws DataAccessException {
this.getNewsSortDao().updateNewsSort(newsSort);
}
public void seq(int id, int seq) {
this.getNewsSortDao().seq(id, seq);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -