src/com/pure/domain/logic/impl/NewsSortFacadeImpl.java

(完整代码) 1KB

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

}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。