Project

General

Profile

« Previous | Next » 

Revision d825b848

Added by Andreas Müller about 5 years ago

cleanup

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/INameService.java
40 40
import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
41 41
import eu.etaxonomy.cdm.model.name.TaxonName;
42 42
import eu.etaxonomy.cdm.model.name.TypeDesignationBase;
43
import eu.etaxonomy.cdm.persistence.dao.initializer.IBeanInitializer;
43 44
import eu.etaxonomy.cdm.persistence.dto.TaxonNameParts;
44 45
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
45 46
import eu.etaxonomy.cdm.persistence.query.MatchMode;
46 47
import eu.etaxonomy.cdm.persistence.query.OrderHint;
47 48
import eu.etaxonomy.cdm.strategy.cache.TaggedText;
49
import eu.etaxonomy.cdm.strategy.parser.NonViralNameParserImpl;
48 50

  
49 51
public interface INameService
50 52
        extends IIdentifiableEntityService<TaxonName> {
......
69 71
	 * @param name
70 72
	 * @return
71 73
	 */
72
	public DeleteResult deleteTypeDesignation(TaxonName name, TypeDesignationBase typeDesignation);
74
	public DeleteResult deleteTypeDesignation(TaxonName name, TypeDesignationBase<?> typeDesignation);
73 75

  
74 76
	/**
75 77
	 * Removes the given type designation from the given taxon name and deletes it from
......
89 91
	 * @param typeDesignationCollection
90 92
	 * @return
91 93
	 */
92
	public Map<UUID, TypeDesignationBase> saveTypeDesignationAll(Collection<TypeDesignationBase> typeDesignationCollection);
94
	public Map<UUID, TypeDesignationBase<?>> saveTypeDesignationAll(Collection<TypeDesignationBase<?>> typeDesignationCollection);
93 95

  
94 96
	public Map<UUID, ReferencedEntityBase> saveReferencedEntitiesAll(Collection<ReferencedEntityBase> referencedEntityCollection);
95 97

  
......
114 116
	 * @param start
115 117
	 * @return
116 118
	 */
117
	public List<TypeDesignationBase> getAllTypeDesignations(int limit, int start);
119
	public List<TypeDesignationBase<?>> getAllTypeDesignations(int limit, int start);
118 120

  
119
    public TypeDesignationBase loadTypeDesignation(int id, List<String> propertyPaths);
121
    public TypeDesignationBase<?> loadTypeDesignation(int id, List<String> propertyPaths);
120 122

  
121
    public TypeDesignationBase loadTypeDesignation(UUID uuid, List<String> propertyPaths);
123
    public TypeDesignationBase<?> loadTypeDesignation(UUID uuid, List<String> propertyPaths);
122 124

  
123 125
	/**
124 126
	 * Returns all NonViralNames with a name cache that matches the given string
......
199 201
	 * @param propertyPaths
200 202
	 * @param maxNoOfResults
201 203
	 * @return
202
	 * @throws CorruptIndexException
203 204
	 * @throws IOException
204
	 * @throws ParseException
205
	 * @throws LuceneParseException
205 206
	 */
206 207
	public List<SearchResult<TaxonName>> findByNameFuzzySearch(
207 208
            String name,
......
224 225
	 * @param highlightFragments
225 226
	 * @param maxNoOfResults
226 227
	 * @return
227
	 * @throws CorruptIndexException
228 228
	 * @throws IOException
229
	 * @throws ParseException
229
	 * @throws LuceneParseException
230 230
	 */
231 231
    public List<DocumentSearchResult> findByNameFuzzySearch(
232 232
            String name,
......
245 245
	 * @param highlightFragments
246 246
	 * @param maxNoOfResults
247 247
	 * @return
248
	 * @throws CorruptIndexException
249 248
	 * @throws IOException
250
	 * @throws ParseException
249
	 * @throws LuceneParseException
251 250
	 */
252 251
    public List<DocumentSearchResult> findByFuzzyNameCacheSearch(
253 252
            String name,
......
269 268
	 * @param highlightFragments
270 269
	 * @param maxNoOfResults
271 270
	 * @return
272
	 * @throws CorruptIndexException
273 271
	 * @throws IOException
274
	 * @throws ParseException
272
	 * @throws LuceneParseException
275 273
	 */
276 274

  
277 275
    public List<DocumentSearchResult> findByNameExactSearch(

Also available in: Unified diff