Project

General

Profile

« Previous | Next » 

Revision 7c1862cd

Added by Andreas Müller over 9 years ago

update Transient services

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientAgentService.java
33 33
import eu.etaxonomy.cdm.model.agent.Person;
34 34
import eu.etaxonomy.cdm.model.agent.Team;
35 35
import eu.etaxonomy.cdm.model.common.Annotation;
36
import eu.etaxonomy.cdm.model.common.DefinedTerm;
36 37
import eu.etaxonomy.cdm.model.common.ISourceable;
37 38
import eu.etaxonomy.cdm.model.common.IdentifiableSource;
38 39
import eu.etaxonomy.cdm.model.common.LSID;
......
57 58
 */
58 59
public class TransientAgentService implements IAgentService {
59 60

  
60
    private IAgentService defaultAgentService;
61
    private IAgentService defaultService;
61 62

  
62 63
    /**
63 64
     * @param defaultAgentService
64 65
     */
65 66
    public TransientAgentService(IAgentService defaultAgentService) {
66
        this.defaultAgentService = defaultAgentService;
67
        this.defaultService = defaultAgentService;
67 68
    }
68 69

  
69 70
    /**
......
77 78
     */
78 79
    @Override
79 80
    public Pager<AuditEventRecord<AgentBase>> pageAuditEvents(AgentBase t, Integer pageSize, Integer pageNumber, AuditEventSort sort, List<String> propertyPaths) {
80
        return defaultAgentService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
81
        return defaultService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
81 82
    }
82 83

  
83 84
    /**
......
92 93
     */
93 94
    @Override
94 95
    public Pager<Annotation> getAnnotations(AgentBase annotatedObj, MarkerType status, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
95
        return defaultAgentService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
96
        return defaultService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
96 97
    }
97 98

  
98 99
    /**
......
102 103
     */
103 104
    @Override
104 105
    public List<Institution> searchInstitutionByCode(String code) {
105
        return defaultAgentService.searchInstitutionByCode(code);
106
        return defaultService.searchInstitutionByCode(code);
106 107
    }
107 108

  
108 109
    /**
......
114 115
     */
115 116
    @Override
116 117
    public Pager<InstitutionalMembership> getInstitutionalMemberships(Person person, Integer pageSize, Integer pageNumber) {
117
        return defaultAgentService.getInstitutionalMemberships(person, pageSize, pageNumber);
118
        return defaultService.getInstitutionalMemberships(person, pageSize, pageNumber);
118 119
    }
119 120

  
120 121
    /**
......
123 124
     */
124 125
    @Override
125 126
    public void clear() {
126
        defaultAgentService.clear();
127
        defaultService.clear();
127 128
    }
128 129

  
129 130
    /**
......
133 134
     */
134 135
    @Override
135 136
    public void lock(AgentBase t, LockOptions lockOptions) {
136
        defaultAgentService.lock(t, lockOptions);
137
        defaultService.lock(t, lockOptions);
137 138
    }
138 139

  
139 140
    /**
......
144 145
     */
145 146
    @Override
146 147
    public void refresh(AgentBase t, LockOptions lockOptions, List<String> propertyPaths) {
147
        defaultAgentService.refresh(t, lockOptions, propertyPaths);
148
        defaultService.refresh(t, lockOptions, propertyPaths);
148 149
    }
149 150

  
150 151
    /**
......
156 157
     */
157 158
    @Override
158 159
    public Pager<Person> getMembers(Team team, Integer pageSize, Integer pageNumber) {
159
        return defaultAgentService.getMembers(team, pageSize, pageNumber);
160
        return defaultService.getMembers(team, pageSize, pageNumber);
160 161
    }
161 162

  
162 163
    /**
......
165 166
     */
166 167
    @Override
167 168
    public void updateTitleCache() {
168
        defaultAgentService.updateTitleCache();
169
        defaultService.updateTitleCache();
169 170
    }
170 171

  
171 172
    /**
......
175 176
     */
176 177
    @Override
177 178
    public AuditEventRecord<AgentBase> getNextAuditEvent(AgentBase t) {
178
        return defaultAgentService.getNextAuditEvent(t);
179
        return defaultService.getNextAuditEvent(t);
179 180
    }
180 181

  
181 182
    /**
......
190 191
     */
191 192
    @Override
192 193
    public Pager<Marker> getMarkers(AgentBase annotatableEntity, Boolean technical, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
193
        return defaultAgentService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
194
        return defaultService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
194 195
    }
195 196

  
196 197
    /**
......
202 203
     */
203 204
    @Override
204 205
    public void updateTitleCache(Class<? extends AgentBase> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<AgentBase> cacheStrategy, IProgressMonitor monitor) {
205
        defaultAgentService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
206
        defaultService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
206 207
    }
207 208

  
208 209
    /**
......
214 215
     */
215 216
    @Override
216 217
    public Pager<Address> getAddresses(AgentBase agent, Integer pageSize, Integer pageNumber) {
217
        return defaultAgentService.getAddresses(agent, pageSize, pageNumber);
218
        return defaultService.getAddresses(agent, pageSize, pageNumber);
218 219
    }
219 220

  
220 221
    /**
......
224 225
     */
225 226
    @Override
226 227
    public AuditEventRecord<AgentBase> getPreviousAuditEvent(AgentBase t) {
227
        return defaultAgentService.getPreviousAuditEvent(t);
228
        return defaultService.getPreviousAuditEvent(t);
228 229
    }
229 230

  
230 231
    /**
......
234 235
     */
235 236
    @Override
236 237
    public int count(Class<? extends AgentBase> clazz) {
237
        return defaultAgentService.count(clazz);
238
        return defaultService.count(clazz);
238 239
    }
239 240

  
240 241
    /**
......
249 250
     */
250 251
    @Override
251 252
    public Pager<AgentBase> search(Class<? extends AgentBase> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
252
        return defaultAgentService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
253
        return defaultService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
253 254
    }
254 255

  
255 256
    /**
......
266 267
     */
267 268
    @Override
268 269
    public Pager<AuditEventRecord<AgentBase>> pageAuditEvents(Class<? extends AgentBase> clazz, AuditEvent from, AuditEvent to, List<AuditCriterion> criteria, Integer pageSize, Integer pageValue, AuditEventSort sort, List<String> propertyPaths) {
269
        return defaultAgentService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
270
        return defaultService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
270 271
    }
271 272

  
272 273
    /**
......
276 277
     */
277 278
    @Override
278 279
    public AgentBase find(LSID lsid) {
279
        return defaultAgentService.find(lsid);
280
        return defaultService.find(lsid);
280 281
    }
281 282

  
282 283
    /**
......
286 287
     */
287 288
    @Override
288 289
    public DeleteResult delete(AgentBase persistentObject) {
289
        return defaultAgentService.delete(persistentObject);
290
        return defaultService.delete(persistentObject);
290 291
    }
291 292

  
292 293
    /**
......
300 301
     */
301 302
    @Override
302 303
    public List<Object[]> groupMarkers(Class<? extends AgentBase> clazz, Boolean technical, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
303
        return defaultAgentService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
304
        return defaultService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
304 305
    }
305 306

  
306 307
    /**
......
310 311
     */
311 312
    @Override
312 313
    public boolean exists(UUID uuid) {
313
        return defaultAgentService.exists(uuid);
314
        return defaultService.exists(uuid);
314 315
    }
315 316

  
316 317
    /**
......
321 322
     */
322 323
    @Override
323 324
    public AgentBase replace(AgentBase x, AgentBase y) {
324
        return defaultAgentService.replace(x, y);
325
        return defaultService.replace(x, y);
325 326
    }
326 327

  
327 328
    /**
......
331 332
     */
332 333
    @Override
333 334
    public List<AgentBase> find(Set<UUID> uuidSet) {
334
        return defaultAgentService.find(uuidSet);
335
        return defaultService.find(uuidSet);
335 336
    }
336 337

  
337 338
    /**
......
344 345
     */
345 346
    @Override
346 347
    public Pager<IdentifiableSource> getSources(AgentBase t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
347
        return defaultAgentService.getSources(t, pageSize, pageNumber, propertyPaths);
348
        return defaultService.getSources(t, pageSize, pageNumber, propertyPaths);
348 349
    }
349 350

  
350 351
    /**
......
354 355
     */
355 356
    @Override
356 357
    public AgentBase find(UUID uuid) {
357
        return defaultAgentService.find(uuid);
358
        return defaultService.find(uuid);
358 359
    }
359 360

  
360 361
    /**
......
363 364
     */
364 365
    @Override
365 366
    public List<UuidAndTitleCache<Person>> getPersonUuidAndTitleCache() {
366
        return defaultAgentService.getPersonUuidAndTitleCache();
367
        return defaultService.getPersonUuidAndTitleCache();
367 368
    }
368 369

  
369 370
    /**
......
372 373
     */
373 374
    @Override
374 375
    public List<UuidAndTitleCache<Team>> getTeamUuidAndTitleCache() {
375
        return defaultAgentService.getTeamUuidAndTitleCache();
376
        return defaultService.getTeamUuidAndTitleCache();
376 377
    }
377 378

  
378 379
    /**
......
382 383
     */
383 384
    @Override
384 385
    public AgentBase find(int id) {
385
        return defaultAgentService.find(id);
386
        return defaultService.find(id);
386 387
    }
387 388

  
388 389
    /**
......
395 396
     */
396 397
    @Override
397 398
    public Pager<Rights> getRights(AgentBase t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
398
        return defaultAgentService.getRights(t, pageSize, pageNumber, propertyPaths);
399
        return defaultService.getRights(t, pageSize, pageNumber, propertyPaths);
399 400
    }
400 401

  
401 402
    /**
......
406 407
     */
407 408
    @Override
408 409
    public int countMarkers(Class<? extends AgentBase> clazz, Boolean technical) {
409
        return defaultAgentService.countMarkers(clazz, technical);
410
        return defaultService.countMarkers(clazz, technical);
410 411
    }
411 412

  
412 413
    /**
......
415 416
     */
416 417
    @Override
417 418
    public List<UuidAndTitleCache<Team>> getTeamUuidAndNomenclaturalTitle() {
418
        return defaultAgentService.getTeamUuidAndNomenclaturalTitle();
419
        return defaultService.getTeamUuidAndNomenclaturalTitle();
419 420
    }
420 421

  
421 422
    /**
......
425 426
     */
426 427
    @Override
427 428
    public List<AgentBase> findById(Set<Integer> idSet) {
428
        return defaultAgentService.findById(idSet);
429
        return defaultService.findById(idSet);
429 430
    }
430 431

  
431 432
    /**
......
434 435
     */
435 436
    @Override
436 437
    public List<UuidAndTitleCache<Institution>> getInstitutionUuidAndTitleCache() {
437
        return defaultAgentService.getInstitutionUuidAndTitleCache();
438
        return defaultService.getInstitutionUuidAndTitleCache();
438 439
    }
439 440

  
440 441
    /**
......
446 447
     */
447 448
    @Override
448 449
    public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace) {
449
        return defaultAgentService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
450
        return defaultService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
450 451
    }
