001package fr.ifremer.adagio.core.service.referential.taxon;
002
003/*
004 * #%L
005 * SIH-Adagio :: Core
006 * $Id: LocationService.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/LocationService.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 org.springframework.transaction.annotation.Propagation;
027import org.springframework.transaction.annotation.Transactional;
028
029import fr.ifremer.adagio.core.dao.referential.taxon.TaxonRefVO;
030
031/**
032 * Service used to access locations
033 * 
034 * @author Benoit Lavenier
035 * 
036 */
037@Transactional(readOnly = true, propagation = Propagation.REQUIRES_NEW)
038public interface TaxonService {
039
040    TaxonRefVO getTaxonNameReferent(int referenceTaxonId);
041
042}