public abstract class VocabularyDAO extends Object
| Modifier and Type | Field and Description |
|---|---|
protected eu.dnetlib.enabling.locators.UniqueServiceLocator |
serviceLocator |
| Constructor and Description |
|---|
VocabularyDAO() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
commitTerms(List<Term> terms,
String vocabularyId) |
abstract void |
commitVocabularyInfo(Vocabulary voc,
String vocabularyId) |
abstract String |
createVocabulary(Vocabulary voc) |
abstract void |
dropVocabulary(String vocabularyId) |
abstract List<Term> |
getTerms(String vocabularyId) |
abstract List<Vocabulary> |
getVocabularies() |
protected eu.dnetlib.enabling.locators.UniqueServiceLocator serviceLocator
public abstract List<Vocabulary> getVocabularies() throws VocabularyException
VocabularyExceptionpublic abstract List<Term> getTerms(String vocabularyId) throws VocabularyException
VocabularyExceptionpublic abstract void commitTerms(List<Term> terms, String vocabularyId) throws VocabularyException
VocabularyExceptionpublic abstract void commitVocabularyInfo(Vocabulary voc, String vocabularyId) throws VocabularyException
VocabularyExceptionpublic abstract String createVocabulary(Vocabulary voc) throws VocabularyException
VocabularyExceptionpublic abstract void dropVocabulary(String vocabularyId) throws VocabularyException
VocabularyExceptionCopyright © 2017. All rights reserved.