451 452

  
452 453
    /**
......
455 456
     */
456 457
    @Override
457 458
    public Session getSession() {
458
        return defaultAgentService.getSession();
459
        return defaultService.getSession();
459 460
    }
460 461

  
461 462
    /**
......
464 465
     */
465 466
    @Override
466 467
    public List<UuidAndTitleCache<AgentBase>> getUuidAndTitleCache() {
467
        return defaultAgentService.getUuidAndTitleCache();
468
        return defaultService.getUuidAndTitleCache();
468 469
    }
469 470

  
470 471
    /**
......
478 479
     */
479 480
    @Override
480 481
    public List<Object[]> group(Class<? extends AgentBase> clazz, Integer limit, Integer start, List<Grouping> groups, List<String> propertyPaths) {
481
        return defaultAgentService.group(clazz, limit, start, groups, propertyPaths);
482
        return defaultService.group(clazz, limit, start, groups, propertyPaths);
482 483
    }
483 484

  
484 485
    /**
......
495 496
     */
496 497
    @Override
497 498
    public Pager<AgentBase> findByTitle(Class<? extends AgentBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
498
        return defaultAgentService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
499
        return defaultService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
499 500
    }
500 501

  
501 502
    /**
......
509 510
     */
510 511
    @Override
511 512
    public <S extends AgentBase> List<S> list(Class<S> type, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
512
        return defaultAgentService.list(type, limit, start, orderHints, propertyPaths);
513
        return defaultService.list(type, limit, start, orderHints, propertyPaths);
513 514
    }
514 515

  
515 516
    /**
......
519 520
     */
520 521
    @Override
521 522
    public Pager<AgentBase> findByTitle(IIdentifiableEntityServiceConfigurator<AgentBase> configurator) {
522
        return defaultAgentService.findByTitle(configurator);
523
        return defaultService.findByTitle(configurator);
523 524
    }
524 525

  
525 526
    /**
......
532 533
     */
