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