Interface AsSearchProfileCalculationService

    • Method Detail

      • createConfigurationHolder

        <T,​R> AsConfigurationHolder<T,​R> createConfigurationHolder​(AsSearchProfileContext context,
                                                                               T configuration)
        Creates a new instance of AsConfigurationHolder.
        Type Parameters:
        T - - the type of the configuration
        R - - the type of the replaced configuration
        Parameters:
        context - - the search profile context
        configuration - - the configuration
        Returns:
        the new instance
        Since:
        6.6
      • createConfigurationHolder

        <T,​R> AsConfigurationHolder<T,​R> createConfigurationHolder​(AsSearchProfileContext context,
                                                                               T configuration,
                                                                               java.lang.Object data)
        Creates a new instance of AsConfigurationHolder.
        Type Parameters:
        T - - the type of the configuration
        R - - the type of the replaced configuration
        Parameters:
        context - - the search profile context
        configuration - - the configuration
        data - - additional data to be stored together with the configuration holder
        Returns:
        the new instance
        Since:
        6.6
      • calculateGroups

        AsSearchProfileResult calculateGroups​(AsSearchProfileContext context,
                                              java.util.List<AsSearchProfileActivationGroup> groups)
        Calculates a search profile result based on an exiting result and a list of search profiles.
        Parameters:
        context - - the search profile context
        groups - - the search profile groups
        Returns:
        the search profile result
        Since:
        6.6