533 534
    @Override
534 535
    public Integer countByTitle(Class<? extends AgentBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria) {
535
        return defaultAgentService.countByTitle(clazz, queryString, matchmode, criteria);
536
        return defaultService.countByTitle(clazz, queryString, matchmode, criteria);
536 537
    }
537 538

  
538 539
    /**
......
542 543
     */
543 544
    @Override
544 545
    public AgentBase load(UUID uuid) {
545
        return defaultAgentService.load(uuid);
546
        return defaultService.load(uuid);
546 547
    }
547 548

  
548 549
    /**
......
553 554
     */
554 555
    @Override
555 556
    public AgentBase load(UUID uuid, List<String> propertyPaths) {
556
        return defaultAgentService.load(uuid, propertyPaths);
557
        return defaultService.load(uuid, propertyPaths);
557 558
    }
558 559

  
559 560
    /**
......
563 564
     */
564 565
    @Override
565 566
    public Integer countByTitle(IIdentifiableEntityServiceConfigurator<AgentBase> configurator) {
566
        return defaultAgentService.countByTitle(configurator);
567
        return defaultService.countByTitle(configurator);
567 568
    }
568 569

  
569 570
    /**
......
573 574
     */
574 575
    @Override
575 576
    public AgentBase merge(AgentBase transientObject) {
576
        return defaultAgentService.merge(transientObject);
577
        return defaultService.merge(transientObject);
577 578
    }
578 579

  
579 580
    /**
......
590 591
     */
591 592
    @Override
592 593
    public List<AgentBase> listByTitle(Class<? extends AgentBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
593
        return defaultAgentService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
594
        return defaultService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
594 595
    }
595 596

  
596 597
    /**
......
604 605
     */
605 606
    @Override
606 607
    public <S extends AgentBase>  Pager<S> page(Class<S> type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
607
        return defaultAgentService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
608
        return defaultService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
608 609
    }
609 610

  
610 611
    /**
......
614 615
     */
615 616
    @Override
616 617
    public UUID refresh(AgentBase persistentObject) {
617
        return defaultAgentService.refresh(persistentObject);
618
        return defaultService.refresh(persistentObject);
618 619
    }
619 620

  
620 621
    /**
......
631 632
     */
632 633
    @Override
633 634
    public List<AgentBase> listByReferenceTitle(Class<? extends AgentBase> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
634
        return defaultAgentService.listByReferenceTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
635
        return defaultService.listByReferenceTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
635 636
    }
636 637

  
637 638
    /**
......
643 644
     */
644 645
    @Override
645 646
    public List<AgentBase> rows(String tableName, int limit, int start) {
646
        return defaultAgentService.rows(tableName, limit, start);
647
        return defaultService.rows(tableName, limit, start);
647 648
    }
648 649

  
649 650
    /**
......
693 694
     */
694 695
    @Override
695 696
    public UUID update(AgentBase transientObject) {
696
        return defaultAgentService.update(transientObject);
697
        return defaultService.update(transientObject);
697 698
    }
698 699

  
699 700
    /**
......
708 709
     */
709 710
    @Override
710 711
    public List<AgentBase> list(AgentBase example, Set<String> includeProperties, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
711
        return defaultAgentService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
712
        return defaultService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
712 713
    }
713 714

  
714 715
    /**
......
720 721
     */
721 722
    @Override
722 723
    public int deduplicate(Class<? extends AgentBase> clazz, IMatchStrategy matchStrategy, IMergeStrategy mergeStrategy) {
723
        return defaultAgentService.deduplicate(clazz, matchStrategy, mergeStrategy);
724
        return defaultService.deduplicate(clazz, matchStrategy, mergeStrategy);
724 725
    }
725 726

  
726 727
    /**
......
735 736
     */
736 737
    @Override
737 738
    public Pager<AgentBase> findTitleCache(Class<? extends AgentBase> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, MatchMode matchMode) {
738
        return defaultAgentService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
739
        return defaultService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
739 740
    }
740 741

  
741 742
	@Override
......
747 748

  
748 749
	@Override
749 750
	public AgentBase findWithoutFlush(UUID uuid) {
750
		return defaultAgentService.findWithoutFlush(uuid);
751
		return defaultService.findWithoutFlush(uuid);
751 752
	};
752 753

  
753

  
754
	@Override
755
	public <S extends AgentBase> List<S> listByIdentifier(Class<S> clazz, String identifier, DefinedTerm identifierType, MatchMode matchmode, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths){
756
		return defaultService.listByIdentifier(clazz, identifier, identifierType, matchmode, pageSize, pageNumber, orderHints, propertyPaths);
757
	}
754 758

  
755 759
}
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientClassificationService.java
27 27
import eu.etaxonomy.cdm.api.service.pager.Pager;
28 28
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
29 29
import eu.etaxonomy.cdm.model.common.Annotation;
30
import eu.etaxonomy.cdm.model.common.DefinedTerm;
30 31
import eu.etaxonomy.cdm.model.common.ISourceable;
31 32
import eu.etaxonomy.cdm.model.common.IdentifiableSource;
32 33
import eu.etaxonomy.cdm.model.common.LSID;
......
57 58
 */
