⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 platformmgserviceimpl.java

📁 一个jsf企业级程序示例实现一些基本功能
💻 JAVA
字号:
package com.wxd.netbar.service;

import java.util.List;
import java.util.Map;

import com.wxd.netbar.persistence.dao.*;
import com.wxd.netbar.domain.*;

public class PlatformMgServiceImpl {
	private UserDaoImpl userDao;
	private NetBarDaoImpl netbarDao;
	private SurveyDaoImpl surveyDao;
	private NewsDaoImpl newsDao;
	private FeeDaoImpl feeDao;
	private BulletinDaoImpl bulletinDao;

	public List getAllUsers(){
		return userDao.getAllUsers();
	}
	
	public NetBar getCurrentNetBarInfo(){
		return netbarDao.getCurrentNetBar();
	}
	
	public Survey getCurrentSurveyInfo(){
		return surveyDao.getCurrentSurvey();
	}
	
	public List getCurrentSurveyItemsInfo(){
		return surveyDao.getCurrentSurveyItems();
	}
	
	public List getAllTopNews(){
		return newsDao.getAllTopNews();
	}
	
	public News getNews(String newsId) {
		return newsDao.getNewsFromId(newsId);
	}

	
	public void addNews(News news){
		newsDao.addNews(news);
	}

	public void updateNews(News news){
		newsDao.updateNews(news);
	}

	public List getAllFees(){
		return feeDao.getAllFees();
	}
	
	public List getAllTopBulletin(){
		return bulletinDao.getAllTopBulletin();
	}
	
	public Bulletin getBulletin(String bulletinId) {
		return bulletinDao.getBulletinFromId(bulletinId);
	}
	
	public UserDaoImpl getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDaoImpl userDao) {
		this.userDao = userDao;
	}
	

	public NetBarDaoImpl getNetbarDao() {
		return netbarDao;
	}

	public void setNetbarDao(NetBarDaoImpl netbarDao) {
		this.netbarDao = netbarDao;
	}

	public SurveyDaoImpl getSurveyDao() {
		return surveyDao;
	}

	public void setSurveyDao(SurveyDaoImpl surveyDao) {
		this.surveyDao = surveyDao;
	}

	public NewsDaoImpl getNewsDao() {
		return newsDao;
	}

	public void setNewsDao(NewsDaoImpl newsDao) {
		this.newsDao = newsDao;
	}

	public FeeDaoImpl getFeeDao() {
		return feeDao;
	}

	public void setFeeDao(FeeDaoImpl feeDao) {
		this.feeDao = feeDao;
	}

	public BulletinDaoImpl getBulletinDao() {
		return bulletinDao;
	}

	public void setBulletinDao(BulletinDaoImpl bulletinDao) {
		this.bulletinDao = bulletinDao;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -