Project

General

Profile

Revision c1d7cb61

IDc1d7cb617555ec938d3cb7c836451be0cef3ed63
Parent e60198ab
Child 152082b2

Added by Andreas Kohlbecker almost 4 years ago

#6740 adding missing service methods to load TypeDesignations

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/INameService.java
16 16
import java.util.Map;
17 17
import java.util.UUID;
18 18

  
19
import org.apache.lucene.index.CorruptIndexException;
20 19
import org.hibernate.criterion.Criterion;
21 20

  
22 21
import eu.etaxonomy.cdm.api.service.config.NameDeletionConfigurator;
......
39 38
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
40 39
import eu.etaxonomy.cdm.model.name.TaxonName;
41 40
import eu.etaxonomy.cdm.model.name.TypeDesignationBase;
42
import eu.etaxonomy.cdm.persistence.dao.initializer.IBeanInitializer;
43 41
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
44 42
import eu.etaxonomy.cdm.persistence.query.MatchMode;
45 43
import eu.etaxonomy.cdm.persistence.query.OrderHint;
46 44
import eu.etaxonomy.cdm.strategy.cache.TaggedText;
47
import eu.etaxonomy.cdm.strategy.parser.NonViralNameParserImpl;
48 45

  
49 46
public interface INameService extends IIdentifiableEntityService<TaxonName> {
50 47

  
......
115 112
	 */
116 113
	public List<TypeDesignationBase> getAllTypeDesignations(int limit, int start);
117 114

  
115
    public TypeDesignationBase loadTypeDesignation(int id, List<String> propertyPaths);
116

  
117
    public TypeDesignationBase loadTypeDesignation(UUID uuid, List<String> propertyPaths);
118

  
118 119
	/**
119 120
	 * Returns all NonViralNames with a name cache that matches the given string
120 121
	 * @param name
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/NameServiceImpl.java
395 395
    public List<TypeDesignationBase> getAllTypeDesignations(int limit, int start){
396 396
        return typeDesignationDao.getAllTypeDesignations(limit, start);
397 397
    }
398
      /**
398

  
399
    public TypeDesignationBase loadTypeDesignation(int id, List<String> propertyPaths){
400
        return typeDesignationDao.load(id, propertyPaths);
401
    }
402

  
403
    public TypeDesignationBase loadTypeDesignation(UUID uuid, List<String> propertyPaths){
404
        return typeDesignationDao.load(uuid, propertyPaths);
405
    }
406

  
407
    /**
399 408
     * FIXME Candidate for harmonization
400 409
     * homotypicalGroupService.list
401 410
     */

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)