Revision 933e5ac3
Added by Cherian Mathew about 9 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/DefaultTermInitializer.java | ||
---|---|---|
17 | 17 |
|
18 | 18 |
import eu.etaxonomy.cdm.model.common.init.ITermInitializer; |
19 | 19 |
import eu.etaxonomy.cdm.model.common.init.ITermLoader; |
20 |
import eu.etaxonomy.cdm.model.common.init.MockCdmCacher; |
|
21 | 20 |
import eu.etaxonomy.cdm.model.common.init.TermLoader; |
22 | 21 |
|
23 | 22 |
/** |
... | ... | |
44 | 43 |
TermVocabulary<?> voc = termLoader.loadTerms(vocabularyEnum, terms); |
45 | 44 |
setDefinedTerms(vocabularyEnum.getClazz(),voc); |
46 | 45 |
} |
47 |
//FIXME: temporary fix to make cdmlib-model test running until we completely moved to CdmCacher |
|
48 |
new MockCdmCacher(); |
|
49 | 46 |
|
50 | 47 |
} |
51 | 48 |
|
Also available in: Unified diff
ICdmCacher, ICdmUuidCacher, CdmCacher, CdmTermCacher : refactored and added load method
Language, NameRelationshipType, Rank : now uses cacher only if termap is null or empty and only when class matches the specific term type
MockCdmCacher: not required anymore
DefaultTermInitializer : removed acall to mock cacher
MatchStrategyConfigurator : moved from editor to cdmlib
CdmDataChangeEvent : added constructor
CommonServiceImpl, ICommonService : added call to findMatchingStrategy with enum instead of object
DescriptionServiceImpl, IDescriptionService, PolytomousKeyNodeServiceImpl, IPolytomousKeyNodeService, TaxonNodeServiceImpl, ITaxonNodeService, TaxonServiceImpl: added uuid methods