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, supportsPrefix
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSearchProviderNamespace
public boolean contributesTo(String namespace)
SearchProvider
public boolean supportsPrefix(String searchPrefix)
SearchProvider
public abstract List<? extends VertexRef> queryVertices(SearchQuery searchQuery, GraphContainer container)
public List<SearchResult> query(SearchQuery searchQuery, GraphContainer container)
SearchProvider
searchQuery
- This is an API for Vaadin UI code for implementing various search queries types.public Set<VertexRef> getVertexRefsBy(SearchResult searchResult, GraphContainer container)
SearchProvider
public void addVertexHopCriteria(SearchResult searchResult, GraphContainer container)
SearchProvider
public void removeVertexHopCriteria(SearchResult searchResult, GraphContainer container)
SearchProvider
Copyright © 2021. All rights reserved.