Revision 3f04dd4e
Added by Andreas Kohlbecker almost 3 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/application/CdmRepository.java | ||
---|---|---|
69 | 69 |
import eu.etaxonomy.cdm.api.service.IUserService; |
70 | 70 |
import eu.etaxonomy.cdm.api.service.IVocabularyService; |
71 | 71 |
import eu.etaxonomy.cdm.api.service.longrunningService.ILongRunningTasksService; |
72 |
import eu.etaxonomy.cdm.api.service.media.MediaInfoFactory; |
|
72 | 73 |
import eu.etaxonomy.cdm.api.service.molecular.IAmplificationService; |
73 | 74 |
import eu.etaxonomy.cdm.api.service.molecular.IPrimerService; |
74 | 75 |
import eu.etaxonomy.cdm.api.service.molecular.ISequenceService; |
... | ... | |
194 | 195 |
private IEntityConstraintViolationService entityConstraintViolationService; |
195 | 196 |
@Autowired |
196 | 197 |
private ICdmPermissionEvaluator permissionEvaluator; |
198 |
@Autowired |
|
199 |
private MediaInfoFactory mediaInfoFactory; // FIXME define and use interface |
|
197 | 200 |
@Autowired |
198 | 201 |
private SessionFactory factory; |
199 | 202 |
|
... | ... | |
438 | 441 |
return permissionEvaluator; |
439 | 442 |
} |
440 | 443 |
|
444 |
public MediaInfoFactory getMediaInfoFactory() { // FIXME define and use interface |
|
445 |
return mediaInfoFactory; |
|
446 |
} |
|
447 |
|
|
441 | 448 |
@Override |
442 | 449 |
public TransactionStatus startTransaction(){ |
443 | 450 |
return startTransaction(false); |
... | ... | |
530 | 537 |
// no current session: nothing to clear! |
531 | 538 |
} |
532 | 539 |
} |
540 |
|
|
533 | 541 |
} |
Also available in: Unified diff
ref #9607 replacing class local factory methods and heplers in CdmImageInfo by service layer factory classes and metadata 'reader' class