58 59
public class TransientClassificationService implements IClassificationService {
59 60

  
60
    private final IClassificationService defaultClassificationService;
61
    private final IClassificationService defaultService;
61 62

  
62 63
    /**
63 64
     * @param defaultClassificationService
64 65
     */
65 66
    public TransientClassificationService(IClassificationService defaultClassificationService) {
66
        this.defaultClassificationService = defaultClassificationService;
67
        this.defaultService = defaultClassificationService;
67 68
    }
68 69

  
69 70
    /**
......
77 78
     */
78 79
    @Override
79 80
    public Pager<AuditEventRecord<Classification>> pageAuditEvents(Classification t, Integer pageSize, Integer pageNumber, AuditEventSort sort, List<String> propertyPaths) {
80
        return defaultClassificationService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
81
        return defaultService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
81 82
    }
82 83

  
83 84
    /**
......
92 93
     */
93 94
    @Override
94 95
    public Pager<Annotation> getAnnotations(Classification annotatedObj, MarkerType status, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
95
        return defaultClassificationService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
96
        return defaultService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
96 97
    }
97 98

  
98 99
    /**
......
102 103
     */
103 104
    @Override
104 105
    public TaxonNode getTaxonNodeByUuid(UUID uuid) {
105
        return defaultClassificationService.getTaxonNodeByUuid(uuid);
106
        return defaultService.getTaxonNodeByUuid(uuid);
106 107
    }
107 108

  
108 109
    /**
......
112 113
     */
113 114
    @Override
114 115
    public ITaxonTreeNode getTreeNodeByUuid(UUID uuid) {
115
        return defaultClassificationService.getTreeNodeByUuid(uuid);
116
        return defaultService.getTreeNodeByUuid(uuid);
116 117
    }
117 118

  
118 119
    /**
......
121 122
     */
122 123
    @Override
123 124
    public void clear() {
124
        defaultClassificationService.clear();
125
        defaultService.clear();
125 126
    }
126 127

  
127 128
    /**
......
134 135
     */
135 136
    @Override
136 137
    public List<Classification> listClassifications(Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
137
        return defaultClassificationService.listClassifications(limit, start, orderHints, propertyPaths);
138
        return defaultService.listClassifications(limit, start, orderHints, propertyPaths);
138 139
    }
139 140

  
140 141
    /**
......
144 145
     */
145 146
    @Override
146 147
    public void lock(Classification t, LockOptions lockOptions) {
147
        defaultClassificationService.lock(t, lockOptions);
148
        defaultService.lock(t, lockOptions);
148 149
    }
149 150

  
150 151
    /**
......
155 156
     */
156 157
    @Override
157 158
    public void refresh(Classification t, LockOptions lockOptions, List<String> propertyPaths) {
158
        defaultClassificationService.refresh(t, lockOptions, propertyPaths);
159
        defaultService.refresh(t, lockOptions, propertyPaths);
159 160
    }
160 161

  
161 162
    /**
......
169 170
    @Deprecated
170 171
    @Override
171 172
    public TaxonNode loadTaxonNodeByTaxon(Taxon taxon, UUID classificationUuid, List<String> propertyPaths) {
172
        return defaultClassificationService.loadTaxonNodeByTaxon(taxon, classificationUuid, propertyPaths);
173
        return defaultService.loadTaxonNodeByTaxon(taxon, classificationUuid, propertyPaths);
173 174
    }
174 175

  
175 176
    /**
......
178 179
     */
179 180
    @Override
180 181
    public void updateTitleCache() {
181
        defaultClassificationService.updateTitleCache();
182
        defaultService.updateTitleCache();
182 183
    }
183 184

  
184 185
    /**
......
188 189
     */
189 190
    @Override
190 191
    public AuditEventRecord<Classification> getNextAuditEvent(Classification t) {
191
        return defaultClassificationService.getNextAuditEvent(t);
192
        return defaultService.getNextAuditEvent(t);
192 193
    }
193 194

  
194 195
    /**
......
203 204
     */
204 205
    @Override
205 206
    public Pager<Marker> getMarkers(Classification annotatableEntity, Boolean technical, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
206
        return defaultClassificationService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
207
        return defaultService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
207 208
    }
208 209

  
209 210
    /**
......
215 216
     */
216 217
    @Override
217 218
    public void updateTitleCache(Class<? extends Classification> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<Classification> cacheStrategy, IProgressMonitor monitor) {
218
        defaultClassificationService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
219
        defaultService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
219 220
    }
220 221

  
221 222
    /**
......
228 229
    @Deprecated
229 230
    @Override
230 231
    public TaxonNode loadTaxonNode(TaxonNode taxonNode, List<String> propertyPaths) {
231
        return defaultClassificationService.loadTaxonNode(taxonNode, propertyPaths);
232
        return defaultService.loadTaxonNode(taxonNode, propertyPaths);
232 233
    }
233 234

  
234 235
    /**
......
238 239
     */
239 240
    @Override
240 241
    public AuditEventRecord<Classification> getPreviousAuditEvent(Classification t) {
241
        return defaultClassificationService.getPreviousAuditEvent(t);
242
        return defaultService.getPreviousAuditEvent(t);
242 243
    }
243 244

  
244 245
    /**
......
254 255
    @Deprecated
255 256
    @Override
256 257
    public List<TaxonNode> loadRankSpecificRootNodes(Classification classification, Rank rank, Integer limit, Integer start, List<String> propertyPaths) {
257
        return defaultClassificationService.loadRankSpecificRootNodes(classification, rank, limit, start, propertyPaths);
258
        return defaultService.loadRankSpecificRootNodes(classification, rank, limit, start, propertyPaths);
258 259
    }
259 260

  
260 261
    /**
......
264 265
     */
265 266
    @Override
266 267
    public int count(Class<? extends Classification> clazz) {
267
        return defaultClassificationService.count(clazz);
268
        return defaultService.count(clazz);
268 269
    }
269 270

  
270 271
    /**
......
281 282
     */
282 283
    @Override
283 284
    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) {
284
        return defaultClassificationService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
285
        return defaultService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
285 286
    }
286 287

  
287 288
    /**
......
291 292
     */
292 293
    @Override
293 294
    public Classification find(LSID lsid) {
294
        return defaultClassificationService.find(lsid);
295
        return defaultService.find(lsid);
295 296
    }
296 297

  
297 298
    /**
......
301 302
     */
302 303
    @Override
303 304
    public DeleteResult delete(Classification persistentObject) {
304
        return defaultClassificationService.delete(persistentObject);
305
        return defaultService.delete(persistentObject);
305 306
    }
306 307

  
307 308
    /**
......
315 316
     */
316 317
    @Override
317 318
    public List<Object[]> groupMarkers(Class<? extends Classification> clazz, Boolean technical, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
318
        return defaultClassificationService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
319
        return defaultService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
319 320
    }
320 321

  
321 322
    /**
......
325 326
     */
326 327
    @Override
327 328
    public boolean exists(UUID uuid) {
328
        return defaultClassificationService.exists(uuid);
329
        return defaultService.exists(uuid);
329 330
    }
330 331

  
331 332
    /**
......
336 337
     */
337 338
    @Override
338 339
    public Classification replace(Classification x, Classification y) {
339
        return defaultClassificationService.replace(x, y);
340
        return defaultService.replace(x, y);
340 341
    }
341 342

  
342 343
    /**
......
346 347
     */
347 348
    @Override
348 349
    public List<Classification> find(Set<UUID> uuidSet) {
349
        return defaultClassificationService.find(uuidSet);
350
        return defaultService.find(uuidSet);
350 351
    }
351 352

  
352 353
    /**
......
359 360
     */
360 361
    @Override
361 362
    public Pager<IdentifiableSource> getSources(Classification t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
362
        return defaultClassificationService.getSources(t, pageSize, pageNumber, propertyPaths);
363
        return defaultService.getSources(t, pageSize, pageNumber, propertyPaths);
363 364
    }
