e01047760b9802924db6460065a8a34b0459b100
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / view / dataimport / transientServices / TransientNameService.java
1 // $Id$
2 /**
3 * Copyright (C) 2013 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.taxeditor.editor.view.dataimport.transientServices;
11
12 import java.io.IOException;
13 import java.util.Collection;
14 import java.util.HashMap;
15 import java.util.List;
16 import java.util.Map;
17 import java.util.Set;
18 import java.util.UUID;
19
20 import org.apache.lucene.index.CorruptIndexException;
21 import org.apache.lucene.queryParser.ParseException;
22 import org.hibernate.LockOptions;
23 import org.hibernate.Session;
24 import org.hibernate.criterion.Criterion;
25 import org.hibernate.envers.query.criteria.AuditCriterion;
26
27 import eu.etaxonomy.cdm.api.service.DeleteResult;
28 import eu.etaxonomy.cdm.api.service.INameService;
29 import eu.etaxonomy.cdm.api.service.UpdateResult;
30 import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase;
31 import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
32 import eu.etaxonomy.cdm.api.service.config.NameDeletionConfigurator;
33 import eu.etaxonomy.cdm.api.service.dto.FindByIdentifierDTO;
34 import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException;
35 import eu.etaxonomy.cdm.api.service.pager.Pager;
36 import eu.etaxonomy.cdm.api.service.search.DocumentSearchResult;
37 import eu.etaxonomy.cdm.api.service.search.SearchResult;
38 import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
39 import eu.etaxonomy.cdm.model.common.Annotation;
40 import eu.etaxonomy.cdm.model.common.CdmBase;
41 import eu.etaxonomy.cdm.model.common.DefinedTerm;
42 import eu.etaxonomy.cdm.model.common.ISourceable;
43 import eu.etaxonomy.cdm.model.common.IdentifiableSource;
44 import eu.etaxonomy.cdm.model.common.LSID;
45 import eu.etaxonomy.cdm.model.common.Language;
46 import eu.etaxonomy.cdm.model.common.Marker;
47 import eu.etaxonomy.cdm.model.common.MarkerType;
48 import eu.etaxonomy.cdm.model.common.ReferencedEntityBase;
49 import eu.etaxonomy.cdm.model.common.RelationshipBase;
50 import eu.etaxonomy.cdm.model.common.RelationshipBase.Direction;
51 import eu.etaxonomy.cdm.model.media.Rights;
52 import eu.etaxonomy.cdm.model.name.HomotypicalGroup;
53 import eu.etaxonomy.cdm.model.name.HybridRelationship;
54 import eu.etaxonomy.cdm.model.name.HybridRelationshipType;
55 import eu.etaxonomy.cdm.model.name.NameRelationship;
56 import eu.etaxonomy.cdm.model.name.NameRelationshipType;
57 import eu.etaxonomy.cdm.model.name.NomenclaturalStatus;
58 import eu.etaxonomy.cdm.model.name.NonViralName;
59 import eu.etaxonomy.cdm.model.name.Rank;
60 import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
61 import eu.etaxonomy.cdm.model.name.TaxonNameBase;
62 import eu.etaxonomy.cdm.model.name.TypeDesignationBase;
63 import eu.etaxonomy.cdm.model.view.AuditEvent;
64 import eu.etaxonomy.cdm.model.view.AuditEventRecord;
65 import eu.etaxonomy.cdm.persistence.dao.common.AuditEventSort;
66 import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
67 import eu.etaxonomy.cdm.persistence.query.Grouping;
68 import eu.etaxonomy.cdm.persistence.query.MatchMode;
69 import eu.etaxonomy.cdm.persistence.query.OrderHint;
70 import eu.etaxonomy.cdm.strategy.cache.TaggedText;
71 import eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy;
72 import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
73 import eu.etaxonomy.cdm.strategy.merge.IMergeStrategy;
74
75 /**
76 * @author pplitzner
77 * @date 27.09.2013
78 *
79 */
80 public class TransientNameService implements INameService {
81
82 private final INameService defaultService;
83
84 /**
85 *
86 */
87 public TransientNameService(INameService defaultNameService) {
88 this.defaultService = defaultNameService;
89 }
90
91 /**
92 * @param t
93 * @param pageSize
94 * @param pageNumber
95 * @param sort
96 * @param propertyPaths
97 * @return
98 * @see eu.etaxonomy.cdm.api.service.IVersionableService#pageAuditEvents(eu.etaxonomy.cdm.model.common.VersionableEntity, java.lang.Integer, java.lang.Integer, eu.etaxonomy.cdm.persistence.dao.common.AuditEventSort, java.util.List)
99 */
100 @Override
101 public Pager<AuditEventRecord<TaxonNameBase>> pageAuditEvents(TaxonNameBase t, Integer pageSize, Integer pageNumber, AuditEventSort sort, List<String> propertyPaths) {
102 return defaultService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
103 }
104
105 /**
106 * @param annotatedObj
107 * @param status
108 * @param pageSize
109 * @param pageNumber
110 * @param orderHints
111 * @param propertyPaths
112 * @return
113 * @see eu.etaxonomy.cdm.api.service.IAnnotatableService#getAnnotations(eu.etaxonomy.cdm.model.common.AnnotatableEntity, eu.etaxonomy.cdm.model.common.MarkerType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
114 */
115 @Override
116 public Pager<Annotation> getAnnotations(TaxonNameBase annotatedObj, MarkerType status, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
117 return defaultService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
118 }
119
120 /**
121 *
122 * @see eu.etaxonomy.cdm.api.service.IService#clear()
123 */
124 @Override
125 public void clear() {
126 defaultService.clear();
127 }
128
129 /**
130 * @param t
131 * @param lockMode
132 * @see eu.etaxonomy.cdm.api.service.IService#lock(eu.etaxonomy.cdm.model.common.ICdmBase, org.hibernate.LockMode)
133 */
134 @Override
135 public void lock(TaxonNameBase t, LockOptions lockOptions) {
136 defaultService.lock(t, lockOptions);
137 }
138
139 /**
140 * @param t
141 * @param lockMode
142 * @param propertyPaths
143 * @see eu.etaxonomy.cdm.api.service.IService#refresh(eu.etaxonomy.cdm.model.common.ICdmBase, org.hibernate.LockMode, java.util.List)
144 */
145 @Override
146 public void refresh(TaxonNameBase t, LockOptions lockOptions, List<String> propertyPaths) {
147 defaultService.refresh(t, lockOptions, propertyPaths);
148 }
149
150 /**
151 *
152 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#updateTitleCache()
153 */
154 @Override
155 public void updateTitleCache() {
156 defaultService.updateTitleCache();
157 }
158
159 /**
160 * @param t
161 * @return
162 * @see eu.etaxonomy.cdm.api.service.IVersionableService#getNextAuditEvent(eu.etaxonomy.cdm.model.common.VersionableEntity)
163 */
164 @Override
165 public AuditEventRecord<TaxonNameBase> getNextAuditEvent(TaxonNameBase t) {
166 return defaultService.getNextAuditEvent(t);
167 }
168
169 /**
170 * @param annotatableEntity
171 * @param technical
172 * @param pageSize
173 * @param pageNumber
174 * @param orderHints
175 * @param propertyPaths
176 * @return
177 * @see eu.etaxonomy.cdm.api.service.IAnnotatableService#getMarkers(eu.etaxonomy.cdm.model.common.AnnotatableEntity, java.lang.Boolean, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
178 */
179 @Override
180 public Pager<Marker> getMarkers(TaxonNameBase annotatableEntity, Boolean technical, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
181 return defaultService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
182 }
183
184 /**
185 * @param clazz
186 * @param stepSize
187 * @param cacheStrategy
188 * @param monitor
189 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#updateTitleCache(java.lang.Class, java.lang.Integer, eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy, eu.etaxonomy.cdm.common.monitor.IProgressMonitor)
190 */
191 @Override
192 public void updateTitleCache(Class<? extends TaxonNameBase> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<TaxonNameBase> cacheStrategy, IProgressMonitor monitor) {
193 defaultService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
194 }
195
196 /**
197 * @param t
198 * @return
199 * @see eu.etaxonomy.cdm.api.service.IVersionableService#getPreviousAuditEvent(eu.etaxonomy.cdm.model.common.VersionableEntity)
200 */
201 @Override
202 public AuditEventRecord<TaxonNameBase> getPreviousAuditEvent(TaxonNameBase t) {
203 return defaultService.getPreviousAuditEvent(t);
204 }
205
206 /**
207 * @param clazz
208 * @return
209 * @see eu.etaxonomy.cdm.api.service.IService#count(java.lang.Class)
210 */
211 @Override
212 public int count(Class<? extends TaxonNameBase> clazz) {
213 return defaultService.count(clazz);
214 }
215
216 /**
217 * @param name
218 * @param config
219 * @return
220 * @throws ReferencedObjectUndeletableException
221 * @see eu.etaxonomy.cdm.api.service.INameService#delete(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.api.service.config.NameDeletionConfigurator)
222 */
223 @Override
224 public DeleteResult delete(UUID nameUuid, NameDeletionConfigurator config) {
225 return defaultService.delete(nameUuid, config);
226 }
227
228 /**
229 * @param clazz
230 * @param from
231 * @param to
232 * @param criteria
233 * @param pageSize
234 * @param pageValue
235 * @param sort
236 * @param propertyPaths
237 * @return
238 * @see eu.etaxonomy.cdm.api.service.IVersionableService#pageAuditEvents(java.lang.Class, eu.etaxonomy.cdm.model.view.AuditEvent, eu.etaxonomy.cdm.model.view.AuditEvent, java.util.List, java.lang.Integer, java.lang.Integer, eu.etaxonomy.cdm.persistence.dao.common.AuditEventSort, java.util.List)
239 */
240 @Override
241 public Pager<AuditEventRecord<TaxonNameBase>> pageAuditEvents(Class<? extends TaxonNameBase> clazz, AuditEvent from, AuditEvent to, List<AuditCriterion> criteria, Integer pageSize, Integer pageValue, AuditEventSort sort, List<String> propertyPaths) {
242 return defaultService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
243 }
244
245 /**
246 * @param lsid
247 * @return
248 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#find(eu.etaxonomy.cdm.model.common.LSID)
249 */
250 @Override
251 public TaxonNameBase find(LSID lsid) {
252 return defaultService.find(lsid);
253 }
254
255 /**
256 * @param persistentObject
257 * @return
258 * @see eu.etaxonomy.cdm.api.service.IService#delete(eu.etaxonomy.cdm.model.common.ICdmBase)
259 */
260 @Override
261 public DeleteResult delete(TaxonNameBase persistentObject) {
262 return defaultService.delete(persistentObject);
263 }
264
265 /**
266 * @param clazz
267 * @param technical
268 * @param pageSize
269 * @param pageNumber
270 * @param propertyPaths
271 * @return
272 * @see eu.etaxonomy.cdm.api.service.IAnnotatableService#groupMarkers(java.lang.Class, java.lang.Boolean, java.lang.Integer, java.lang.Integer, java.util.List)
273 */
274 @Override
275 public List<Object[]> groupMarkers(Class<? extends TaxonNameBase> clazz, Boolean technical, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
276 return defaultService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
277 }
278
279 /**
280 * @param uuid
281 * @return
282 * @see eu.etaxonomy.cdm.api.service.IService#exists(java.util.UUID)
283 */
284 @Override
285 public boolean exists(UUID uuid) {
286 return defaultService.exists(uuid);
287 }
288
289 /**
290 * @param name
291 * @param typeDesignation
292 * @see eu.etaxonomy.cdm.api.service.INameService#deleteTypeDesignation(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.name.TypeDesignationBase)
293 */
294 @Override
295 public void deleteTypeDesignation(TaxonNameBase name, TypeDesignationBase typeDesignation) {
296 defaultService.deleteTypeDesignation(name, typeDesignation);
297 }
298
299 /**
300 * @param x
301 * @param y
302 * @return
303 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#replace(eu.etaxonomy.cdm.model.common.IdentifiableEntity, eu.etaxonomy.cdm.model.common.IdentifiableEntity)
304 */
305 @Override
306 public TaxonNameBase replace(TaxonNameBase x, TaxonNameBase y) {
307 return defaultService.replace(x, y);
308 }
309
310 /**
311 * @param uuidSet
312 * @return
313 * @see eu.etaxonomy.cdm.api.service.IService#find(java.util.Set)
314 */
315 @Override
316 public List<TaxonNameBase> find(Set<UUID> uuidSet) {
317 return defaultService.find(uuidSet);
318 }
319
320 /**
321 * @param t
322 * @param pageSize
323 * @param pageNumber
324 * @param propertyPaths
325 * @return
326 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#getSources(eu.etaxonomy.cdm.model.common.IdentifiableEntity, java.lang.Integer, java.lang.Integer, java.util.List)
327 */
328 @Override
329 public Pager<IdentifiableSource> getSources(TaxonNameBase t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
330 return defaultService.getSources(t, pageSize, pageNumber, propertyPaths);
331 }
332
333 /**
334 * @param typeDesignationCollection
335 * @return
336 * @see eu.etaxonomy.cdm.api.service.INameService#saveTypeDesignationAll(java.util.Collection)
337 */
338 @Override
339 public Map<UUID, TypeDesignationBase> saveTypeDesignationAll(Collection<TypeDesignationBase> typeDesignationCollection) {
340 return null;
341 }
342
343 /**
344 * @param uuid
345 * @return
346 * @see eu.etaxonomy.cdm.api.service.IService#find(java.util.UUID)
347 */
348 @Override
349 public TaxonNameBase find(UUID uuid) {
350 return defaultService.find(uuid);
351 }
352
353 /**
354 * @param referencedEntityCollection
355 * @return
356 * @see eu.etaxonomy.cdm.api.service.INameService#saveReferencedEntitiesAll(java.util.Collection)
357 */
358 @Override
359 public Map<UUID, ReferencedEntityBase> saveReferencedEntitiesAll(Collection<ReferencedEntityBase> referencedEntityCollection) {
360 return null;
361 }
362
363 /**
364 * @param homotypicalGroups
365 * @return
366 * @see eu.etaxonomy.cdm.api.service.INameService#saveAllHomotypicalGroups(java.util.Collection)
367 */
368 @Override
369 public Map<UUID, HomotypicalGroup> saveAllHomotypicalGroups(Collection<HomotypicalGroup> homotypicalGroups) {
370 return null;
371 }
372
373 /**
374 * @param id
375 * @return
376 * @see eu.etaxonomy.cdm.api.service.IService#find(int)
377 */
378 @Override
379 public TaxonNameBase find(int id) {
380 return defaultService.find(id);
381 }
382
383 /**
384 * @param t
385 * @param pageSize
386 * @param pageNumber
387 * @param propertyPaths
388 * @return
389 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#getRights(eu.etaxonomy.cdm.model.common.IdentifiableEntity, java.lang.Integer, java.lang.Integer, java.util.List)
390 */
391 @Override
392 public Pager<Rights> getRights(TaxonNameBase t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
393 return defaultService.getRights(t, pageSize, pageNumber, propertyPaths);
394 }
395
396 /**
397 * @param clazz
398 * @param technical
399 * @return
400 * @see eu.etaxonomy.cdm.api.service.IAnnotatableService#countMarkers(java.lang.Class, java.lang.Boolean)
401 */
402 @Override
403 public int countMarkers(Class<? extends TaxonNameBase> clazz, Boolean technical) {
404 return defaultService.countMarkers(clazz, technical);
405 }
406
407 /**
408 * @param limit
409 * @param start
410 * @return
411 * @see eu.etaxonomy.cdm.api.service.INameService#getAllNomenclaturalStatus(int, int)
412 */
413 @Override
414 public List<NomenclaturalStatus> getAllNomenclaturalStatus(int limit, int start) {
415 return defaultService.getAllNomenclaturalStatus(limit, start);
416 }
417
418 /**
419 * @param limit
420 * @param start
421 * @return
422 * @see eu.etaxonomy.cdm.api.service.INameService#getAllTypeDesignations(int, int)
423 */
424 @Override
425 public List<TypeDesignationBase> getAllTypeDesignations(int limit, int start) {
426 return defaultService.getAllTypeDesignations(limit, start);
427 }
428
429 /**
430 * @param idSet
431 * @return
432 * @see eu.etaxonomy.cdm.api.service.IService#findById(java.util.Set)
433 */
434 @Override
435 public List<TaxonNameBase> findById(Set<Integer> idSet) {
436 return defaultService.findById(idSet);
437 }
438
439 /**
440 * @param name
441 * @return
442 * @see eu.etaxonomy.cdm.api.service.INameService#getNamesByName(java.lang.String)
443 */
444 @Override
445 public List<TaxonNameBase> getNamesByName(String name) {
446 return defaultService.getNamesByName(name);
447 }
448
449 /**
450 * @param nameCache
451 * @return
452 * @see eu.etaxonomy.cdm.api.service.INameService#getNamesByNameCache(java.lang.String)
453 */
454 @Override
455 public List<NonViralName> getNamesByNameCache(String nameCache) {
456 return defaultService.getNamesByNameCache(nameCache);
457 }
458
459 /**
460 * @param clazz
461 * @param idInSource
462 * @param idNamespace
463 * @return
464 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#getSourcedObjectByIdInSource(java.lang.Class, java.lang.String, java.lang.String)
465 */
466 @Override
467 public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace) {
468 return defaultService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
469 }
470
471 /**
472 * @return
473 * @see eu.etaxonomy.cdm.api.service.IService#getSession()
474 */
475 @Override
476 public Session getSession() {
477 return defaultService.getSession();
478 }
479
480 /**
481 * @return
482 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#getUuidAndTitleCache()
483 */
484 @Override
485 public List<UuidAndTitleCache<TaxonNameBase>> getUuidAndTitleCache() {
486 return defaultService.getUuidAndTitleCache();
487 }
488
489 /**
490 * @param clazz
491 * @param limit
492 * @param start
493 * @param groups
494 * @param propertyPaths
495 * @return
496 * @see eu.etaxonomy.cdm.api.service.IService#group(java.lang.Class, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
497 */
498 @Override
499 public List<Object[]> group(Class<? extends TaxonNameBase> clazz, Integer limit, Integer start, List<Grouping> groups, List<String> propertyPaths) {
500 return defaultService.group(clazz, limit, start, groups, propertyPaths);
501 }
502
503 /**
504 * @param titleCache
505 * @param matchMode
506 * @param propertyPaths
507 * @return
508 * @see eu.etaxonomy.cdm.api.service.INameService#findNamesByTitleCache(java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List)
509 */
510 @Override
511 public List<NonViralName> findNamesByTitleCache(String titleCache, MatchMode matchMode, List<String> propertyPaths) {
512 return defaultService.findNamesByTitleCache(titleCache, matchMode, propertyPaths);
513 }
514
515 /**
516 * @param nameCache
517 * @param matchMode
518 * @param propertyPaths
519 * @return
520 * @see eu.etaxonomy.cdm.api.service.INameService#findNamesByNameCache(java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List)
521 */
522 @Override
523 public List<NonViralName> findNamesByNameCache(String nameCache, MatchMode matchMode, List<String> propertyPaths) {
524 return defaultService.findNamesByNameCache(nameCache, matchMode, propertyPaths);
525 }
526
527 /**
528 * @param clazz
529 * @param queryString
530 * @param matchmode
531 * @param criteria
532 * @param pageSize
533 * @param pageNumber
534 * @param orderHints
535 * @param propertyPaths
536 * @return
537 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#findByTitle(java.lang.Class, java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
538 */
539 @Override
540 public Pager<TaxonNameBase> findByTitle(Class<? extends TaxonNameBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
541 return defaultService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
542 }
543
544 /**
545 * @param uuid
546 * @param propertyPaths
547 * @return
548 * @see eu.etaxonomy.cdm.api.service.INameService#findNameByUuid(java.util.UUID, java.util.List)
549 */
550 @Override
551 public NonViralName findNameByUuid(UUID uuid, List<String> propertyPaths) {
552 return defaultService.findNameByUuid(uuid, propertyPaths);
553 }
554
555 /**
556 * @param name
557 * @param sessionObject
558 * @return
559 * @see eu.etaxonomy.cdm.api.service.INameService#getNamesByName(java.lang.String, eu.etaxonomy.cdm.model.common.CdmBase)
560 */
561 @Override
562 public List getNamesByName(String name, CdmBase sessionObject) {
563 return defaultService.getNamesByName(name, sessionObject);
564 }
565
566 /**
567 * @param name
568 * @param accuracy
569 * @param languages
570 * @param highlightFragments
571 * @param propertyPaths
572 * @param maxNoOfResults
573 * @return
574 * @throws CorruptIndexException
575 * @throws IOException
576 * @throws ParseException
577 * @see eu.etaxonomy.cdm.api.service.INameService#findByNameFuzzySearch(java.lang.String, float, java.util.List, boolean, java.util.List, int)
578 */
579 @Override
580 public List<SearchResult<TaxonNameBase>> findByNameFuzzySearch(String name, float accuracy, List<Language> languages, boolean highlightFragments, List<String> propertyPaths, int maxNoOfResults) throws CorruptIndexException, IOException, ParseException {
581 return defaultService.findByNameFuzzySearch(name, accuracy, languages, highlightFragments, propertyPaths, maxNoOfResults);
582 }
583
584 /**
585 * @param type
586 * @param limit
587 * @param start
588 * @param orderHints
589 * @param propertyPaths
590 * @return
591 * @see eu.etaxonomy.cdm.api.service.IService#list(java.lang.Class, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
592 */
593 @Override
594 public <S extends TaxonNameBase> List<S> list(Class<S> type, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
595 return defaultService.list(type, limit, start, orderHints, propertyPaths);
596 }
597
598 /**
599 * @param configurator
600 * @return
601 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#findByTitle(eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator)
602 */
603 @Override
604 public Pager<TaxonNameBase> findByTitle(IIdentifiableEntityServiceConfigurator<TaxonNameBase> configurator) {
605 return defaultService.findByTitle(configurator);
606 }
607
608 /**
609 * @param clazz
610 * @param queryString
611 * @param matchmode
612 * @param criteria
613 * @return
614 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#countByTitle(java.lang.Class, java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List)
615 */
616 @Override
617 public Integer countByTitle(Class<? extends TaxonNameBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria) {
618 return defaultService.countByTitle(clazz, queryString, matchmode, criteria);
619 }
620
621 /**
622 * @param uuid
623 * @return
624 * @see eu.etaxonomy.cdm.api.service.IService#load(java.util.UUID)
625 */
626 @Override
627 public TaxonNameBase load(UUID uuid) {
628 return defaultService.load(uuid);
629 }
630
631 /**
632 * @param name
633 * @param accuracy
634 * @param languages
635 * @param highlightFragments
636 * @param maxNoOfResults
637 * @return
638 * @throws CorruptIndexException
639 * @throws IOException
640 * @throws ParseException
641 * @see eu.etaxonomy.cdm.api.service.INameService#findByNameFuzzySearch(java.lang.String, float, java.util.List, boolean, int)
642 */
643 @Override
644 public List<DocumentSearchResult> findByNameFuzzySearch(String name, float accuracy, List<Language> languages, boolean highlightFragments, int maxNoOfResults) throws CorruptIndexException, IOException, ParseException {
645 return defaultService.findByNameFuzzySearch(name, accuracy, languages, highlightFragments, maxNoOfResults);
646 }
647
648 /**
649 * @param uuid
650 * @param propertyPaths
651 * @return
652 * @see eu.etaxonomy.cdm.api.service.IService#load(java.util.UUID, java.util.List)
653 */
654 @Override
655 public TaxonNameBase load(UUID uuid, List<String> propertyPaths) {
656 return defaultService.load(uuid, propertyPaths);
657 }
658
659 /**
660 * @param configurator
661 * @return
662 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#countByTitle(eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator)
663 */
664 @Override
665 public Integer countByTitle(IIdentifiableEntityServiceConfigurator<TaxonNameBase> configurator) {
666 return defaultService.countByTitle(configurator);
667 }
668
669 /**
670 * @param transientObject
671 * @return
672 * @see eu.etaxonomy.cdm.api.service.IService#merge(eu.etaxonomy.cdm.model.common.ICdmBase)
673 */
674 @Override
675 public TaxonNameBase merge(TaxonNameBase transientObject) {
676 return defaultService.merge(transientObject);
677 }
678
679 /**
680 * @param clazz
681 * @param queryString
682 * @param matchmode
683 * @param criteria
684 * @param pageSize
685 * @param pageNumber
686 * @param orderHints
687 * @param propertyPaths
688 * @return
689 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#listByTitle(java.lang.Class, java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
690 */
691 @Override
692 public List<TaxonNameBase> listByTitle(Class<? extends TaxonNameBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
693 return defaultService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
694 }
695
696 /**
697 * @param type
698 * @param pageSize
699 * @param pageNumber
700 * @param orderHints
701 * @param propertyPaths
702 * @return
703 * @see eu.etaxonomy.cdm.api.service.IService#page(java.lang.Class, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
704 */
705 @Override
706 public <S extends TaxonNameBase> Pager<S> page(Class<S> type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
707 return defaultService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
708 }
709
710 /**
711 * @param name
712 * @param accuracy
713 * @param languages
714 * @param highlightFragments
715 * @param maxNoOfResults
716 * @return
717 * @throws CorruptIndexException
718 * @throws IOException
719 * @throws ParseException
720 * @see eu.etaxonomy.cdm.api.service.INameService#findByFuzzyNameCacheSearch(java.lang.String, float, java.util.List, boolean, int)
721 */
722 @Override
723 public List<DocumentSearchResult> findByFuzzyNameCacheSearch(String name, float accuracy, List<Language> languages, boolean highlightFragments, int maxNoOfResults) throws CorruptIndexException, IOException, ParseException {
724 return defaultService.findByFuzzyNameCacheSearch(name, accuracy, languages, highlightFragments, maxNoOfResults);
725 }
726
727 /**
728 * @param name
729 * @param wildcard
730 * @param languages
731 * @param highlightFragments
732 * @param maxNoOfResults
733 * @return
734 * @throws CorruptIndexException
735 * @throws IOException
736 * @throws ParseException
737 * @see eu.etaxonomy.cdm.api.service.INameService#findByNameExactSearch(java.lang.String, boolean, java.util.List, boolean, int)
738 */
739 @Override
740 public List<DocumentSearchResult> findByNameExactSearch(String name, boolean wildcard, List<Language> languages, boolean highlightFragments, int maxNoOfResults) throws CorruptIndexException, IOException, ParseException {
741 return defaultService.findByNameExactSearch(name, wildcard, languages, highlightFragments, maxNoOfResults);
742 }
743
744 /**
745 * @param persistentObject
746 * @return
747 * @see eu.etaxonomy.cdm.api.service.IService#refresh(eu.etaxonomy.cdm.model.common.ICdmBase)
748 */
749 @Override
750 public UUID refresh(TaxonNameBase persistentObject) {
751 return defaultService.refresh(persistentObject);
752 }
753
754 /**
755 * @param clazz
756 * @param queryString
757 * @param matchmode
758 * @param criteria
759 * @param pageSize
760 * @param pageNumber
761 * @param orderHints
762 * @param propertyPaths
763 * @return
764 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#listByReferenceTitle(java.lang.Class, java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
765 */
766 @Override
767 public List<TaxonNameBase> listByReferenceTitle(Class<? extends TaxonNameBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
768 return defaultService.listByReferenceTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
769 }
770
771 /**
772 * @param tableName
773 * @param limit
774 * @param start
775 * @return
776 * @see eu.etaxonomy.cdm.api.service.IService#rows(java.lang.String, int, int)
777 */
778 @Override
779 public List<TaxonNameBase> rows(String tableName, int limit, int start) {
780 return defaultService.rows(tableName, limit, start);
781 }
782
783 /**
784 * @param newInstances
785 * @return
786 * @see eu.etaxonomy.cdm.api.service.IService#save(java.util.Collection)
787 */
788 @Override
789 public Map<UUID, TaxonNameBase> save(Collection<TaxonNameBase> newInstances) {
790 return null;
791 }
792
793 /**
794 * @param newInstance
795 * @return
796 * @see eu.etaxonomy.cdm.api.service.IService#save(eu.etaxonomy.cdm.model.common.ICdmBase)
797 */
798 @Override
799 public UUID save(TaxonNameBase newInstance) {
800 return null;
801 }
802
803 /**
804 * @param title
805 * @return
806 * @see eu.etaxonomy.cdm.api.service.INameService#findNamesByTitle(java.lang.String)
807 */
808 @Override
809 public List findNamesByTitle(String title) {
810 return defaultService.findNamesByTitle(title);
811 }
812
813 /**
814 * @param title
815 * @param sessionObject
816 * @return
817 * @see eu.etaxonomy.cdm.api.service.INameService#findNamesByTitle(java.lang.String, eu.etaxonomy.cdm.model.common.CdmBase)
818 */
819 @Override
820 public List findNamesByTitle(String title, CdmBase sessionObject) {
821 return defaultService.findNamesByTitle(title, sessionObject);
822 }
823
824 /**
825 * @param transientObject
826 * @return
827 * @see eu.etaxonomy.cdm.api.service.IService#saveOrUpdate(eu.etaxonomy.cdm.model.common.ICdmBase)
828 */
829 @Override
830 public UUID saveOrUpdate(TaxonNameBase transientObject) {
831 return null;
832 }
833
834 /**
835 * @param limit
836 * @param start
837 * @return
838 * @see eu.etaxonomy.cdm.api.service.INameService#getAllHomotypicalGroups(int, int)
839 */
840 @Override
841 public List<HomotypicalGroup> getAllHomotypicalGroups(int limit, int start) {
842 return defaultService.getAllHomotypicalGroups(limit, start);
843 }
844
845 /**
846 * @param limit
847 * @param start
848 * @return
849 * @deprecated
850 * @see eu.etaxonomy.cdm.api.service.INameService#getAllRelationships(int, int)
851 */
852 @Deprecated
853 @Override
854 public List<RelationshipBase> getAllRelationships(int limit, int start) {
855 return defaultService.getAllRelationships(limit, start);
856 }
857
858 /**
859 * @param transientObjects
860 * @return
861 * @see eu.etaxonomy.cdm.api.service.IService#saveOrUpdate(java.util.Collection)
862 */
863 @Override
864 public Map<UUID, TaxonNameBase> saveOrUpdate(Collection<TaxonNameBase> transientObjects) {
865 return null;
866 }
867
868 /**
869 * @param transientObject
870 * @return
871 * @see eu.etaxonomy.cdm.api.service.IService#update(eu.etaxonomy.cdm.model.common.ICdmBase)
872 */
873 @Override
874 public UUID update(TaxonNameBase transientObject) {
875 return defaultService.update(transientObject);
876 }
877
878 /**
879 * @param example
880 * @param includeProperties
881 * @param limit
882 * @param start
883 * @param orderHints
884 * @param propertyPaths
885 * @return
886 * @see eu.etaxonomy.cdm.api.service.IService#list(eu.etaxonomy.cdm.model.common.ICdmBase, java.util.Set, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
887 */
888 @Override
889 public List<TaxonNameBase> list(TaxonNameBase example, Set<String> includeProperties, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
890 return defaultService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
891 }
892
893 /**
894 * @param clazz
895 * @param matchStrategy
896 * @param mergeStrategy
897 * @return
898 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#deduplicate(java.lang.Class, eu.etaxonomy.cdm.strategy.match.IMatchStrategy, eu.etaxonomy.cdm.strategy.merge.IMergeStrategy)
899 */
900 @Override
901 public int deduplicate(Class<? extends TaxonNameBase> clazz, IMatchStrategy matchStrategy, IMergeStrategy mergeStrategy) {
902 return defaultService.deduplicate(clazz, matchStrategy, mergeStrategy);
903 }
904
905 /**
906 * @param name
907 * @param direction
908 * @param type
909 * @param pageSize
910 * @param pageNumber
911 * @param orderHints
912 * @param propertyPaths
913 * @return
914 * @see eu.etaxonomy.cdm.api.service.INameService#listNameRelationships(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.common.RelationshipBase.Direction, eu.etaxonomy.cdm.model.name.NameRelationshipType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
915 */
916 @Override
917 public List<NameRelationship> listNameRelationships(TaxonNameBase name, Direction direction, NameRelationshipType type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
918 return defaultService.listNameRelationships(name, direction, type, pageSize, pageNumber, orderHints, propertyPaths);
919 }
920
921 /**
922 * @param clazz
923 * @param queryString
924 * @param pageSize
925 * @param pageNumber
926 * @param orderHints
927 * @param matchMode
928 * @return
929 * @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#findTitleCache(java.lang.Class, java.lang.String, java.lang.Integer, java.lang.Integer, java.util.List, eu.etaxonomy.cdm.persistence.query.MatchMode)
930 */
931 @Override
932 public Pager<TaxonNameBase> findTitleCache(Class<? extends TaxonNameBase> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, MatchMode matchMode) {
933 return defaultService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
934 }
935
936 /**
937 * @param name
938 * @param direction
939 * @param type
940 * @param pageSize
941 * @param pageNumber
942 * @param orderHints
943 * @param propertyPaths
944 * @return
945 * @see eu.etaxonomy.cdm.api.service.INameService#pageNameRelationships(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.common.RelationshipBase.Direction, eu.etaxonomy.cdm.model.name.NameRelationshipType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
946 */
947 @Override
948 public Pager<NameRelationship> pageNameRelationships(TaxonNameBase name, Direction direction, NameRelationshipType type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
949 return defaultService.pageNameRelationships(name, direction, type, pageSize, pageNumber, orderHints, propertyPaths);
950 }
951
952 /**
953 * @param name
954 * @param type
955 * @param pageSize
956 * @param pageNumber
957 * @param orderHints
958 * @param propertyPaths
959 * @return
960 * @deprecated
961 * @see eu.etaxonomy.cdm.api.service.INameService#listFromNameRelationships(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.name.NameRelationshipType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
962 */
963 @Deprecated
964 @Override
965 public List<NameRelationship> listFromNameRelationships(TaxonNameBase name, NameRelationshipType type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
966 return defaultService.listFromNameRelationships(name, type, pageSize, pageNumber, orderHints, propertyPaths);
967 }
968
969 /**
970 * @param name
971 * @param type
972 * @param pageSize
973 * @param pageNumber
974 * @param orderHints
975 * @param propertyPaths
976 * @return
977 * @deprecated
978 * @see eu.etaxonomy.cdm.api.service.INameService#pageFromNameRelationships(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.name.NameRelationshipType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
979 */
980 @Deprecated
981 @Override
982 public Pager<NameRelationship> pageFromNameRelationships(TaxonNameBase name, NameRelationshipType type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
983 return defaultService.pageFromNameRelationships(name, type, pageSize, pageNumber, orderHints, propertyPaths);
984 }
985
986 /**
987 * @param name
988 * @param type
989 * @param pageSize
990 * @param pageNumber
991 * @param orderHints
992 * @param propertyPaths
993 * @return
994 * @deprecated
995 * @see eu.etaxonomy.cdm.api.service.INameService#listToNameRelationships(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.name.NameRelationshipType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
996 */
997 @Deprecated
998 @Override
999 public List<NameRelationship> listToNameRelationships(TaxonNameBase name, NameRelationshipType type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
1000 return defaultService.listToNameRelationships(name, type, pageSize, pageNumber, orderHints, propertyPaths);
1001 }
1002
1003 /**
1004 * @param name
1005 * @param type
1006 * @param pageSize
1007 * @param pageNumber
1008 * @param orderHints
1009 * @param propertyPaths
1010 * @return
1011 * @deprecated
1012 * @see eu.etaxonomy.cdm.api.service.INameService#pageToNameRelationships(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.name.NameRelationshipType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
1013 */
1014 @Deprecated
1015 @Override
1016 public Pager<NameRelationship> pageToNameRelationships(TaxonNameBase name, NameRelationshipType type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
1017 return defaultService.pageToNameRelationships(name, type, pageSize, pageNumber, orderHints, propertyPaths);
1018 }
1019
1020 /**
1021 * @param name
1022 * @param type
1023 * @param pageSize
1024 * @param pageNumber
1025 * @param orderHints
1026 * @param propertyPaths
1027 * @return
1028 * @see eu.etaxonomy.cdm.api.service.INameService#getHybridNames(eu.etaxonomy.cdm.model.name.NonViralName, eu.etaxonomy.cdm.model.name.HybridRelationshipType, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
1029 */
1030 @Override
1031 public Pager<HybridRelationship> getHybridNames(NonViralName name, HybridRelationshipType type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
1032 return defaultService.getHybridNames(name, type, pageSize, pageNumber, orderHints, propertyPaths);
1033 }
1034
1035 /**
1036 * @param name
1037 * @param status
1038 * @param pageSize
1039 * @param pageNumber
1040 * @return
1041 * @see eu.etaxonomy.cdm.api.service.INameService#getTypeDesignations(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus, java.lang.Integer, java.lang.Integer)
1042 */
1043 @Override
1044 public Pager<TypeDesignationBase> getTypeDesignations(TaxonNameBase name, SpecimenTypeDesignationStatus status, Integer pageSize, Integer pageNumber) {
1045 return defaultService.getTypeDesignations(name, status, pageSize, pageNumber);
1046 }
1047
1048 /**
1049 * @param name
1050 * @param status
1051 * @param pageSize
1052 * @param pageNumber
1053 * @param propertyPaths
1054 * @return
1055 * @see eu.etaxonomy.cdm.api.service.INameService#getTypeDesignations(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus, java.lang.Integer, java.lang.Integer, java.util.List)
1056 */
1057 @Override
1058 public Pager<TypeDesignationBase> getTypeDesignations(TaxonNameBase name, SpecimenTypeDesignationStatus status, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
1059 return defaultService.getTypeDesignations(name, status, pageSize, pageNumber, propertyPaths);
1060 }
1061
1062 /**
1063 * @param uninomial
1064 * @param infraGenericEpithet
1065 * @param specificEpithet
1066 * @param infraspecificEpithet
1067 * @param rank
1068 * @param pageSize
1069 * @param pageNumber
1070 * @param orderHints
1071 * @param propertyPaths
1072 * @return
1073 * @see eu.etaxonomy.cdm.api.service.INameService#searchNames(java.lang.String, java.lang.String, java.lang.String, java.lang.String, eu.etaxonomy.cdm.model.name.Rank, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
1074 */
1075 @Override
1076 public Pager<TaxonNameBase> searchNames(String uninomial, String infraGenericEpithet, String specificEpithet, String infraspecificEpithet, Rank rank, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
1077 return defaultService.searchNames(uninomial, infraGenericEpithet, specificEpithet, infraspecificEpithet, rank, pageSize, pageNumber, orderHints, propertyPaths);
1078 }
1079
1080 /**
1081 * @param clazz
1082 * @param queryString
1083 * @param pageSize
1084 * @param pageNumber
1085 * @param orderHints
1086 * @param propertyPaths
1087 * @return
1088 * @see eu.etaxonomy.cdm.api.service.INameService#search(java.lang.Class, java.lang.String, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
1089 */
1090 @Override
1091 public Pager<TaxonNameBase> search(Class<? extends TaxonNameBase> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
1092 return defaultService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
1093 }
1094
1095 /**
1096 * @return
1097 * @see eu.etaxonomy.cdm.api.service.INameService#getUuidAndTitleCacheOfNames()
1098 */
1099 @Override
1100 public List<UuidAndTitleCache> getUuidAndTitleCacheOfNames() {
1101 return defaultService.getUuidAndTitleCacheOfNames();
1102 }
1103
1104 /**
1105 * @param clazz
1106 * @param queryString
1107 * @param matchmode
1108 * @param criteria
1109 * @param pageSize
1110 * @param pageNumber
1111 * @param orderHints
1112 * @param propertyPaths
1113 * @return
1114 * @see eu.etaxonomy.cdm.api.service.INameService#findByName(java.lang.Class, java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
1115 */
1116 @Override
1117 public Pager<TaxonNameBase> findByName(Class<? extends TaxonNameBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
1118 return defaultService.findByName(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
1119 }
1120
1121 /**
1122 * @param uuid
1123 * @return
1124 * @see eu.etaxonomy.cdm.api.service.INameService#findHomotypicalGroup(java.util.UUID)
1125 */
1126 @Override
1127 public HomotypicalGroup findHomotypicalGroup(UUID uuid) {
1128 return defaultService.findHomotypicalGroup(uuid);
1129 }
1130
1131 /**
1132 * @param uuid
1133 * @return
1134 * @see eu.etaxonomy.cdm.api.service.INameService#getTaggedName(java.util.UUID)
1135 */
1136 @Override
1137 public List<TaggedText> getTaggedName(UUID uuid) {
1138 return defaultService.getTaggedName(uuid);
1139 }
1140
1141 @Override
1142 public DeleteResult isDeletable(TaxonNameBase object,
1143 DeleteConfiguratorBase config) {
1144 // TODO Auto-generated method stub
1145 return null;
1146 }
1147
1148 @Override
1149 public TaxonNameBase findWithoutFlush(UUID uuid) {
1150 return defaultService.findWithoutFlush(uuid);
1151 }
1152
1153
1154
1155 @Override
1156 public <S extends TaxonNameBase> Pager<FindByIdentifierDTO<S>> findByIdentifier(Class<S> clazz, String identifier, DefinedTerm identifierType, MatchMode matchmode, boolean includeEntity, Integer pageSize, Integer pageNumber, List<String> propertyPaths){
1157 return defaultService.findByIdentifier(clazz, identifier, identifierType, matchmode, includeEntity, pageSize, pageNumber, propertyPaths);
1158 }
1159
1160
1161
1162 @Override
1163 public List<HashMap<String, String>> getNameRecords() {
1164
1165 return defaultService.getNameRecords();
1166 }
1167 <<<<<<< HEAD
1168 =======
1169
1170 @Override
1171 public DeleteResult delete(UUID arg0) {
1172 return defaultService.delete(arg0);
1173 }
1174
1175
1176 >>>>>>> b275ef1... all delete methods need an Uuid as argument
1177
1178 /**
1179 * {@inheritDoc}
1180 */
1181 @Override
1182 public DeleteResult delete(UUID arg0) {
1183 return defaultService.delete(arg0);
1184 }
1185
1186 /**
1187 * {@inheritDoc}
1188 */
1189 @Override
1190 public UpdateResult setAsGroupsBasionym(UUID arg0) {
1191 return defaultService.setAsGroupsBasionym(arg0);
1192 }
1193
1194
1195
1196
1197
1198
1199 }