egovframework.oe1.cms.cmm.notify.email.service.impl.EgovOe1SSLMailDAO.java Source code

Java tutorial

Introduction

Here is the source code for egovframework.oe1.cms.cmm.notify.email.service.impl.EgovOe1SSLMailDAO.java

Source

/*
 * Copyright 2010 MOPAS(Ministry of Public Administration and Security).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package egovframework.oe1.cms.cmm.notify.email.service.impl;

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

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Repository;

import egovframework.rte.psl.dataaccess.EgovAbstractDAO;
import egovframework.rte.psl.dataaccess.util.EgovMap;

/**
 * ?? ??  DAO ?
 * <p>
 * <b>NOTE:</b>
 * @author   
 * @since 2009.08.19
 * @version 1.0.0
 * @see <pre>
 *  == ?(Modification Information) ==
 *   
 *   ?      ?           
 *  -------    --------    ---------------------------
 *   2009.08.19             ?
 * 
 * </pre>
 */
@Repository("egovOe1SSLMailDAO")
public class EgovOe1SSLMailDAO extends EgovAbstractDAO {
    Log log = LogFactory.getLog(this.getClass());

    /**
     * ??  ? ? 
     *
     * @param fileNames ?ID
     * @return
     * @throws Exception
    */
    public List<EgovMap> selectFileList(List<String> fileNames) throws Exception {

        Map<String, List<String>> map = new HashMap<String, List<String>>();
        map.put("atchFileIds", fileNames);
        log.debug(this.getClass() + " selectFileList : " + map.toString());
        return list("oe1SSLMailDAO.selectFileList", map);
    }

}