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:
RelatedKeywordSearch

@Service
public class OntologyResourceSearch
extends java.lang.Object
implements RelatedKeywordSearch

Author:
cihan

Constructor Summary
OntologyResourceSearch()
           
 
Method Summary
 java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword)
           
 java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword, java.lang.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 java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword,
                                                                             java.lang.String ontologyURI)
                                                                      throws 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 RelatedKeywordSearch
Throws:
SearchException

search

public java.util.Map<java.lang.String,java.util.List<RelatedKeyword>> search(java.lang.String keyword)
                                                                      throws SearchException
Specified by:
search in interface RelatedKeywordSearch
Throws:
SearchException


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