Interface SearchResultProcessor

All Known Implementing Classes:
SearchResultProcessorImpl

public interface SearchResultProcessor
Provides additional functionality to work with SearchResult
  • Method Details

    • loadEntityInstances

      Collection<Object> loadEntityInstances(SearchResult searchResult)
      Loads all entity instances based on provided SearchResult. Instances will be loaded using LOCAL fetch plan.
      Parameters:
      searchResult - SearchResult
      Returns:
      collection of entity instances
    • loadEntityInstances

      Collection<Object> loadEntityInstances(SearchResult searchResult, Map<String,FetchPlan> fetchPlans)
      Loads all entity instances based on provided 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 plan
      Parameters:
      searchResult - SearchResult
      fetchPlans - Map: Entity name - FetchPlan
      Returns:
      collection of entity instances