public class HierarchyFetcher extends AbstractSearcher implements AbstractDBSearcher
This searcher does not perform any search in the database according to the search criteria, but it fetches all the parents models of the results found in the other searchers.
This searcher does not actually perform the search according to any search criteria, but just fetch the reference hierarchy for the passed models. So this searcher does not exist without other searchers. Also, the results get from this searcher does not need to intersect with the results from the other searchers.
_currentResults, _dbConnection, _errorModels, _isIndependent, _nextResultHandler, _previousResults
Constructor and Description |
---|
HierarchyFetcher()
Construct the HierarchyFetcher object.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
_isSearchCriteriaSet()
Checks whether the search criteria has been set in
this searcher instance.
|
protected void |
_search()
Handle the model results passed to this class.
|
_addErrorModel, _isFirstSearcher, _isIndependent, _isIntersectNeeded, _isLastSeacher, _pass, handleIntermediateResults, handleResults, isPassed, isSearchCancelled, noIntersect, passErrorModels, setConnection, setFirstSearcher, setLastSearcher, setNextResultHandler, setPreviousSeacher, wholeSearchDone
public HierarchyFetcher()
protected boolean _isSearchCriteriaSet()
_isSearchCriteriaSet
in class AbstractSearcher
protected void _search() throws DBExecutionException
_search
in class AbstractSearcher
DBExecutionException
- Thrown by the DBConnection when
unexpected problem happens during the execution of DB query tasks.