364 365

  
365 366
    /**
......
373 374
     */
374 375
    @Override
375 376
    public List<TaxonNode> listRankSpecificRootNodes(Classification classification, Rank rank, Integer pageSize, Integer pageIndex, List<String> propertyPaths) {
376
        return defaultClassificationService.listRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
377
        return defaultService.listRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
377 378
    }
378 379

  
379 380
    /**
......
383 384
     */
384 385
    @Override
385 386
    public Classification find(UUID uuid) {
386
        return defaultClassificationService.find(uuid);
387
        return defaultService.find(uuid);
387 388
    }
388 389

  
389 390
    /**
......
393 394
     */
394 395
    @Override
395 396
    public Classification find(int id) {
396
        return defaultClassificationService.find(id);
397
        return defaultService.find(id);
397 398
    }
398 399

  
399 400
    /**
......
406 407
     */
407 408
    @Override
408 409
    public Pager<Rights> getRights(Classification t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
409
        return defaultClassificationService.getRights(t, pageSize, pageNumber, propertyPaths);
410
        return defaultService.getRights(t, pageSize, pageNumber, propertyPaths);
410 411
    }
411 412

  
412 413
    /**
......
417 418
     */
418 419
    @Override
419 420
    public int countMarkers(Class<? extends Classification> clazz, Boolean technical) {
420
        return defaultClassificationService.countMarkers(clazz, technical);
421
        return defaultService.countMarkers(clazz, technical);
421 422
    }
422 423

  
423 424
    /**
......
427 428
     */
428 429
    @Override
429 430
    public List<Classification> findById(Set<Integer> idSet) {
430
        return defaultClassificationService.findById(idSet);
431
        return defaultService.findById(idSet);
431 432
    }
432 433

  
433 434
    /**
......
439 440
     */
440 441
    @Override
441 442
    public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace) {
442
        return defaultClassificationService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
443
        return defaultService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
443 444
    }
444 445

  
445 446
    /**
......
453 454
     */
454 455
    @Override
455 456
    public Pager<TaxonNode> pageRankSpecificRootNodes(Classification classification, Rank rank, Integer pageSize, Integer pageIndex, List<String> propertyPaths) {
456
        return defaultClassificationService.pageRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
457
        return defaultService.pageRankSpecificRootNodes(classification, rank, pageSize, pageIndex, propertyPaths);
457 458
    }
458 459

  
459 460
    /**
......
462 463
     */
463 464
    @Override
464 465
    public Session getSession() {
465
        return defaultClassificationService.getSession();
466
        return defaultService.getSession();
466 467
    }
467 468

  
468 469
    /**
......
471 472
     */
472 473
    @Override
473 474
    public List<UuidAndTitleCache<Classification>> getUuidAndTitleCache() {
474
        return defaultClassificationService.getUuidAndTitleCache();
475
        return defaultService.getUuidAndTitleCache();
475 476
    }
476 477

  
477 478
    /**
......
485 486
     */
486 487
    @Override
487 488
    public List<Object[]> group(Class<? extends Classification> clazz, Integer limit, Integer start, List<Grouping> groups, List<String> propertyPaths) {
488
        return defaultClassificationService.group(clazz, limit, start, groups, propertyPaths);
489
        return defaultService.group(clazz, limit, start, groups, propertyPaths);
489 490
    }
490 491

  
491 492
    /**
......
502 503
     */
503 504
    @Override
504 505
    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) {
505
        return defaultClassificationService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
506
        return defaultService.findByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
506 507
    }
507 508

  
508 509
    /**
......
514 515
     */
515 516
    @Override
516 517
    public List<TaxonNode> loadTreeBranch(TaxonNode taxonNode, Rank baseRank, List<String> propertyPaths) {
517
        return defaultClassificationService.loadTreeBranch(taxonNode, baseRank, propertyPaths);
518
        return defaultService.loadTreeBranch(taxonNode, baseRank, propertyPaths);
518 519
    }
519 520

  
520 521
    /**
......
528 529
     */
529 530
    @Override
530 531
    public <S extends Classification> List<S> list(Class<S> type, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
531
        return defaultClassificationService.list(type, limit, start, orderHints, propertyPaths);
532
        return defaultService.list(type, limit, start, orderHints, propertyPaths);
532 533
    }
533 534

  
534 535
    /**
......
541 542
     */
542 543
    @Override
543 544
    public List<TaxonNode> loadTreeBranchToTaxon(Taxon taxon, Classification classification, Rank baseRank, List<String> propertyPaths) {
544
        return defaultClassificationService.loadTreeBranchToTaxon(taxon, classification, baseRank, propertyPaths);
545
        return defaultService.loadTreeBranchToTaxon(taxon, classification, baseRank, propertyPaths);
545 546
    }
546 547

  
547 548
    /**
......
551 552
     */
552 553
    @Override
553 554
    public Pager<Classification> findByTitle(IIdentifiableEntityServiceConfigurator<Classification> configurator) {
554
        return defaultClassificationService.findByTitle(configurator);
555
        return defaultService.findByTitle(configurator);
555 556
    }
556 557

  
557 558
    /**
......
564 565
     */
565 566
    @Override
566 567
    public Integer countByTitle(Class<? extends Classification> clazz, String queryString, MatchMode matchmode, List<Criterion> criteria) {
567
        return defaultClassificationService.countByTitle(clazz, queryString, matchmode, criteria);
568
        return defaultService.countByTitle(clazz, queryString, matchmode, criteria);
568 569
    }
569 570

  
570 571
    /**
......
574 575
     */
575 576
    @Override
576 577
    public Classification load(UUID uuid) {
577
        return defaultClassificationService.load(uuid);
578
        return defaultService.load(uuid);
578 579
    }
579 580

  
580 581
    /**
......
585 586
     */
586 587
    @Override
587 588
    public Classification load(UUID uuid, List<String> propertyPaths) {
588
        return defaultClassificationService.load(uuid, propertyPaths);
589
        return defaultService.load(uuid, propertyPaths);
589 590
    }
590 591

  
591 592
    /**
......
595 596
     */
596 597
    @Override
597 598
    public Integer countByTitle(IIdentifiableEntityServiceConfigurator<Classification> configurator) {
598
        return defaultClassificationService.countByTitle(configurator);
599
        return defaultService.countByTitle(configurator);
599 600
    }
600 601

  
601 602
    /**
......
605 606
     */
606 607
    @Override
607 608
    public Classification merge(Classification transientObject) {
608
        return defaultClassificationService.merge(transientObject);
609
        return defaultService.merge(transientObject);
609 610
    }
