package sikd.sikd5.sikd5ejb.session;

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

import javax.ejb.Remote;
import javax.jws.WebParam;

import sikd.sikd5.sikd5bean.fault.SIKDServiceException;
import sikd.sikd5.sikd5bean.tabel.transaksi.Headerlog;
import sikd.sikd5.sikd5bean.ws.ref.VersiAplikasi_WS;
import sikd.sikd5.sikd5bean.ws.transaksi.Belanja_WS;
import sikd.sikd5.sikd5bean.ws.transaksi.Headerlog_WS;

/**
 * @oleh : agus
 * @tanggal : Apr 8, 2019
 */
@Remote
public interface TransaksiSessionBeanRemote {
	public List<Belanja_WS> getBelanjaDanAnaks(String kodeSatker, short tahun, Date tgawal, Date tgakhir) throws Exception;

	public List<Belanja_WS> getBelanjaDanAnaksByNomorSp2d(String kodeSatker, short tahun, List<String> nomorsp2ds) throws Exception;

//	public void inserBelanja(List<Belanja_WS> belanjas) throws Exception;
//	public Headerlog_WS inputBelanja(Headerlog_WS headerlog) throws Exception;
	public Headerlog_WS inputJurnal(Headerlog_WS headerlog) throws Exception;

//	public int hapusBelanja(long belanjaid) throws Exception;

//	public void updateBelanja(List<Map<String, Object>> belanjas) throws Exception;

	public Headerlog_WS inputApbd(Headerlog_WS hlog) throws Exception;

	public Headerlog_WS inputDth(Headerlog_WS hlog) throws Exception;

	public VersiAplikasi_WS cekVersiAplikasi(String kodesatker, String ip, Date tanggalLocal, String namaAplikasi,
			String versiAplikasi) throws Exception;

    public Headerlog_WS inputApbdPerSkpd(Headerlog_WS hlog,int nomorSkpd,String namaskpd,String sha256skpd) throws Exception;

}
