/* * Copyright 2008-2009 the original author or authors. * * 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 itn.let.solr.sys.impl; import java.util.List; import javax.annotation.Resource; import org.springframework.stereotype.Service; import egovframework.rte.fdl.cmmn.AbstractServiceImpl; import egovframework.rte.fdl.idgnr.EgovIdGnrService; import itn.let.solr.sys.service.ResearchService; import itn.let.solr.sys.service.ResearchVO; import itn.let.uss.ion.cnt.service.CntManageVO; /** * @Class Name : LetterManageServiceImpl.java * @Description : LetterManageService Implement Class * @Modification Information * @ * @ 수정일 수정자 수정내용 * @ --------- --------- ------------------------------- * @ 2014.06.30 최초생성 * * @author (주)드림웨어 * @since 2014. 06.30 * @version 1.0 * @see * * */ @Service("researchService") public class ResearchServiceImpl extends AbstractServiceImpl implements ResearchService { /** boardDAO */ @Resource(name="researchDAO") private ResearchDAO researchDAO; /** ID Generation */ @Resource(name="egovIdGnrService") private EgovIdGnrService egovIdGnrService; /** * 편지쓰기대회 목록을 조회한다. * @param searchVO - 조회할 정보가 담긴 VO * @return 글 목록 * @exception Exception */ @Override public List selectResearchList(ResearchVO searchVO) throws Exception{ return (List)researchDAO.selectResearchList(searchVO); } @Override public List selectResearchResult(ResearchVO searchVO) throws Exception{ return researchDAO.selectResearchResult(searchVO); } @Override public int selectResearchListTotCnt(ResearchVO searchVO) throws Exception { return researchDAO.selectResearchListTotCnt(searchVO); } @Override public ResearchVO selectResearchResultCnt(ResearchVO searchVO) throws Exception{ return researchDAO.selectResearchResultCnt(searchVO); } @Override public List selectMcUrl(Integer mcIdx) throws Exception{ return researchDAO.selectMcUrl(mcIdx); } @Override public void insertResearch(ResearchVO tempSearchVO) throws Exception { researchDAO.insertResearch(tempSearchVO); } @Override public ResearchVO selectMcUrlByProFn(ResearchVO researchVO) throws Exception { return researchDAO.selectMcUrlByProFn(researchVO); } @Override public ResearchVO selectMcUrlByCntDtId(CntManageVO cntManageVO) throws Exception { return researchDAO.selectMcUrlByCntDtId(cntManageVO); } }