610 611

  
611 612
    /**
......
622 623
     */
623 624
    @Override
624 625
    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) {
625
        return defaultClassificationService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
626
        return defaultService.listByTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
626 627
    }
627 628

  
628 629
    /**
......
636 637
     */
637 638
    @Override
638 639
    public <S extends Classification> Pager<S> page(Class<S> type, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
639
        return defaultClassificationService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
640
        return defaultService.page(type, pageSize, pageNumber, orderHints, propertyPaths);
640 641
    }
641 642

  
642 643
    /**
......
649 650
    @Deprecated
650 651
    @Override
651 652
    public List<TaxonNode> loadChildNodesOfTaxonNode(TaxonNode taxonNode, List<String> propertyPaths) {
652
        return defaultClassificationService.loadChildNodesOfTaxonNode(taxonNode, propertyPaths);
653
        return defaultService.loadChildNodesOfTaxonNode(taxonNode, propertyPaths);
653 654
    }
654 655

  
655 656
    /**
......
659 660
     */
660 661
    @Override
661 662
    public List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(Classification classification) {
662
        return defaultClassificationService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification);
663
        return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(classification);
663 664
    }
664 665

  
665 666
    /**
......
677 678
    @Deprecated
678 679
    @Override
679 680
    public Map<UUID, List<MediaRepresentation>> getAllMediaForChildNodes(Taxon taxon, Classification taxTree, List<String> propertyPaths, int size, int height, int widthOrDuration, String[] mimeTypes) {
680
        return defaultClassificationService.getAllMediaForChildNodes(taxon, taxTree, propertyPaths, size, height, widthOrDuration, mimeTypes);
681
        return defaultService.getAllMediaForChildNodes(taxon, taxTree, propertyPaths, size, height, widthOrDuration, mimeTypes);
681 682
    }
682 683

  
683 684
    /**
......
687 688
     */
688 689
    @Override
689 690
    public UUID refresh(Classification persistentObject) {
690
        return defaultClassificationService.refresh(persistentObject);
691
        return defaultService.refresh(persistentObject);
691 692
    }
692 693

  
693 694
    /**
......
704 705
     */
705 706
    @Override
706 707
    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) {
707
        return defaultClassificationService.listByReferenceTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
708
        return defaultService.listByReferenceTitle(clazz, queryString, matchmode, criteria, pageSize, pageNumber, orderHints, propertyPaths);
708 709
    }
709 710

  
710 711
    /**
......
719 720
     */
720 721
    @Override
721 722
    public Map<UUID, List<MediaRepresentation>> getAllMediaForChildNodes(TaxonNode taxonNode, List<String> propertyPaths, int size, int height, int widthOrDuration, String[] mimeTypes) {
722
        return defaultClassificationService.getAllMediaForChildNodes(taxonNode, propertyPaths, size, height, widthOrDuration, mimeTypes);
723
        return defaultService.getAllMediaForChildNodes(taxonNode, propertyPaths, size, height, widthOrDuration, mimeTypes);
723 724
    }
724 725

  
725 726
    /**
......
731 732
     */
732 733
    @Override
733 734
    public List<Classification> rows(String tableName, int limit, int start) {
734
        return defaultClassificationService.rows(tableName, limit, start);
735
        return defaultService.rows(tableName, limit, start);
735 736
    }
736 737

  
737 738
    /**
......
753 754
    @Deprecated
754 755
    @Override
755 756
    public UUID removeTaxonNode(TaxonNode taxonNode) {
756
        return defaultClassificationService.removeTaxonNode(taxonNode);
757
        return defaultService.removeTaxonNode(taxonNode);
757 758
    }
758 759

  
759 760
    /**
......
807 808
     */
808 809
    @Override
809 810
    public UUID removeTreeNode(ITaxonTreeNode treeNode) {
810
        return defaultClassificationService.removeTreeNode(treeNode);
811
        return defaultService.removeTreeNode(treeNode);
811 812
    }
812 813

  
813 814
    /**
......
822 823
     */
823 824
    @Override
824 825
    public Pager<Classification> search(Class<? extends Classification> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
825
        return defaultClassificationService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
826
        return defaultService.search(clazz, queryString, pageSize, pageNumber, orderHints, propertyPaths);
826 827
    }
827 828

  
828 829
    /**
......
851 852
     */
852 853
    @Override
853 854
    public List<TaxonNode> getAllNodes() {
854
        return defaultClassificationService.getAllNodes();
855
        return defaultService.getAllNodes();
855 856
    }
856 857

  
857 858
    /**
......
861 862
     */
862 863
    @Override
863 864
    public UUID update(Classification transientObject) {
864
        return defaultClassificationService.update(transientObject);
865
        return defaultService.update(transientObject);
865 866
    }
866 867

  
867 868
    /**
......
876 877
     */
877 878
    @Override
878 879
    public List<Classification> list(Classification example, Set<String> includeProperties, Integer limit, Integer start, List<OrderHint> orderHints, List<String> propertyPaths) {
879
        return defaultClassificationService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
880
        return defaultService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
880 881
    }
881 882

  
882 883
    /**
......
888 889
     */
889 890
    @Override
890 891
    public int deduplicate(Class<? extends Classification> clazz, IMatchStrategy matchStrategy, IMergeStrategy mergeStrategy) {
891
        return defaultClassificationService.deduplicate(clazz, matchStrategy, mergeStrategy);
892
        return defaultService.deduplicate(clazz, matchStrategy, mergeStrategy);
892 893
    }
893 894

  
894 895
    /**
......
903 904
     */
904 905
    @Override
905 906
    public Pager<Classification> findTitleCache(Class<? extends Classification> clazz, String queryString, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, MatchMode matchMode) {
906
        return defaultClassificationService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
907
        return defaultService.findTitleCache(clazz, queryString, pageSize, pageNumber, orderHints, matchMode);
907 908
    }
