Interface AsSearchProfileLoadStrategy<T extends AbstractAsSearchProfileModel,​R extends AbstractAsSearchProfile>

    • Method Detail

      • load

        R load​(AsSearchProfileContext context,
               T searchProfile)
        Loads the search profile model and converts it to some data object. The returned value can be cached.
        Parameters:
        context - - the search profile context
        searchProfile - - the search profile model
        Returns:
        the search profile data
      • map

        default R map​(AsSearchProfileContext context,
                      R searchProfile)
        Allows additional processing on the search profile data. This method should not modify the given search profile data. The returned value should not be cached.
        Parameters:
        context - - the search profile context
        searchProfile - - the search profile data
        Returns:
        the new search profile data