Project

General

Profile

« Previous | Next » 

Revision 22abd4ac

Added by Andreas Müller over 7 years ago

ref #6089 Remove all calls and methods for taxonomicChildrenCount and taxonomicParentCache

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/taxon/ITaxonDao.java
36 36
import eu.etaxonomy.cdm.persistence.dao.common.ITitledDao;
37 37
import eu.etaxonomy.cdm.persistence.dao.initializer.IBeanInitializer;
38 38
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
39
import eu.etaxonomy.cdm.persistence.fetch.CdmFetch;
40 39
import eu.etaxonomy.cdm.persistence.query.MatchMode;
41 40
import eu.etaxonomy.cdm.persistence.query.OrderHint;
42 41

  
......
225 224
    MatchMode matchMode, Set<NamedArea> namedAreas, Integer pageSize,
226 225
    Integer pageNumber, List<String> propertyPaths);
227 226

  
228

  
229
    /**
230
     * Computes all Taxon instances that do not have a taxonomic parent and has at least one child.
231
     * @return The List<Taxon> of root taxa.
232
     * @deprecated obsolete when using classification
233
     */
234
    @Deprecated
235
    public List<Taxon> getRootTaxa(Reference sec);
236

  
237

  
238
    /**
239
     * Computes all Taxon instances that do not have a taxonomic parent.
240
     * @param sec The concept reference that the taxon belongs to
241
     * @param cdmFetch not used yet !! TODO
242
     * @param onlyWithChildren if true only taxa are returned that have taxonomic children. <Br>Default: true.
243
     * @param withMisaplications if false only taxa are returned that have no isMisappliedNameFor relationship.
244
     * <Br>Default: true.
245
     * @return The List<Taxon> of root taxa.
246
     * @deprecated obsolete when using classification
247
     */
248
    @Deprecated
249
    public List<Taxon> getRootTaxa(Reference sec, CdmFetch cdmFetch, Boolean onlyWithChildren, Boolean withMisapplications);
250

  
251

  
252 227
    /**
253
     * Computes all Taxon instances which name is of a certain Rank.
254
     *
255
     * @param rank
256
     *            The rank of the taxon name
257
     * @param sec
258
     *            The concept reference that the taxon belongs to
259
     * @param cdmFetch
260
     *            not used yet !! TODO
261
     * @param onlyWithChildren
262
     *            if true only taxa are returned that have taxonomic children. <Br>
263
     *            Default: true.
264
     * @param withMisaplications
265
     *            if false only taxa are returned that have no
266
     *            isMisappliedNameFor relationship.
267
     * @param propertyPaths
268
     *            properties to be initialized, For detailed description and
269
     *            examples <b>please refer to:</b>
270
     *            {@link IBeanInitializer#initialize(Object, List)}. <Br>
271
     *            Default: true.
272
     * @return The List<Taxon> of root taxa.
273
     * @deprecated obsolete when using classification
274
     */
275
    @Deprecated
276
    public List<Taxon>
277
    getRootTaxa(Rank rank, Reference sec, CdmFetch cdmFetch, Boolean onlyWithChildren, Boolean withMisapplications, List<String> propertyPaths);
278

  
279
        /**
280 228
     * TODO necessary?
281 229
     * @param pagesize max maximum number of returned taxa
282 230
     * @param page page to start, with 0 being first page

Also available in: Unified diff