908 909

  
909 910
    /* (non-Javadoc)
......
912 913
    @Override
913 914
    public List<TaxonNode> listChildNodesOfTaxon(UUID taxonUuid, UUID classificationUuid, Integer pageSize,
914 915
            Integer pageIndex, List<String> propertyPaths) {
915
        return defaultClassificationService.listChildNodesOfTaxon(taxonUuid, classificationUuid, pageSize, pageIndex, propertyPaths);
916
        return defaultService.listChildNodesOfTaxon(taxonUuid, classificationUuid, pageSize, pageIndex, propertyPaths);
916 917
    }
917 918

  
918 919
	@Override
......
924 925

  
925 926
	@Override
926 927
	public Classification findWithoutFlush(UUID uuid) {
927
		return defaultClassificationService.findWithoutFlush(uuid);
928
		return defaultService.findWithoutFlush(uuid);
928 929
	}
929 930

  
930

  
931
	@Override
932
	public <S extends Classification> List<S> listByIdentifier(Class<S> clazz, String identifier, DefinedTerm identifierType, MatchMode matchmode, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths){
933
		return defaultService.listByIdentifier(clazz, identifier, identifierType, matchmode, pageSize, pageNumber, orderHints, propertyPaths);
934
	}
931 935

  
932 936
}
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientCollectionService.java
26 26
import eu.etaxonomy.cdm.api.service.pager.Pager;
27 27
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
28 28
import eu.etaxonomy.cdm.model.common.Annotation;
29
import eu.etaxonomy.cdm.model.common.DefinedTerm;
29 30
import eu.etaxonomy.cdm.model.common.ISourceable;
30 31
import eu.etaxonomy.cdm.model.common.IdentifiableSource;
31 32
import eu.etaxonomy.cdm.model.common.LSID;
......
697 698
        return defaultService.list(example, includeProperties, limit, start, orderHints, propertyPaths);
698 699
    }
699 700

  
700

  
701
	@Override
702
	public <S extends Collection> List<S> listByIdentifier(Class<S> clazz, String identifier, DefinedTerm identifierType, MatchMode matchmode, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths){
703
		return defaultService.listByIdentifier(clazz, identifier, identifierType, matchmode, pageSize, pageNumber, orderHints, propertyPaths);
704
	}
701 705
}
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientDescriptionService.java
67 67
 */
68 68
public class TransientDescriptionService implements IDescriptionService {
69 69

  
70
    private final IDescriptionService defaultDescriptionService;
70
    private final IDescriptionService defaultService;
71 71

  
72 72
    /**
73 73
     * @param defaultDescriptionService
74 74
     */
75 75
    public TransientDescriptionService(IDescriptionService defaultDescriptionService) {
76
        this.defaultDescriptionService = defaultDescriptionService;
76
        this.defaultService = defaultDescriptionService;
77 77
    }
78 78

  
79 79
    /**
......
87 87
     */
88 88
    @Override
89 89
    public Pager<AuditEventRecord<DescriptionBase>> pageAuditEvents(DescriptionBase t, Integer pageSize, Integer pageNumber, AuditEventSort sort, List<String> propertyPaths) {
90
        return defaultDescriptionService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
90
        return defaultService.pageAuditEvents(t, pageSize, pageNumber, sort, propertyPaths);
91 91
    }
92 92

  
93 93
    /**
......
102 102
     */
103 103
    @Override
104 104
    public Pager<Annotation> getAnnotations(DescriptionBase annotatedObj, MarkerType status, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
105
        return defaultDescriptionService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
105
        return defaultService.getAnnotations(annotatedObj, status, pageSize, pageNumber, orderHints, propertyPaths);
106 106
    }
107 107

  
108 108
    /**
......
111 111
     */
112 112
    @Override
113 113
    public void clear() {
114
        defaultDescriptionService.clear();
114
        defaultService.clear();
115 115
    }
116 116

  
117 117
    /**
......
121 121
     */
122 122
    @Override
123 123
    public void lock(DescriptionBase t, LockOptions lockOptions) {
124
        defaultDescriptionService.lock(t, lockOptions);
124
        defaultService.lock(t, lockOptions);
125 125
    }
126 126

  
127 127
    /**
......
132 132
     */
133 133
    @Override
134 134
    public void refresh(DescriptionBase t, LockOptions lockOptions, List<String> propertyPaths) {
135
        defaultDescriptionService.refresh(t, lockOptions, propertyPaths);
135
        defaultService.refresh(t, lockOptions, propertyPaths);
136 136
    }
137 137

  
138 138
    /**
......
141 141
     */
142 142
    @Override
143 143
    public void updateTitleCache() {
144
        defaultDescriptionService.updateTitleCache();
144
        defaultService.updateTitleCache();
145 145
    }
146 146

  
147 147
    /**
......
151 151
     */
152 152
    @Override
153 153
    public AuditEventRecord<DescriptionBase> getNextAuditEvent(DescriptionBase t) {
154
        return defaultDescriptionService.getNextAuditEvent(t);
154
        return defaultService.getNextAuditEvent(t);
155 155
    }
156 156

  
157 157
    /**
......
162 162
    @Deprecated
163 163
    @Override
164 164
    public TermVocabulary<Feature> getDefaultFeatureVocabulary() {
165
        return defaultDescriptionService.getDefaultFeatureVocabulary();
165
        return defaultService.getDefaultFeatureVocabulary();
166 166
    }
167 167

  
168 168
    /**
......
177 177
     */
178 178
    @Override
179 179
    public Pager<Marker> getMarkers(DescriptionBase annotatableEntity, Boolean technical, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths) {
180
        return defaultDescriptionService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
180
        return defaultService.getMarkers(annotatableEntity, technical, pageSize, pageNumber, orderHints, propertyPaths);
181 181
    }
182 182

  
183 183
    /**
......
189 189
    @Deprecated
190 190
    @Override
191 191
    public TermVocabulary<Feature> getFeatureVocabulary(UUID uuid) {
192
        return defaultDescriptionService.getFeatureVocabulary(uuid);
192
        return defaultService.getFeatureVocabulary(uuid);
193 193
    }
194 194

  
195 195
    /**
......
201 201
     */
202 202
    @Override
203 203
    public void updateTitleCache(Class<? extends DescriptionBase> clazz, Integer stepSize, IIdentifiableEntityCacheStrategy<DescriptionBase> cacheStrategy, IProgressMonitor monitor) {
204
        defaultDescriptionService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
204
        defaultService.updateTitleCache(clazz, stepSize, cacheStrategy, monitor);
205 205
    }
206 206

  
207 207
    /**
......
211 211
     */
212 212
    @Override
213 213
    public AuditEventRecord<DescriptionBase> getPreviousAuditEvent(DescriptionBase t) {
214
        return defaultDescriptionService.getPreviousAuditEvent(t);
214
        return defaultService.getPreviousAuditEvent(t);
215 215
    }
216 216

  
217 217
    /**
......
221 221
     */
222 222
    @Override
223 223
    public DescriptionElementBase getDescriptionElementByUuid(UUID uuid) {
224
        return defaultDescriptionService.getDescriptionElementByUuid(uuid);
224
        return defaultService.getDescriptionElementByUuid(uuid);
225 225
    }
226 226

  
227 227
    /**
......
231 231
     */
232 232
    @Override
233 233
    public int count(Class<? extends DescriptionBase> clazz) {
234
        return defaultDescriptionService.count(clazz);
234
        return defaultService.count(clazz);
235 235
    }
236 236

  
237 237
    /**
......
242 242
     */
243 243
    @Override
244 244
    public DescriptionElementBase loadDescriptionElement(UUID uuid, List<String> propertyPaths) {
245
        return defaultDescriptionService.loadDescriptionElement(uuid, propertyPaths);
245
        return defaultService.loadDescriptionElement(uuid, propertyPaths);
246 246
    }
247 247

  
248 248
    /**
......
259 259
     */
260 260
    @Override
261 261
    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) {
262
        return defaultDescriptionService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
262
        return defaultService.pageAuditEvents(clazz, from, to, criteria, pageSize, pageValue, sort, propertyPaths);
263 263
    }
