package com.eactive.eai.rms.onl.loader.dao;

import java.util.HashMap;
import java.util.List;

import com.eactive.eai.rms.onl.loader.vo.RuleDeployJobItemVo;
import com.eactive.eai.rms.onl.loader.vo.RuleDeployJobVo;

public interface RuleDeployJobDao {

	public void insert(RuleDeployJobVo jobVo) throws Exception;

	public void insertItem(RuleDeployJobItemVo itemVo) throws Exception;

	public void update(RuleDeployJobVo jobVo) throws Exception;

	public RuleDeployJobVo selectOne(String jobId) throws Exception;

	public List<RuleDeployJobItemVo> selectItems(String jobId) throws Exception;

	public List<RuleDeployJobVo> selectJobAll(RuleDeployJobVo searchJobVo, int startIdx, int endIdx) throws Exception;

	public void deleteHistory(String dateTime) throws Exception;

	public void deleteItemHistory(String dateTime) throws Exception;

	@SuppressWarnings("rawtypes")
	public int selectListCount(HashMap paramMap) throws Exception;

	@SuppressWarnings("rawtypes")
	public List selectList(HashMap paramMap) throws Exception;

	@SuppressWarnings("rawtypes")
	public HashMap selectJobDetail(HashMap<String, Object> paramMap) throws Exception;

	@SuppressWarnings("rawtypes")
	public List<HashMap> selectJobItems(HashMap<String, Object> paramMap) throws Exception;

	@SuppressWarnings("rawtypes")
	public void delete(HashMap paramMap) throws Exception;

	@SuppressWarnings("rawtypes")
	public void deleteJobItems(HashMap paramMap) throws Exception;
}