public interface ITermLoader
Modifier and Type | Method and Description |
---|---|
<T extends DefinedTermBase> |
loadSingleTerms(VocabularyEnum vocType,
TermVocabulary<T> voc,
java.util.Set<java.util.UUID> missingTerms)
Loads all terms for the given vocabulary and with the given term uuids by using the given term loader.
|
<T extends DefinedTermBase> |
loadTerms(VocabularyEnum vocType,
java.util.Map<java.util.UUID,DefinedTermBase> terms)
Loads the terms for the DefinedTermBase subclass defined by vocType.
|
java.util.UUID |
loadUuids(VocabularyEnum vocType,
java.util.Map<java.util.UUID,java.util.Set<java.util.UUID>> uuidMap)
Loads the
UUID s of all vocabularies and all related terms into the given uuidMap. |
void |
unloadAllTerms()
Unload all static terms.
|
<T extends DefinedTermBase> TermVocabulary<T> loadTerms(VocabularyEnum vocType, java.util.Map<java.util.UUID,DefinedTermBase> terms)
T
- vocType
- terms
- void unloadAllTerms()
java.util.UUID loadUuids(VocabularyEnum vocType, java.util.Map<java.util.UUID,java.util.Set<java.util.UUID>> uuidMap)
UUID
s of all vocabularies and all related terms into the given uuidMap.
Where the key of the map is the vocabulary uuid and the values are the related term uuids.vocType
- vocabulary typeuuidMap
- the resulting uuid map with the key as vocabulary uuid and the value as set of term uuids
belonging to the given vocabulary<T extends DefinedTermBase> java.util.Set<T> loadSingleTerms(VocabularyEnum vocType, TermVocabulary<T> voc, java.util.Set<java.util.UUID> missingTerms)
vocType
- VocabularyEnumvoc
- vocabularymissingTerms
- Set of UUIDs for terms to be loaded.Copyright © 2007-2019 EDIT. All Rights Reserved.