public interface SearchResultProcessor
SearchResult
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.Object> |
loadEntityInstances(SearchResult searchResult)
Loads all entity instances based on provided
SearchResult . |
java.util.Collection<java.lang.Object> |
loadEntityInstances(SearchResult searchResult,
java.util.Map<java.lang.String,io.jmix.core.FetchPlan> fetchPlans)
Loads all entity instances based on provided
SearchResult and fetch plans. |
java.util.Collection<java.lang.Object> loadEntityInstances(SearchResult searchResult)
SearchResult
.
Instances will be loaded using LOCAL fetch plan.searchResult
- SearchResult
java.util.Collection<java.lang.Object> loadEntityInstances(SearchResult searchResult, java.util.Map<java.lang.String,io.jmix.core.FetchPlan> fetchPlans)
SearchResult
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 plansearchResult
- SearchResult
fetchPlans
- Map: Entity name - FetchPlan