package com.jasamedika.medifirst2000.service;

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

import org.springframework.orm.jpa.JpaSystemException;

import com.jasamedika.medifirst2000.entities.IndikatorKinerjaJabatan;
import com.jasamedika.medifirst2000.exception.ServiceVOException;
import com.jasamedika.medifirst2000.vo.IndikatorKinerjaJabatanVO;

public interface IndikatorKinerjaJabatanService
		extends BaseVoService<IndikatorKinerjaJabatan, IndikatorKinerjaJabatanVO, String> {

	public List<String> addAndUpdate(List<IndikatorKinerjaJabatanVO> listVO, Integer idLoginUser)
			throws JpaSystemException, ServiceVOException;

	public List<Map<String, Object>> findAllByIndikator(Integer idIndikator) throws JpaSystemException;

	public Map<String, Object> findAllByJabatan(Integer idJabatan) throws JpaSystemException;

	public List<Map<String, Object>> findDupMap(Integer idIndikator, Integer idJabatan, Long tglBerlaku)
			throws JpaSystemException;

	public List<Map<String, Object>> findIndikatorByUnit(Integer jenisIndikator, Integer idUnitKerja,
			Integer levelJabatan) throws JpaSystemException;

}
