Package org.dbunit.util.search
Interface ISearchCallback
- All Known Implementing Classes:
AbstractExcludeNodesSearchCallback,AbstractIncludeNodesSearchCallback,AbstractMetaDataBasedSearchCallback,AbstractNodesFilterSearchCallback,ExportedKeysSearchCallback,ImportedAndExportedKeysSearchCallback,ImportedAndExportedKeysSearchCallbackFilteredByPKs,ImportedKeysSearchCallback,ImportedKeysSearchCallbackFilteredByPKs
public interface ISearchCallback
Callback used by the search algorithms.
This interface is responsible for providing the edges of the graph and it can be notified of some events generated by the search.
This interface is responsible for providing the edges of the graph and it can be notified of some events generated by the search.
- Since:
- Aug 25, 2005
- Version:
- $Revision$
- Author:
- Felipe Leme (dbunit@felipeal.net)
-
Method Summary
-
Method Details
-
getEdges
Get the edges originating from a node.- Parameters:
fromNode- node from- Returns:
- all edges originating from this node.
- Throws:
Exception- exception wrapperSearchException
-
nodeAdded
Notifies the callback that a node has been added to the search result.- Parameters:
fromNode- node that has been added.- Throws:
Exception- exception wrapperSearchException
-
searchNode
Decides if a node should be searched or not- Parameters:
node- node to be filtered- Returns:
- true if the node should be searched
- Throws:
Exception- exception wrapperSearchException
-