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.IClassificationService;
|
25
|
import eu.etaxonomy.cdm.api.service.UpdateResult;
|
26
|
import eu.etaxonomy.cdm.api.service.config.CreateHierarchyForClassificationConfigurator;
|
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.Marker;
|
38
|
import eu.etaxonomy.cdm.model.common.MarkerType;
|
39
|
import eu.etaxonomy.cdm.model.media.MediaRepresentation;
|
40
|
import eu.etaxonomy.cdm.model.media.Rights;
|
41
|
import eu.etaxonomy.cdm.model.name.Rank;
|
42
|
import eu.etaxonomy.cdm.model.taxon.Classification;
|
43
|
import eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode;
|
44
|
import eu.etaxonomy.cdm.model.taxon.Taxon;
|
45
|
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
|
46
|
import eu.etaxonomy.cdm.model.view.AuditEvent;
|
47
|
import eu.etaxonomy.cdm.model.view.AuditEventRecord;
|
48
|
import eu.etaxonomy.cdm.persistence.dao.common.AuditEventSort;
|
49
|
import eu.etaxonomy.cdm.persistence.dto.MergeResult;
|
50
|
import eu.etaxonomy.cdm.persistence.dto.UuidAndTitleCache;
|
51
|
import eu.etaxonomy.cdm.persistence.query.Grouping;
|
52
|
import eu.etaxonomy.cdm.persistence.query.MatchMode;
|
53
|
import eu.etaxonomy.cdm.persistence.query.OrderHint;
|
54
|
import eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy;
|
55
|
import eu.etaxonomy.cdm.strategy.match.IMatchStrategy;
|
56
|
import eu.etaxonomy.cdm.strategy.merge.IMergeStrategy;
|
57
|
|
58
|
/**
|
59
|
* @author pplitzner
|
60
|
* @date 27.09.2013
|
61
|
*
|
62
|
*/
|
63
|
public class TransientClassificationService implements IClassificationService {
|
64
|
|
65
|
private final IClassificationService defaultService;
|
66
|
|
67
|
/**
|
68
|
* @param defaultClassificationService
|
69
|
*/
|
70
|
public TransientClassificationService(IClassificationService defaultClassificationService) {
|
71
|
this.defaultService = defaultClassificationService;
|
72
|
}
|
73
|
|
74
|
/**
|
75
|
* @param t
|
76
|
* @param pageSize
|
77
|
* @param pageNumber
|
78
|
* @param sort
|
79
|
* @param propertyPaths
|
80
|
* @return
|
81
|
* @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)
|
82
|
*/
|
83
|
@Override
|
84
|
public Pager<AuditEventRecord<Classification>> pageAuditEvents(Classification t, Integer pageSize, Integer pageNumber, AuditEventSort sort, List<String> propertyPaths) {
|
85
|
return defaultService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
|
86
|
}
|
87
|
|
88
|
/**
|
89
|
* @param annotatedObj
|
90
|
* @param status
|
91
|
* @param pageSize
|
92
|
* @param pageNumber
|
93
|
* @param orderHints
|
94
|
* @param propertyPaths
|
95
|
* @return
|
96
|
* @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)
|
97
|
*/
|
98
|
@Override
|
99
|
public Pager<Annotation> getAnnotations(Classification annotatedObj, MarkerType status, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
|
100
|
return defaultService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
|
101
|
}
|
102
|
|
103
|
/**
|
104
|
* @param uuid
|
105
|
* @return
|
106
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#getTaxonNodeByUuid(java.util.UUID)
|
107
|
*/
|
108
|
@Override
|
109
|
public TaxonNode getTaxonNodeByUuid(UUID uuid) {
|
110
|
return defaultService.getTaxonNodeByUuid(uuid);
|
111
|
}
|
112
|
|
113
|
/**
|
114
|
* @param uuid
|
115
|
* @return
|
116
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#getTreeNodeByUuid(java.util.UUID)
|
117
|
*/
|
118
|
@Override
|
119
|
public ITaxonTreeNode getTreeNodeByUuid(UUID uuid) {
|
120
|
return defaultService.getTreeNodeByUuid(uuid);
|
121
|
}
|
122
|
|
123
|
/**
|
124
|
*
|
125
|
* @see eu.etaxonomy.cdm.api.service.IService#clear()
|
126
|
*/
|
127
|
@Override
|
128
|
public void clear() {
|
129
|
defaultService.clear();
|
130
|
}
|
131
|
|
132
|
/**
|
133
|
* @param limit
|
134
|
* @param start
|
135
|
* @param orderHints
|
136
|
* @param propertyPaths
|
137
|
* @return
|
138
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#listClassifications(java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
|
139
|
*/
|
140
|
@Override
|
141
|
public List<Classification> listClassifications(Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
|
142
|
return defaultService.listClassifications(limit, start, orderHints, propertyPaths);
|
143
|
}
|
144
|
|
145
|
/**
|
146
|
* @param t
|
147
|
* @param lockMode
|
148
|
* @see eu.etaxonomy.cdm.api.service.IService#lock(eu.etaxonomy.cdm.model.common.ICdmBase, org.hibernate.LockMode)
|
149
|
*/
|
150
|
@Override
|
151
|
public void lock(Classification t, LockOptions lockOptions) {
|
152
|
defaultService.lock(t, lockOptions);
|
153
|
}
|
154
|
|
155
|
/**
|
156
|
* @param t
|
157
|
* @param lockMode
|
158
|
* @param propertyPaths
|
159
|
* @see eu.etaxonomy.cdm.api.service.IService#refresh(eu.etaxonomy.cdm.model.common.ICdmBase, org.hibernate.LockMode, java.util.List)
|
160
|
*/
|
161
|
@Override
|
162
|
public void refresh(Classification t, LockOptions lockOptions, List<String> propertyPaths) {
|
163
|
defaultService.refresh(t, lockOptions, propertyPaths);
|
164
|
}
|
165
|
|
166
|
/**
|
167
|
* @param taxon
|
168
|
* @param classificationUuid
|
169
|
* @param propertyPaths
|
170
|
* @return
|
171
|
* @deprecated
|
172
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#loadTaxonNodeByTaxon(eu.etaxonomy.cdm.model.taxon.Taxon, java.util.UUID, java.util.List)
|
173
|
*/
|
174
|
@Deprecated
|
175
|
@Override
|
176
|
public TaxonNode loadTaxonNodeByTaxon(Taxon taxon, UUID classificationUuid, List<String> propertyPaths) {
|
177
|
return defaultService.loadTaxonNodeByTaxon(taxon, classificationUuid, propertyPaths);
|
178
|
}
|
179
|
|
180
|
/**
|
181
|
*
|
182
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#updateTitleCache()
|
183
|
*/
|
184
|
@Override
|
185
|
public void updateTitleCache() {
|
186
|
defaultService.updateTitleCache();
|
187
|
}
|
188
|
|
189
|
/**
|
190
|
* @param t
|
191
|
* @return
|
192
|
* @see eu.etaxonomy.cdm.api.service.IVersionableService#getNextAuditEvent(eu.etaxonomy.cdm.model.common.VersionableEntity)
|
193
|
*/
|
194
|
@Override
|
195
|
public AuditEventRecord<Classification> getNextAuditEvent(Classification t) {
|
196
|
return defaultService.getNextAuditEvent(t);
|
197
|
}
|
198
|
|
199
|
/**
|
200
|
* @param annotatableEntity
|
201
|
* @param technical
|
202
|
* @param pageSize
|
203
|
* @param pageNumber
|
204
|
* @param orderHints
|
205
|
* @param propertyPaths
|
206
|
* @return
|
207
|
* @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)
|
208
|
*/
|
209
|
@Override
|
210
|
public Pager<Marker> getMarkers(Classification annotatableEntity, Boolean technical, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
|
211
|
return defaultService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
|
212
|
}
|
213
|
|
214
|
/**
|
215
|
* @param clazz
|
216
|
* @param stepSize
|
217
|
* @param cacheStrategy
|
218
|
* @param monitor
|
219
|
* @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)
|
220
|
*/
|
221
|
@Override
|
222
|
public void updateTitleCache(Class<? extends Classification> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<Classification> cacheStrategy, IProgressMonitor monitor) {
|
223
|
defaultService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
|
224
|
}
|
225
|
|
226
|
/**
|
227
|
* @param taxonNode
|
228
|
* @param propertyPaths
|
229
|
* @return
|
230
|
* @deprecated
|
231
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#loadTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode, java.util.List)
|
232
|
*/
|
233
|
@Deprecated
|
234
|
@Override
|
235
|
public TaxonNode loadTaxonNode(TaxonNode taxonNode, List<String> propertyPaths) {
|
236
|
return defaultService.loadTaxonNode(taxonNode, propertyPaths);
|
237
|
}
|
238
|
|
239
|
/**
|
240
|
* @param t
|
241
|
* @return
|
242
|
* @see eu.etaxonomy.cdm.api.service.IVersionableService#getPreviousAuditEvent(eu.etaxonomy.cdm.model.common.VersionableEntity)
|
243
|
*/
|
244
|
@Override
|
245
|
public AuditEventRecord<Classification> getPreviousAuditEvent(Classification t) {
|
246
|
return defaultService.getPreviousAuditEvent(t);
|
247
|
}
|
248
|
|
249
|
/**
|
250
|
* @param clazz
|
251
|
* @return
|
252
|
* @see eu.etaxonomy.cdm.api.service.IService#count(java.lang.Class)
|
253
|
*/
|
254
|
@Override
|
255
|
public int count(Class<? extends Classification> clazz) {
|
256
|
return defaultService.count(clazz);
|
257
|
}
|
258
|
|
259
|
/**
|
260
|
* @param clazz
|
261
|
* @param from
|
262
|
* @param to
|
263
|
* @param criteria
|
264
|
* @param pageSize
|
265
|
* @param pageValue
|
266
|
* @param sort
|
267
|
* @param propertyPaths
|
268
|
* @return
|
269
|
* @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)
|
270
|
*/
|
271
|
@Override
|
272
|
public Pager<AuditEventRecord<Classification>> pageAuditEvents(Class<? extends Classification> clazz, AuditEvent from, AuditEvent to, List<AuditCriterion> criteria, Integer pageSize, Integer pageValue, AuditEventSort sort, List<String> propertyPaths) {
|
273
|
return defaultService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
|
274
|
}
|
275
|
|
276
|
/**
|
277
|
* @param lsid
|
278
|
* @return
|
279
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#find(eu.etaxonomy.cdm.model.common.LSID)
|
280
|
*/
|
281
|
@Override
|
282
|
public Classification find(LSID lsid) {
|
283
|
return defaultService.find(lsid);
|
284
|
}
|
285
|
|
286
|
/**
|
287
|
* @param persistentObject
|
288
|
* @return
|
289
|
* @see eu.etaxonomy.cdm.api.service.IService#delete(eu.etaxonomy.cdm.model.common.ICdmBase)
|
290
|
*/
|
291
|
@Override
|
292
|
public DeleteResult delete(Classification persistentObject) {
|
293
|
return defaultService.delete(persistentObject);
|
294
|
}
|
295
|
|
296
|
/**
|
297
|
* @param clazz
|
298
|
* @param technical
|
299
|
* @param pageSize
|
300
|
* @param pageNumber
|
301
|
* @param propertyPaths
|
302
|
* @return
|
303
|
* @see eu.etaxonomy.cdm.api.service.IAnnotatableService#groupMarkers(java.lang.Class, java.lang.Boolean, java.lang.Integer, java.lang.Integer, java.util.List)
|
304
|
*/
|
305
|
@Override
|
306
|
public List<Object[]> groupMarkers(Class<? extends Classification> clazz, Boolean technical, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
|
307
|
return defaultService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
|
308
|
}
|
309
|
|
310
|
/**
|
311
|
* @param uuid
|
312
|
* @return
|
313
|
* @see eu.etaxonomy.cdm.api.service.IService#exists(java.util.UUID)
|
314
|
*/
|
315
|
@Override
|
316
|
public boolean exists(UUID uuid) {
|
317
|
return defaultService.exists(uuid);
|
318
|
}
|
319
|
|
320
|
/**
|
321
|
* @param x
|
322
|
* @param y
|
323
|
* @return
|
324
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#replace(eu.etaxonomy.cdm.model.common.IdentifiableEntity, eu.etaxonomy.cdm.model.common.IdentifiableEntity)
|
325
|
*/
|
326
|
@Override
|
327
|
public Classification replace(Classification x, Classification y) {
|
328
|
return defaultService.replace(x, y);
|
329
|
}
|
330
|
|
331
|
/**
|
332
|
* @param uuidSet
|
333
|
* @return
|
334
|
* @see eu.etaxonomy.cdm.api.service.IService#find(java.util.Set)
|
335
|
*/
|
336
|
@Override
|
337
|
public List<Classification> find(Set<UUID> uuidSet) {
|
338
|
return defaultService.find(uuidSet);
|
339
|
}
|
340
|
|
341
|
/**
|
342
|
* @param t
|
343
|
* @param pageSize
|
344
|
* @param pageNumber
|
345
|
* @param propertyPaths
|
346
|
* @return
|
347
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#getSources(eu.etaxonomy.cdm.model.common.IdentifiableEntity, java.lang.Integer, java.lang.Integer, java.util.List)
|
348
|
*/
|
349
|
@Override
|
350
|
public Pager<IdentifiableSource> getSources(Classification t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
|
351
|
return defaultService.getSources(t, pageSize, pageNumber, propertyPaths);
|
352
|
}
|
353
|
|
354
|
/**
|
355
|
* @param classification
|
356
|
* @param rank
|
357
|
* @param pageSize
|
358
|
* @param pageIndex
|
359
|
* @param propertyPaths
|
360
|
* @return
|
361
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#listRankSpecificRootNodes(eu.etaxonomy.cdm.model.taxon.Classification, eu.etaxonomy.cdm.model.name.Rank, java.lang.Integer, java.lang.Integer, java.util.List)
|
362
|
*/
|
363
|
@Override
|
364
|
public List<TaxonNode> listRankSpecificRootNodes(Classification classification, Rank rank, Integer pageSize, Integer pageIndex, List<String> propertyPaths) {
|
365
|
return defaultService.listRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
|
366
|
}
|
367
|
|
368
|
/**
|
369
|
* @param uuid
|
370
|
* @return
|
371
|
* @see eu.etaxonomy.cdm.api.service.IService#find(java.util.UUID)
|
372
|
*/
|
373
|
@Override
|
374
|
public Classification find(UUID uuid) {
|
375
|
return defaultService.find(uuid);
|
376
|
}
|
377
|
|
378
|
/**
|
379
|
* @param id
|
380
|
* @return
|
381
|
* @see eu.etaxonomy.cdm.api.service.IService#find(int)
|
382
|
*/
|
383
|
@Override
|
384
|
public Classification find(int id) {
|
385
|
return defaultService.find(id);
|
386
|
}
|
387
|
|
388
|
/**
|
389
|
* @param t
|
390
|
* @param pageSize
|
391
|
* @param pageNumber
|
392
|
* @param propertyPaths
|
393
|
* @return
|
394
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#getRights(eu.etaxonomy.cdm.model.common.IdentifiableEntity, java.lang.Integer, java.lang.Integer, java.util.List)
|
395
|
*/
|
396
|
@Override
|
397
|
public Pager<Rights> getRights(Classification t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
|
398
|
return defaultService.getRights(t, pageSize, pageNumber, propertyPaths);
|
399
|
}
|
400
|
|
401
|
/**
|
402
|
* @param clazz
|
403
|
* @param technical
|
404
|
* @return
|
405
|
* @see eu.etaxonomy.cdm.api.service.IAnnotatableService#countMarkers(java.lang.Class, java.lang.Boolean)
|
406
|
*/
|
407
|
@Override
|
408
|
public int countMarkers(Class<? extends Classification> clazz, Boolean technical) {
|
409
|
return defaultService.countMarkers(clazz, technical);
|
410
|
}
|
411
|
|
412
|
/**
|
413
|
* @param idSet
|
414
|
* @return
|
415
|
* @see eu.etaxonomy.cdm.api.service.IService#findById(java.util.Set)
|
416
|
*/
|
417
|
@Override
|
418
|
public List<Classification> findById(Set<Integer> idSet) {
|
419
|
return defaultService.findById(idSet);
|
420
|
}
|
421
|
|
422
|
/**
|
423
|
* @param clazz
|
424
|
* @param idInSource
|
425
|
* @param idNamespace
|
426
|
* @return
|
427
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#getSourcedObjectByIdInSource(java.lang.Class, java.lang.String, java.lang.String)
|
428
|
*/
|
429
|
@Override
|
430
|
public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace) {
|
431
|
return defaultService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
|
432
|
}
|
433
|
|
434
|
/**
|
435
|
* @param classification
|
436
|
* @param rank
|
437
|
* @param pageSize
|
438
|
* @param pageIndex
|
439
|
* @param propertyPaths
|
440
|
* @return
|
441
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#pageRankSpecificRootNodes(eu.etaxonomy.cdm.model.taxon.Classification, eu.etaxonomy.cdm.model.name.Rank, java.lang.Integer, java.lang.Integer, java.util.List)
|
442
|
*/
|
443
|
@Override
|
444
|
public Pager<TaxonNode> pageRankSpecificRootNodes(Classification classification, Rank rank, Integer pageSize, Integer pageIndex, List<String> propertyPaths) {
|
445
|
return defaultService.pageRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
|
446
|
}
|
447
|
|
448
|
/**
|
449
|
* @return
|
450
|
* @see eu.etaxonomy.cdm.api.service.IService#getSession()
|
451
|
*/
|
452
|
@Override
|
453
|
public Session getSession() {
|
454
|
return defaultService.getSession();
|
455
|
}
|
456
|
|
457
|
/**
|
458
|
* @param clazz
|
459
|
* @param limit
|
460
|
* @param start
|
461
|
* @param groups
|
462
|
* @param propertyPaths
|
463
|
* @return
|
464
|
* @see eu.etaxonomy.cdm.api.service.IService#group(java.lang.Class, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
|
465
|
*/
|
466
|
@Override
|
467
|
public List<Object[]> group(Class<? extends Classification> clazz, Integer limit, Integer start, List<Grouping> groups, List<String> propertyPaths) {
|
468
|
return defaultService.group(clazz, limit, start, groups, propertyPaths);
|
469
|
}
|
470
|
|
471
|
/**
|
472
|
* @param clazz
|
473
|
* @param queryString
|
474
|
* @param matchmode
|
475
|
* @param criteria
|
476
|
* @param pageSize
|
477
|
* @param pageNumber
|
478
|
* @param orderHints
|
479
|
* @param propertyPaths
|
480
|
* @return
|
481
|
* @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)
|
482
|
*/
|
483
|
@Override
|
484
|
public Pager<Classification> findByTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
|
485
|
return defaultService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
|
486
|
}
|
487
|
|
488
|
/**
|
489
|
* @param taxonNode
|
490
|
* @param baseRank
|
491
|
* @param propertyPaths
|
492
|
* @return
|
493
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#loadTreeBranch(eu.etaxonomy.cdm.model.taxon.TaxonNode, eu.etaxonomy.cdm.model.name.Rank, java.util.List)
|
494
|
*/
|
495
|
@Override
|
496
|
public List<TaxonNode> loadTreeBranch(TaxonNode taxonNode, Rank baseRank, List<String> propertyPaths) {
|
497
|
return defaultService.loadTreeBranch(taxonNode, baseRank, propertyPaths);
|
498
|
}
|
499
|
|
500
|
/**
|
501
|
* @param type
|
502
|
* @param limit
|
503
|
* @param start
|
504
|
* @param orderHints
|
505
|
* @param propertyPaths
|
506
|
* @return
|
507
|
* @see eu.etaxonomy.cdm.api.service.IService#list(java.lang.Class, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
|
508
|
*/
|
509
|
@Override
|
510
|
public <S extends Classification> List<S> list(Class<S> type, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
|
511
|
return defaultService.list(type, limit, start, orderHints, propertyPaths);
|
512
|
}
|
513
|
|
514
|
/**
|
515
|
* @param taxon
|
516
|
* @param classification
|
517
|
* @param baseRank
|
518
|
* @param propertyPaths
|
519
|
* @return
|
520
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#loadTreeBranchToTaxon(eu.etaxonomy.cdm.model.taxon.Taxon, eu.etaxonomy.cdm.model.taxon.Classification, eu.etaxonomy.cdm.model.name.Rank, java.util.List)
|
521
|
*/
|
522
|
@Override
|
523
|
public List<TaxonNode> loadTreeBranchToTaxon(Taxon taxon, Classification classification, Rank baseRank, List<String> propertyPaths) {
|
524
|
return defaultService.loadTreeBranchToTaxon(taxon, classification, baseRank, propertyPaths);
|
525
|
}
|
526
|
|
527
|
/**
|
528
|
* @param configurator
|
529
|
* @return
|
530
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#findByTitle(eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator)
|
531
|
*/
|
532
|
@Override
|
533
|
public Pager<Classification> findByTitle(IIdentifiableEntityServiceConfigurator<Classification> configurator) {
|
534
|
return defaultService.findByTitle(configurator);
|
535
|
}
|
536
|
|
537
|
/**
|
538
|
* @param clazz
|
539
|
* @param queryString
|
540
|
* @param matchmode
|
541
|
* @param criteria
|
542
|
* @return
|
543
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#countByTitle(java.lang.Class, java.lang.String, eu.etaxonomy.cdm.persistence.query.MatchMode, java.util.List)
|
544
|
*/
|
545
|
@Override
|
546
|
public Integer countByTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria) {
|
547
|
return defaultService.countByTitle(clazz, queryString, matchmode, criteria);
|
548
|
}
|
549
|
|
550
|
/**
|
551
|
* @param uuid
|
552
|
* @return
|
553
|
* @see eu.etaxonomy.cdm.api.service.IService#load(java.util.UUID)
|
554
|
*/
|
555
|
@Override
|
556
|
public Classification load(UUID uuid) {
|
557
|
return defaultService.load(uuid);
|
558
|
}
|
559
|
|
560
|
/**
|
561
|
* @param uuid
|
562
|
* @param propertyPaths
|
563
|
* @return
|
564
|
* @see eu.etaxonomy.cdm.api.service.IService#load(java.util.UUID, java.util.List)
|
565
|
*/
|
566
|
@Override
|
567
|
public Classification load(UUID uuid, List<String> propertyPaths) {
|
568
|
return defaultService.load(uuid, propertyPaths);
|
569
|
}
|
570
|
|
571
|
/**
|
572
|
* @param configurator
|
573
|
* @return
|
574
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#countByTitle(eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator)
|
575
|
*/
|
576
|
@Override
|
577
|
public Integer countByTitle(IIdentifiableEntityServiceConfigurator<Classification> configurator) {
|
578
|
return defaultService.countByTitle(configurator);
|
579
|
}
|
580
|
|
581
|
/**
|
582
|
* @param transientObject
|
583
|
* @return
|
584
|
* @see eu.etaxonomy.cdm.api.service.IService#merge(eu.etaxonomy.cdm.model.common.ICdmBase)
|
585
|
*/
|
586
|
@Override
|
587
|
public Classification merge(Classification transientObject) {
|
588
|
return defaultService.merge(transientObject);
|
589
|
}
|
590
|
|
591
|
/**
|
592
|
* @param clazz
|
593
|
* @param queryString
|
594
|
* @param matchmode
|
595
|
* @param criteria
|
596
|
* @param pageSize
|
597
|
* @param pageNumber
|
598
|
* @param orderHints
|
599
|
* @param propertyPaths
|
600
|
* @return
|
601
|
* @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)
|
602
|
*/
|
603
|
@Override
|
604
|
public List<Classification> listByTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
|
605
|
return defaultService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
|
606
|
}
|
607
|
|
608
|
/**
|
609
|
* @param type
|
610
|
* @param pageSize
|
611
|
* @param pageNumber
|
612
|
* @param orderHints
|
613
|
* @param propertyPaths
|
614
|
* @return
|
615
|
* @see eu.etaxonomy.cdm.api.service.IService#page(java.lang.Class, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
|
616
|
*/
|
617
|
@Override
|
618
|
public <S extends Classification> Pager<S> page(Class<S> type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
|
619
|
return defaultService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
|
620
|
}
|
621
|
|
622
|
/**
|
623
|
* @param taxonNode
|
624
|
* @param propertyPaths
|
625
|
* @return
|
626
|
* @deprecated
|
627
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#loadChildNodesOfTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode, java.util.List)
|
628
|
*/
|
629
|
@Deprecated
|
630
|
@Override
|
631
|
public List<TaxonNode> loadChildNodesOfTaxonNode(TaxonNode taxonNode, List<String> propertyPaths) {
|
632
|
return defaultService.loadChildNodesOfTaxonNode(taxonNode, propertyPaths);
|
633
|
}
|
634
|
|
635
|
/**
|
636
|
* @param classification
|
637
|
* @return
|
638
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(eu.etaxonomy.cdm.model.taxon.Classification)
|
639
|
*/
|
640
|
@Override
|
641
|
public List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(Classification classification, List<UUID> excludeTaxa) {
|
642
|
return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification, excludeTaxa);
|
643
|
}
|
644
|
|
645
|
/**
|
646
|
* @param taxon
|
647
|
* @param taxTree
|
648
|
* @param propertyPaths
|
649
|
* @param size
|
650
|
* @param height
|
651
|
* @param widthOrDuration
|
652
|
* @param mimeTypes
|
653
|
* @return
|
654
|
* @deprecated
|
655
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#getAllMediaForChildNodes(eu.etaxonomy.cdm.model.taxon.Taxon, eu.etaxonomy.cdm.model.taxon.Classification, java.util.List, int, int, int, java.lang.String[])
|
656
|
*/
|
657
|
@Deprecated
|
658
|
@Override
|
659
|
public Map<UUID, List<MediaRepresentation>> getAllMediaForChildNodes(Taxon taxon, Classification taxTree, List<String> propertyPaths, int size, int height, int widthOrDuration, String[] mimeTypes) {
|
660
|
return defaultService.getAllMediaForChildNodes(taxon, taxTree, propertyPaths, size, height, widthOrDuration, mimeTypes);
|
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(Classification 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<Classification> listByReferenceTitle(Class<? extends Classification> 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 taxonNode
|
692
|
* @param propertyPaths
|
693
|
* @param size
|
694
|
* @param height
|
695
|
* @param widthOrDuration
|
696
|
* @param mimeTypes
|
697
|
* @return
|
698
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#getAllMediaForChildNodes(eu.etaxonomy.cdm.model.taxon.TaxonNode, java.util.List, int, int, int, java.lang.String[])
|
699
|
*/
|
700
|
@Override
|
701
|
public Map<UUID, List<MediaRepresentation>> getAllMediaForChildNodes(TaxonNode taxonNode, List<String> propertyPaths, int size, int height, int widthOrDuration, String[] mimeTypes) {
|
702
|
return defaultService.getAllMediaForChildNodes(taxonNode, propertyPaths, size, height, widthOrDuration, mimeTypes);
|
703
|
}
|
704
|
|
705
|
/**
|
706
|
* @param tableName
|
707
|
* @param limit
|
708
|
* @param start
|
709
|
* @return
|
710
|
* @see eu.etaxonomy.cdm.api.service.IService#rows(java.lang.String, int, int)
|
711
|
*/
|
712
|
@Override
|
713
|
public List<Classification> rows(String tableName, int limit, int start) {
|
714
|
return defaultService.rows(tableName, limit, start);
|
715
|
}
|
716
|
|
717
|
/**
|
718
|
* @param newInstances
|
719
|
* @return
|
720
|
* @see eu.etaxonomy.cdm.api.service.IService#save(java.util.Collection)
|
721
|
*/
|
722
|
@Override
|
723
|
public Map<UUID, Classification> save(Collection<Classification> newInstances) {
|
724
|
return null;
|
725
|
}
|
726
|
|
727
|
/**
|
728
|
* @param taxonNode
|
729
|
* @return
|
730
|
* @deprecated
|
731
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#removeTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode)
|
732
|
*/
|
733
|
@Deprecated
|
734
|
@Override
|
735
|
public UUID removeTaxonNode(TaxonNode taxonNode) {
|
736
|
return defaultService.removeTaxonNode(taxonNode);
|
737
|
}
|
738
|
|
739
|
/**
|
740
|
* @param taxonNode
|
741
|
* @return
|
742
|
* @deprecated
|
743
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#saveTaxonNode(eu.etaxonomy.cdm.model.taxon.TaxonNode)
|
744
|
*/
|
745
|
@Deprecated
|
746
|
@Override
|
747
|
public UUID saveTaxonNode(TaxonNode taxonNode) {
|
748
|
return null;
|
749
|
}
|
750
|
|
751
|
/**
|
752
|
* @param newInstance
|
753
|
* @return
|
754
|
* @see eu.etaxonomy.cdm.api.service.IService#save(eu.etaxonomy.cdm.model.common.ICdmBase)
|
755
|
*/
|
756
|
@Override
|
757
|
public Classification save(Classification newInstance) {
|
758
|
return null;
|
759
|
}
|
760
|
|
761
|
/**
|
762
|
* @param taxonNodeCollection
|
763
|
* @return
|
764
|
* @deprecated
|
765
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#saveTaxonNodeAll(java.util.Collection)
|
766
|
*/
|
767
|
@Deprecated
|
768
|
@Override
|
769
|
public Map<UUID, TaxonNode> saveTaxonNodeAll(Collection<TaxonNode> taxonNodeCollection) {
|
770
|
return null;
|
771
|
}
|
772
|
|
773
|
/**
|
774
|
* @param transientObject
|
775
|
* @return
|
776
|
* @see eu.etaxonomy.cdm.api.service.IService#saveOrUpdate(eu.etaxonomy.cdm.model.common.ICdmBase)
|
777
|
*/
|
778
|
@Override
|
779
|
public UUID saveOrUpdate(Classification transientObject) {
|
780
|
return null;
|
781
|
}
|
782
|
|
783
|
/**
|
784
|
* @param treeNode
|
785
|
* @return
|
786
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#removeTreeNode(eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode)
|
787
|
*/
|
788
|
@Override
|
789
|
public UUID removeTreeNode(ITaxonTreeNode treeNode) {
|
790
|
return defaultService.removeTreeNode(treeNode);
|
791
|
}
|
792
|
|
793
|
/**
|
794
|
* @param clazz
|
795
|
* @param queryString
|
796
|
* @param pageSize
|
797
|
* @param pageNumber
|
798
|
* @param orderHints
|
799
|
* @param propertyPaths
|
800
|
* @return
|
801
|
* @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)
|
802
|
*/
|
803
|
@Override
|
804
|
public Pager<Classification> search(Class<? extends Classification> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
|
805
|
return defaultService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
|
806
|
}
|
807
|
|
808
|
/**
|
809
|
* @param treeNode
|
810
|
* @return
|
811
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#saveTreeNode(eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode)
|
812
|
*/
|
813
|
@Override
|
814
|
public UUID saveTreeNode(ITaxonTreeNode treeNode) {
|
815
|
return null;
|
816
|
}
|
817
|
|
818
|
/**
|
819
|
* @param transientObjects
|
820
|
* @return
|
821
|
* @see eu.etaxonomy.cdm.api.service.IService#saveOrUpdate(java.util.Collection)
|
822
|
*/
|
823
|
@Override
|
824
|
public Map<UUID, Classification> saveOrUpdate(Collection<Classification> transientObjects) {
|
825
|
return null;
|
826
|
}
|
827
|
|
828
|
/**
|
829
|
* @return
|
830
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#getAllNodes()
|
831
|
*/
|
832
|
@Override
|
833
|
public List<TaxonNode> getAllNodes() {
|
834
|
return defaultService.getAllNodes();
|
835
|
}
|
836
|
|
837
|
/**
|
838
|
* @param transientObject
|
839
|
* @return
|
840
|
* @see eu.etaxonomy.cdm.api.service.IService#update(eu.etaxonomy.cdm.model.common.ICdmBase)
|
841
|
*/
|
842
|
@Override
|
843
|
public UUID update(Classification transientObject) {
|
844
|
return defaultService.update(transientObject);
|
845
|
}
|
846
|
|
847
|
/**
|
848
|
* @param example
|
849
|
* @param includeProperties
|
850
|
* @param limit
|
851
|
* @param start
|
852
|
* @param orderHints
|
853
|
* @param propertyPaths
|
854
|
* @return
|
855
|
* @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)
|
856
|
*/
|
857
|
@Override
|
858
|
public List<Classification> list(Classification example, Set<String> includeProperties, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
|
859
|
return defaultService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
|
860
|
}
|
861
|
|
862
|
/**
|
863
|
* @param clazz
|
864
|
* @param matchStrategy
|
865
|
* @param mergeStrategy
|
866
|
* @return
|
867
|
* @see eu.etaxonomy.cdm.api.service.IIdentifiableEntityService#deduplicate(java.lang.Class, eu.etaxonomy.cdm.strategy.match.IMatchStrategy, eu.etaxonomy.cdm.strategy.merge.IMergeStrategy)
|
868
|
*/
|
869
|
@Override
|
870
|
public int deduplicate(Class<? extends Classification> clazz, IMatchStrategy matchStrategy, IMergeStrategy mergeStrategy) {
|
871
|
return defaultService.deduplicate(clazz, matchStrategy, mergeStrategy);
|
872
|
}
|
873
|
|
874
|
/**
|
875
|
* @param clazz
|
876
|
* @param queryString
|
877
|
* @param pageSize
|
878
|
* @param pageNumber
|
879
|
* @param orderHints
|
880
|
* @param matchMode
|
881
|
* @return
|
882
|
* @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)
|
883
|
*/
|
884
|
@Override
|
885
|
public Pager<Classification> findTitleCache(Class<? extends Classification> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, MatchMode matchMode) {
|
886
|
return defaultService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
|
887
|
}
|
888
|
|
889
|
/* (non-Javadoc)
|
890
|
* @see eu.etaxonomy.cdm.api.service.IClassificationService#listChildNodesOfTaxon(java.util.UUID, java.util.UUID, java.lang.Integer, java.lang.Integer, java.util.List)
|
891
|
*/
|
892
|
@Override
|
893
|
public List<TaxonNode> listChildNodesOfTaxon(UUID taxonUuid, UUID classificationUuid, Integer pageSize,
|
894
|
Integer pageIndex, List<String> propertyPaths) {
|
895
|
return defaultService.listChildNodesOfTaxon(taxonUuid, classificationUuid, pageSize, pageIndex, propertyPaths);
|
896
|
}
|
897
|
|
898
|
@Override
|
899
|
public DeleteResult isDeletable(Classification object,
|
900
|
DeleteConfiguratorBase config) {
|
901
|
// TODO Auto-generated method stub
|
902
|
return null;
|
903
|
}
|
904
|
|
905
|
@Override
|
906
|
public Classification findWithoutFlush(UUID uuid) {
|
907
|
return defaultService.findWithoutFlush(uuid);
|
908
|
}
|
909
|
|
910
|
|
911
|
@Override
|
912
|
public <S extends Classification> Pager<FindByIdentifierDTO<S>> findByIdentifier(Class<S> clazz, String identifier, DefinedTerm identifierType, MatchMode matchmode, boolean includeEntity, Integer pageSize, Integer pageNumber, List<String> propertyPaths){
|
913
|
return defaultService.findByIdentifier(clazz, identifier, identifierType, matchmode, includeEntity, pageSize, pageNumber, propertyPaths);
|
914
|
}
|
915
|
|
916
|
@Override
|
917
|
public UpdateResult createHierarchyInClassification(Classification arg1, CreateHierarchyForClassificationConfigurator arg2) {
|
918
|
return defaultService.createHierarchyInClassification(arg1, arg2);
|
919
|
}
|
920
|
|
921
|
/* (non-Javadoc)
|
922
|
* @see eu.etaxonomy.cdm.api.service.IService#delete(java.util.UUID)
|
923
|
*/
|
924
|
@Override
|
925
|
public DeleteResult delete(UUID arg0) {
|
926
|
return defaultService.delete(arg0);
|
927
|
}
|
928
|
|
929
|
/* (non-Javadoc)
|
930
|
* @see eu.etaxonomy.cdm.api.service.IService#delete(java.util.Collection)
|
931
|
*/
|
932
|
@Override
|
933
|
public DeleteResult delete(Collection<UUID> arg0) {
|
934
|
return defaultService.delete(arg0);
|
935
|
}
|
936
|
|
937
|
/* (non-Javadoc)
|
938
|
* @see eu.etaxonomy.cdm.api.service.IService#merge(java.util.List)
|
939
|
*/
|
940
|
@Override
|
941
|
public List<Classification> merge(List<Classification> arg0) {
|
942
|
return defaultService.merge(arg0);
|
943
|
}
|
944
|
|
945
|
/* (non-Javadoc)
|
946
|
* @see eu.etaxonomy.cdm.api.service.IService#merge(java.util.List, boolean)
|
947
|
*/
|
948
|
@Override
|
949
|
public List<MergeResult<Classification>> merge(List<Classification> arg0, boolean arg1) {
|
950
|
return defaultService.merge(arg0, arg1);
|
951
|
}
|
952
|
|
953
|
/* (non-Javadoc)
|
954
|
* @see eu.etaxonomy.cdm.api.service.IService#merge(eu.etaxonomy.cdm.model.common.ICdmBase, boolean)
|
955
|
*/
|
956
|
@Override
|
957
|
public MergeResult<Classification> merge(Classification arg0, boolean arg1) {
|
958
|
return defaultService.merge(arg0, arg1);
|
959
|
}
|
960
|
|
961
|
/* (non-Javadoc)
|
962
|
* @see eu.etaxonomy.cdm.api.service.IService#loadWithUpdate(java.util.UUID)
|
963
|
*/
|
964
|
@Override
|
965
|
public Classification loadWithUpdate(UUID arg0) {
|
966
|
return defaultService.loadWithUpdate(arg0);
|
967
|
}
|
968
|
|
969
|
|
970
|
@Override
|
971
|
public List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(
|
972
|
UUID classificationUuid, List<UUID> excludeTaxa) {
|
973
|
|
974
|
return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classificationUuid, excludeTaxa);
|
975
|
}
|
976
|
|
977
|
/**
|
978
|
* {@inheritDoc}
|
979
|
*/
|
980
|
@Override
|
981
|
public List<Classification> load(List<UUID> arg0, List<String> arg1) {
|
982
|
return defaultService.load(arg0, arg1);
|
983
|
}
|
984
|
|
985
|
@Override
|
986
|
public List<UuidAndTitleCache<Classification>> getUuidAndTitleCache(Integer limit, String pattern) {
|
987
|
return defaultService.getUuidAndTitleCache(null, null);
|
988
|
}
|
989
|
|
990
|
@Override
|
991
|
public List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(
|
992
|
UUID classificationUuid, List<UUID> excludeTaxa, Integer limit,
|
993
|
String pattern) {
|
994
|
return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classificationUuid, excludeTaxa, limit, pattern);
|
995
|
}
|
996
|
|
997
|
@Override
|
998
|
public List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(
|
999
|
Classification classification, List<UUID> excludeTaxa,
|
1000
|
Integer limit, String pattern) {
|
1001
|
return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification, excludeTaxa, limit, pattern);
|
1002
|
}
|
1003
|
|
1004
|
|
1005
|
}
|