Interface AsSearchConfigurationStrategy<P extends AbstractAsSearchProfileModel,C extends AbstractAsSearchConfigurationModel>
- All Known Implementing Classes:
AbstractAsSearchConfigurationStrategy,AsCategoryAwareSearchConfigurationStrategy,AsSimpleSearchConfigurationStrategy
public interface AsSearchConfigurationStrategy<P extends AbstractAsSearchProfileModel,C extends AbstractAsSearchConfigurationModel>
Strategy for performing operations on search configurations.
-
Method Summary
Modifier and TypeMethodDescriptiongetForContext(AsSearchProfileContext context, P searchProfile) Returns the search configuration for a specific context and search profile.getInfoForContext(AsSearchProfileContext context, P searchProfile) Returns search configuration related information for a specific context and search profile.getOrCreateForContext(AsSearchProfileContext context, P searchProfile) Returns the search configuration for a specific context and search profile.getQualifiers(P searchProfile) Gets the qualifiers for the search profile
-
Method Details
-
getForContext
Returns the search configuration for a specific context and search profile.- Parameters:
context- - the search profile contextsearchProfile- - the search profile- Returns:
- the search configuration
-
getOrCreateForContext
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 contextsearchProfile- - the search profile- Returns:
- the search configuration
-
getInfoForContext
Returns search configuration related information for a specific context and search profile.- Parameters:
context- - the search profile contextsearchProfile- - the search profile- Returns:
- the search configuration
-
getQualifiers
Gets the qualifiers for the search profile- Returns:
- qualifiers for the search profile
-