public class VocabularyRetriever extends Object
| Constructor and Description |
|---|
VocabularyRetriever() |
| Modifier and Type | Method and Description |
|---|---|
VocabularyTerm |
getTermSynonyms(String vocabularyCode,
String termCode) |
Vocabulary |
getVocabulary(String id) |
Vocabulary |
getVocabularyByCode(String code) |
List<Vocabulary> |
listVocabularies() |
@Cacheable(value="vocabularies") public List<Vocabulary> listVocabularies()
@Cacheable(value="terms",
key="#id")
public Vocabulary getVocabulary(String id)
throws VocabularyNotFoundException
VocabularyNotFoundException@Cacheable(value="termsByCode",
key="#code")
public Vocabulary getVocabularyByCode(String code)
throws VocabularyNotFoundException
VocabularyNotFoundException@Cacheable(value="synonymsByCode",
key="#termCode")
public VocabularyTerm getTermSynonyms(String vocabularyCode,
String termCode)
throws VocabularyNotFoundException
VocabularyNotFoundExceptionCopyright © 2026. All rights reserved.