package com.jasamedika.medifirst2000.service;

import java.util.Map;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.jasamedika.medifirst2000.entities.DokumenInternal;
import com.jasamedika.medifirst2000.vo.DokumenInternalVO;
import com.jasamedika.medifirst2000.vo.SuratMasukInternalVO;

public interface DokumenInternalService {
	
	/*public Map<String,Object> addDokumenInternal(DokumenInternalVO vo);*/
	public Map<String,Object> updateDokumenInternal(DokumenInternalVO vo);
	public Map<String,Object> findAllDokumenInternal();
	
	// Surat Masuk Internal - Aplikasi Ketatausahaan - Sarpras
	public Map<String, Object> addSuratMasukInternal(SuratMasukInternalVO vo);
	public Map<String, Object> findAllSuratMasukInternal(SuratMasukInternalVO vo);
	
	public Map<String, Object> findAllWithPageAndLimitAndSortByAndDirectionParameter(Specification<DokumenInternal> spec,Pageable pageable);

	public Map<String, Object> setDistribusiKirimSuratInternalEksternal(SuratMasukInternalVO vo);
	
	DokumenInternalVO findByNoRec(String noRec);
	Map<String, Object> dokumenInternalPaging(Integer page, Integer limit, String sort, String dir, String dateStart,String dateEnd, String noKirim);
}
