Package io.jmix.search.searching
Interface SearchResultProcessor
- All Known Implementing Classes:
SearchResultProcessorImpl
public interface SearchResultProcessor
Provides additional functionality to work with
SearchResult
-
Method Summary
Modifier and TypeMethodDescriptionloadEntityInstances
(SearchResult searchResult) Loads all entity instances based on providedSearchResult
.loadEntityInstances
(SearchResult searchResult, Map<String, FetchPlan> fetchPlans) Loads all entity instances based on providedSearchResult
and fetch plans.
-
Method Details
-
loadEntityInstances
Loads all entity instances based on providedSearchResult
. Instances will be loaded using LOCAL fetch plan.- Parameters:
searchResult
-SearchResult
- Returns:
- collection of entity instances
-
loadEntityInstances
Loads all entity instances based on providedSearchResult
and fetch plans. Fetch plans can be provided for any entity. Instances of entities that don't have provided fetch plans will be loaded using BASE fetch plan- Parameters:
searchResult
-SearchResult
fetchPlans
- Map: Entity name -FetchPlan
- Returns:
- collection of entity instances
-