001package fr.ifremer.adagio.core.service.referential.taxon; 002 003/* 004 * #%L 005 * SIH-Adagio :: Core 006 * $Id: LocationServiceImpl.java 11871 2013-12-03 14:59:35Z tc1fbb1 $ 007 * $HeadURL: https://forge.ifremer.fr/svn/sih-adagio/trunk/adagio/core/src/main/java/fr/ifremer/adagio/core/service/referential/location/LocationServiceImpl.java $ 008 * %% 009 * Copyright (C) 2012 - 2013 Ifremer 010 * %% 011 * This program is free software: you can redistribute it and/or modify 012 * it under the terms of the GNU Affero General Public License as published by 013 * the Free Software Foundation, either version 3 of the License, or 014 * (at your option) any later version. 015 * 016 * This program is distributed in the hope that it will be useful, 017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 019 * GNU General Public License for more details. 020 * 021 * You should have received a copy of the GNU Affero General Public License 022 * along with this program. If not, see <http://www.gnu.org/licenses/>. 023 * #L% 024 */ 025 026import javax.annotation.Resource; 027 028import org.springframework.stereotype.Service; 029 030import fr.ifremer.adagio.core.dao.referential.taxon.TaxonNameExtendDao; 031import fr.ifremer.adagio.core.dao.referential.taxon.TaxonRefVO; 032 033@Service("taxonService") 034public class TaxonServiceImpl implements TaxonService { 035 036 @Resource(name = "taxonNameDao") 037 private TaxonNameExtendDao taxonNameDao; 038 039 @Override 040 public TaxonRefVO getTaxonNameReferent(int referenceTaxonId) { 041 return taxonNameDao.getTaxonNameReferent(referenceTaxonId); 042 } 043 044}