264 264

  
265 265
    /**
......
269 269
     */
270 270
    @Override
271 271
    public DescriptionBase find(LSID lsid) {
272
        return defaultDescriptionService.find(lsid);
272
        return defaultService.find(lsid);
273 273
    }
274 274

  
275 275
    /**
......
279 279
     */
280 280
    @Override
281 281
    public DeleteResult delete(DescriptionBase persistentObject) {
282
        return defaultDescriptionService.delete(persistentObject);
282
        return defaultService.delete(persistentObject);
283 283
    }
284 284

  
285 285
    /**
......
293 293
     */
294 294
    @Override
295 295
    public List<Object[]> groupMarkers(Class<? extends DescriptionBase> clazz, Boolean technical, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
296
        return defaultDescriptionService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
296
        return defaultService.groupMarkers(clazz, technical, pageSize, pageNumber, propertyPaths);
297 297
    }
298 298

  
299 299
    /**
......
303 303
     */
304 304
    @Override
305 305
    public boolean exists(UUID uuid) {
306
        return defaultDescriptionService.exists(uuid);
306
        return defaultService.exists(uuid);
307 307
    }
308 308

  
309 309
    /**
......
314 314
     */
315 315
    @Override
316 316
    public DescriptionBase replace(DescriptionBase x, DescriptionBase y) {
317
        return defaultDescriptionService.replace(x, y);
317
        return defaultService.replace(x, y);
318 318
    }
319 319

  
320 320
    /**
......
334 334
     */
335 335
    @Override
336 336
    public List<DescriptionBase> find(Set<UUID> uuidSet) {
337
        return defaultDescriptionService.find(uuidSet);
337
        return defaultService.find(uuidSet);
338 338
    }
339 339

  
340 340
    /**
......
357 357
     */
358 358
    @Override
359 359
    public Pager<IdentifiableSource> getSources(DescriptionBase t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
360
        return defaultDescriptionService.getSources(t, pageSize, pageNumber, propertyPaths);
360
        return defaultService.getSources(t, pageSize, pageNumber, propertyPaths);
361 361
    }
362 362

  
363 363
    /**
......
367 367
     */
368 368
    @Override
369 369
    public UUID deleteDescriptionElement(DescriptionElementBase descriptionElement) {
370
        return defaultDescriptionService.deleteDescriptionElement(descriptionElement);
370
        return defaultService.deleteDescriptionElement(descriptionElement);
371 371
    }
372 372

  
373 373
    /**
......
377 377
     */
378 378
    @Override
379 379
    public DescriptionBase find(UUID uuid) {
380
        return defaultDescriptionService.find(uuid);
380
        return defaultService.find(uuid);
381 381
    }
382 382

  
383 383
    /**
......
394 394
     */
395 395
    @Override
396 396
    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) {
397
        return defaultDescriptionService.page(type, hasMedia, hasText, feature, pageSize, pageNumber, orderHints, propertyPaths);
397
        return defaultService.page(type, hasMedia, hasText, feature, pageSize, pageNumber, orderHints, propertyPaths);
398 398
    }
399 399

  
400 400
    /**
......
404 404
     */
405 405
    @Override
406 406
    public DescriptionBase find(int id) {
407
        return defaultDescriptionService.find(id);
407
        return defaultService.find(id);
408 408
    }
409 409

  
410 410
    /**
......
417 417
     */
418 418
    @Override
419 419
    public Pager<Rights> getRights(DescriptionBase t, Integer pageSize, Integer pageNumber, List<String> propertyPaths) {
420
        return defaultDescriptionService.getRights(t, pageSize, pageNumber, propertyPaths);
420
        return defaultService.getRights(t, pageSize, pageNumber, propertyPaths);
421 421
    }
422 422

  
423 423
    /**
......
428 428
     */
429 429
    @Override
430 430
    public int countMarkers(Class<? extends DescriptionBase> clazz, Boolean technical) {
431
        return defaultDescriptionService.countMarkers(clazz, technical);
431
        return defaultService.countMarkers(clazz, technical);
432 432
    }
433 433

  
434 434
    /**
......
438 438
     */
439 439
    @Override
440 440
    public List<DescriptionBase> findById(Set<Integer> idSet) {
441
        return defaultDescriptionService.findById(idSet);
441
        return defaultService.findById(idSet);
442 442
    }
443 443

  
444 444
    /**
......
450 450
     */
451 451
    @Override
452 452
    public ISourceable getSourcedObjectByIdInSource(Class clazz, String idInSource, String idNamespace) {
453
        return defaultDescriptionService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
453
        return defaultService.getSourcedObjectByIdInSource(clazz, idInSource, idNamespace);
454 454
    }
455 455

  
456 456
    /**
......
459 459
     */
460 460
    @Override
461 461
    public Session getSession() {
462
        return defaultDescriptionService.getSession();
462
        return defaultService.getSession();
463 463
    }
464 464

  
465 465
    /**
......
468 468
     */
469 469
    @Override
470 470
    public List<UuidAndTitleCache<DescriptionBase>> getUuidAndTitleCache() {
471
        return defaultDescriptionService.getUuidAndTitleCache();
471
        return defaultService.getUuidAndTitleCache();
472 472
    }
473 473

  
474 474
    /**
......
482 482
     */
483 483
    @Override
484 484
    public List<Object[]> group(Class<? extends DescriptionBase> clazz, Integer limit, Integer start, List<Grouping> groups, List<String> propertyPaths) {
485
        return defaultDescriptionService.group(clazz, limit, start, groups, propertyPaths);
485
        return defaultService.group(clazz, limit, start, groups, propertyPaths);
486 486
    }
487 487

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff