Interface AsSearchConfigurationStrategy<P extends AbstractAsSearchProfileModel,​C extends AbstractAsSearchConfigurationModel>

    • Method Detail

      • getForContext

        java.util.Optional<C> getForContext​(AsSearchProfileContext context,
                                            P searchProfile)
        Returns the search configuration for a specific context and search profile.
        Parameters:
        context - - the search profile context
        searchProfile - - the search profile
        Returns:
        the search configuration
      • getOrCreateForContext

        C getOrCreateForContext​(AsSearchProfileContext context,
                                P searchProfile)
        Returns the search configuration for a specific context and search profile. If the search configuration does not yet exist a new one is created.
        Parameters:
        context - - the search profile context
        searchProfile - - the search profile
        Returns:
        the search configuration
      • getInfoForContext

        AsSearchConfigurationInfoData getInfoForContext​(AsSearchProfileContext context,
                                                        P searchProfile)
        Returns search configuration related information for a specific context and search profile.
        Parameters:
        context - - the search profile context
        searchProfile - - the search profile
        Returns:
        the search configuration
      • getQualifiers

        java.util.Set<java.lang.String> getQualifiers​(P searchProfile)
        Gets the qualifiers for the search profile
        Returns:
        qualifiers for the search profile