package com.eactive.eai.rms.onl.manage.rule.layouttype;

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

import org.springframework.stereotype.Repository;

import com.eactive.eai.rms.common.base.SqlMapClientTemplateDao;

/**
 * The Class LayoutDao.
 * <ul>
 * <li>1. Function :</li>
 * <li>2. Summary :</li>
 * <li>3. Notification :</li>
 * </ul>
 */
@Repository("layoutTypeDao")
@SuppressWarnings("unchecked")
public class LayoutTypeDao extends SqlMapClientTemplateDao {

//    public int selectListCount(HashMap param) throws Exception {
//    	return (Integer)template.queryForObject("LayoutType.selectListCount", param);
//    }	
//    public List selectList(HashMap param) throws Exception {
//    	return template.queryForList("LayoutType.selectList", param);
//    }	
//	
//    public HashMap selectDetail(HashMap param) throws Exception {
//    	return (HashMap)template.queryForObject("LayoutType.selectDetail", param);
//    }	
//
//    public void insert(HashMap paramMap) throws Exception{
//        this.template.insert("LayoutType.insert", paramMap);
//    }      
//    public void update(HashMap paramMap) throws Exception{
//        this.template.update("LayoutType.update", paramMap);
//    }      
//    public void delete(HashMap paramMap) throws Exception{
//        this.template.delete("LayoutType.delete", paramMap);
//    }
	/**
	 * LayoutTypeLoaderImpl.findAll()사용하시오
	 * 
	 * @param param
	 * @return
	 * @throws Exception
	 */
    @Deprecated
	public List selectListAll(HashMap param) throws Exception {
    	return template.queryForList("LayoutType.selectListAll", param);
    }	
	

}
