Package de.uniba.minf.registry.service
Class VocabularyLookupServiceImpl
java.lang.Object
de.uniba.minf.registry.service.VocabularyLookupServiceImpl
- All Implemented Interfaces:
de.uniba.minf.registry.model.vocabulary.VocabularyLookupService,org.springframework.beans.factory.InitializingBean
@Component
public class VocabularyLookupServiceImpl
extends Object
implements de.uniba.minf.registry.model.vocabulary.VocabularyLookupService, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleancanResolveId(String vocabulary, String id) de.uniba.minf.registry.model.vocabulary.VocabularyEntryList<de.uniba.minf.registry.model.vocabulary.VocabularyEntry>booleanvocabularyAvailable(String vocabulary)
-
Constructor Details
-
VocabularyLookupServiceImpl
public VocabularyLookupServiceImpl()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
vocabularyAvailable
public boolean vocabularyAvailable(String vocabulary) throws de.uniba.minf.registry.model.vocabulary.VocabularyLookupException - Specified by:
vocabularyAvailablein interfacede.uniba.minf.registry.model.vocabulary.VocabularyLookupService- Throws:
de.uniba.minf.registry.model.vocabulary.VocabularyLookupException
-
canResolveId
public boolean canResolveId(String vocabulary, String id) throws de.uniba.minf.registry.model.vocabulary.VocabularyLookupException - Specified by:
canResolveIdin interfacede.uniba.minf.registry.model.vocabulary.VocabularyLookupService- Throws:
de.uniba.minf.registry.model.vocabulary.VocabularyLookupException
-
resolve
public de.uniba.minf.registry.model.vocabulary.VocabularyEntry resolve(String vocabulary, String id) throws de.uniba.minf.registry.model.vocabulary.VocabularyLookupException - Specified by:
resolvein interfacede.uniba.minf.registry.model.vocabulary.VocabularyLookupService- Throws:
de.uniba.minf.registry.model.vocabulary.VocabularyLookupException
-
search
public List<de.uniba.minf.registry.model.vocabulary.VocabularyEntry> search(String vocabulary, String query) throws de.uniba.minf.registry.model.vocabulary.VocabularyLookupException - Specified by:
searchin interfacede.uniba.minf.registry.model.vocabulary.VocabularyLookupService- Throws:
de.uniba.minf.registry.model.vocabulary.VocabularyLookupException
-