package com.jasamedika.medifirst2000.service.impl;

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

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.jpa.JpaSystemException;
import org.springframework.stereotype.Service;

import com.jasamedika.medifirst2000.dao.MapLoginUserToRuanganDao;
import com.jasamedika.medifirst2000.service.MapLoginUserToRuanganService;
import com.jasamedika.medifirst2000.exception.ServiceVOException;
import com.jasamedika.medifirst2000.vo.MapLoginUserToRuanganVO;

@Service("MapLoginUserToRuanganService")
public class MapLoginUserToRuanganServiceImpl extends BaseVoServiceImpl implements MapLoginUserToRuanganService<MapLoginUserToRuanganVO> {
	
	
	@Autowired
	MapLoginUserToRuanganDao mapLoginUserToRuanganDao;

	@Override
	public List<Map<String, Object>> findCurrentRoomByUserLogin(Integer userLogin) {
		return mapLoginUserToRuanganDao.findCurrentRoomByUserLogin(userLogin);
	}
	
	@Override
	public List<Map<String, Object>> findCurrentRoomByUserLoginAndModulAplikasi(Integer userLogin, Integer modulAplikasiId) {
		return mapLoginUserToRuanganDao.findCurrentRoomByUserLoginAndModulAplikasi(userLogin, modulAplikasiId);
	}
	

	@Override
	public MapLoginUserToRuanganVO add(MapLoginUserToRuanganVO vo) throws JpaSystemException, ServiceVOException {
		return null;
	}

	@Override
	public MapLoginUserToRuanganVO update(MapLoginUserToRuanganVO vo) throws JpaSystemException, ServiceVOException {
		return null;
	}

	@Override
	public Boolean delete(Integer key) throws JpaSystemException {
		return null;
	}

	@Override
	public MapLoginUserToRuanganVO findById(Integer key) throws JpaSystemException {
		return null;
	}

	@Override
	public List<MapLoginUserToRuanganVO> findAll() throws JpaSystemException {
		return null;
	}

	@Override
	public Map<String, Object> findAllWithPageAndLimitAndSortByAndDirectionParameter(Integer page, Integer limit,
			String sort, String dir) {
		return null;
	}






}
