public abstract class SimpleSearchProvider extends AbstractSearchProvider
| Constructor and Description | 
|---|
SimpleSearchProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addVertexHopCriteria(SearchResult searchResult,
                    GraphContainer container)
This method is called when the selection is made from the list of  
 | 
boolean | 
contributesTo(String namespace)
This is the topology provider namespace to which this search provider contributes. 
 | 
Set<VertexRef> | 
getVertexRefsBy(SearchResult searchResult,
               GraphContainer container)
This method is called when the topology UI needs to know what  
 | 
List<SearchResult> | 
query(SearchQuery searchQuery,
     GraphContainer container)
This API is for getting a list of  
 | 
abstract List<? extends VertexRef> | 
queryVertices(SearchQuery searchQuery,
             GraphContainer container)  | 
void | 
removeVertexHopCriteria(SearchResult searchResult,
                       GraphContainer container)
When the user requests that the current SearchResult be removed from focus, the search provider should remove the  
 | 
boolean | 
supportsPrefix(String searchPrefix)
This method is called by topology app the user is searching to setup prefixes that will only match from 
 a  
 | 
onCenterSearchResult, onDefocusSearchResult, onFocusSearchResult, onToggleCollapse, supportsPrefixclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSearchProviderNamespacepublic boolean contributesTo(String namespace)
SearchProviderpublic boolean supportsPrefix(String searchPrefix)
SearchProviderpublic abstract List<? extends VertexRef> queryVertices(SearchQuery searchQuery, GraphContainer container)
public List<SearchResult> query(SearchQuery searchQuery, GraphContainer container)
SearchProvidersearchQuery - This is an API for Vaadin UI code for implementing various search queries types.public Set<VertexRef> getVertexRefsBy(SearchResult searchResult, GraphContainer container)
SearchProviderpublic void addVertexHopCriteria(SearchResult searchResult, GraphContainer container)
SearchProviderpublic void removeVertexHopCriteria(SearchResult searchResult, GraphContainer container)
SearchProviderCopyright © 2020. All rights reserved.