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 Details

    • VocabularyLookupServiceImpl

      public VocabularyLookupServiceImpl()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • vocabularyAvailable

      public boolean vocabularyAvailable(String vocabulary) throws de.uniba.minf.registry.model.vocabulary.VocabularyLookupException
      Specified by:
      vocabularyAvailable in interface de.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:
      canResolveId in interface de.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:
      resolve in interface de.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:
      search in interface de.uniba.minf.registry.model.vocabulary.VocabularyLookupService
      Throws:
      de.uniba.minf.registry.model.vocabulary.VocabularyLookupException