Project

General

Profile

« Previous | Next » 

Revision 9dc896c9

Added by Andreas Müller almost 7 years ago

fix #6368 rename table and class TaxonNameBase

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/description/IDescriptionDao.java
25 25
import eu.etaxonomy.cdm.model.description.TaxonNameDescription;
26 26
import eu.etaxonomy.cdm.model.location.NamedArea;
27 27
import eu.etaxonomy.cdm.model.media.Media;
28
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
28
import eu.etaxonomy.cdm.model.name.TaxonName;
29 29
import eu.etaxonomy.cdm.model.taxon.Taxon;
30 30
import eu.etaxonomy.cdm.persistence.dao.common.IIdentifiableDao;
31 31
import eu.etaxonomy.cdm.persistence.dao.initializer.IBeanInitializer;
......
197 197
     * @param pageSize The maximum number of descriptions returned (can be null for all descriptions)
198 198
     * @param pageNumber The offset (in pageSize chunks) from the start of the result set (0 - based)
199 199
     * @param propertyPaths Properties to initialize in the returned entities, following the syntax described in {@link IBeanInitializer#initialize(Object, List)}
200
     * @return a List of TaxonNameBase instances
200
     * @return a List of TaxonName instances
201 201
     */
202
    List<TaxonNameDescription> getTaxonNameDescriptions(TaxonNameBase name, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
202
    List<TaxonNameDescription> getTaxonNameDescriptions(TaxonName name, Integer pageSize, Integer pageNumber, List<String> propertyPaths);
203 203

  
204 204
    /**
205 205
     * Returns a count of TaxonNameDescription instances, optionally filtered by the name which they refer to
206 206
     *
207 207
     * @param name Restrict the results to those descriptions that refer to a specific name (can be null for all TaxonNameDescription instances)
208
     * @return a count of TaxonNameBase instances
208
     * @return a count of TaxonName instances
209 209
     */
210
    int countTaxonNameDescriptions(TaxonNameBase name);
210
    int countTaxonNameDescriptions(TaxonName name);
211 211

  
212 212
    /**
213 213
     * Returns a List of distinct TaxonDescription instances which have Distribution elements that refer to one of the NamedArea instances passed (optionally

Also available in: Unified diff