org.apache.stanbol.contenthub.search.related.ontologyresource
Class OntologyResourceSearch

java.lang.Object
  extended by org.apache.stanbol.contenthub.search.related.ontologyresource.OntologyResourceSearch
All Implemented Interfaces:
org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch

@Service
public class OntologyResourceSearch
extends Object
implements org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch

Author:
cihan

Constructor Summary
OntologyResourceSearch()
           
 
Method Summary
 Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword)
           
 Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword, String ontologyURI)
          Search for the given keyword in the external ontology as OWL individual, OWL class or CMS object by appending a "*" character at the end of the keyword if there is not any
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyResourceSearch

public OntologyResourceSearch()
Method Detail

search

public Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword,
                                                                                                        String ontologyURI)
                                                                                                 throws org.apache.stanbol.contenthub.servicesapi.search.SearchException
Search for the given keyword in the external ontology as OWL individual, OWL class or CMS object by appending a "*" character at the end of the keyword if there is not any

Specified by:
search in interface org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch
Throws:
org.apache.stanbol.contenthub.servicesapi.search.SearchException

search

public Map<String,List<org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeyword>> search(String keyword)
                                                                                                 throws org.apache.stanbol.contenthub.servicesapi.search.SearchException
Specified by:
search in interface org.apache.stanbol.contenthub.servicesapi.search.related.RelatedKeywordSearch
Throws:
org.apache.stanbol.contenthub.servicesapi.search.SearchException


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.