package com.jw.app.business.group;

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

import com.gaowj.business.exception.BusinessException;
import com.jw.app.business.GroupBusiness;

public class GroupBusinessImpl implements GroupBusiness {
	private GroupDAO groupDAO;
    
	public GroupDAO getGroupDAO() {
		return groupDAO;
	}

	public void setGroupDAO(GroupDAO groupDAO) {
		this.groupDAO = groupDAO;
	}

	@Override
	public List<Map<String, Object>> listAllModule(Map<String, Object> query) throws BusinessException {
		// TODO Auto-generated method stub
		return groupDAO.listAllModule(query);
	}

	@Override
	public List<Map<String, Object>> listGroupModule(Map<String, Object> query) throws BusinessException {
		// TODO Auto-generated method stub
		return groupDAO.listGroupModule(query);
	}

	@Override
	public List<Map<String, Object>> listAllModuleType() throws BusinessException {
		// TODO Auto-generated method stub
		return groupDAO.listAllModuleType();
	}
	
	@Override
    public List<Map<String, Object>> listAllUser(Map<String, Object> query) throws BusinessException{
		return groupDAO.listAllUser(query);
	}
	
	@Override
	public List<Map<String, Object>>  listGroupUser(Map<String, Object> query) throws BusinessException{
		return groupDAO.listGroupUser(query);
	}
	
	@Override
	public List<Map<String,Object>> listAllUnit() throws BusinessException{
		return groupDAO.listAllUnit();
	}

}
