Interface SnSearchProviderFactory
-
- All Known Implementing Classes:
DefaultSnSearchProviderFactory
public interface SnSearchProviderFactoryImplementations of this interface are responsible for getting the applicable instance ofSnSearchProvider.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnSearchProvidergetSearchProviderForContext(SnContext context)Returns theSnSearchProviderinstance for the given context.SnSearchProviderMappinggetSearchProviderMappingForConfiguration(AbstractSnSearchProviderConfiguration configuration)Returns theSnSearchProviderMappinginstance for the given configuration.SnSearchProviderMappinggetSearchProviderMappingForConfigurationModel(AbstractSnSearchProviderConfigurationModel configurationModel)Returns theSnSearchProviderMappinginstance for the given configuration model.
-
-
-
Method Detail
-
getSearchProviderForContext
SnSearchProvider getSearchProviderForContext(SnContext context)
Returns theSnSearchProviderinstance for the given context.- Parameters:
context- - the context- Returns:
SnSearchProviderinstance
-
getSearchProviderMappingForConfigurationModel
SnSearchProviderMapping getSearchProviderMappingForConfigurationModel(AbstractSnSearchProviderConfigurationModel configurationModel)
Returns theSnSearchProviderMappinginstance for the given configuration model.- Parameters:
configurationModel- - the configuration model- Returns:
- SnSearchProviderMapping the mapping
-
getSearchProviderMappingForConfiguration
SnSearchProviderMapping getSearchProviderMappingForConfiguration(AbstractSnSearchProviderConfiguration configuration)
Returns theSnSearchProviderMappinginstance for the given configuration.- Parameters:
configuration- - the configuration- Returns:
- SnSearchProviderMapping the mapping
-
-