Interface AsSearchProfileResultFactory
- All Known Implementing Classes:
DefaultAsSearchProfileResultFactory
public interface AsSearchProfileResultFactory
Provides methods for creating search profile result related objects.
-
Method Summary
Modifier and TypeMethodDescription<T,R> AsConfigurationHolder<T, R> cloneConfigurationHolder(AsConfigurationHolder<T, R> configurationHolder) Clones an instance ofAsConfigurationHolder.<T,R> AsConfigurationHolder<T, R> createConfigurationHolder(T configuration) Creates a new instance ofAsConfigurationHolder.<T,R> AsConfigurationHolder<T, R> createConfigurationHolder(T configuration, Object data) Creates a new instance ofAsConfigurationHolder.Creates a new instance ofAsSearchProfileResult.createResultFromSearchConfiguration(AsConfigurableSearchConfiguration searchConfiguration) Creates a new instance ofAsSearchProfileResultfromAbstractAsConfigurableSearchConfigurationModel.
-
Method Details
-
createResult
AsSearchProfileResult createResult()Creates a new instance ofAsSearchProfileResult.- Returns:
- the new instance
-
createResultFromSearchConfiguration
AsSearchProfileResult createResultFromSearchConfiguration(AsConfigurableSearchConfiguration searchConfiguration) Creates a new instance ofAsSearchProfileResultfromAbstractAsConfigurableSearchConfigurationModel.- Parameters:
searchConfiguration- - the search configuration- Returns:
- the new instance
-
createConfigurationHolder
Creates a new instance ofAsConfigurationHolder.- Type Parameters:
T- - the type of the configurationR- - the type of the replaced configuration- Parameters:
configuration- - the configuration- Returns:
- the new instance
-
createConfigurationHolder
Creates a new instance ofAsConfigurationHolder.- Type Parameters:
T- - the type of the configurationR- - the type of the replaced configuration- Parameters:
configuration- - the configurationdata- - additional data to be stored together with the configuration holder- Returns:
- the new instance
-
cloneConfigurationHolder
<T,R> AsConfigurationHolder<T,R> cloneConfigurationHolder(AsConfigurationHolder<T, R> configurationHolder) Clones an instance ofAsConfigurationHolder.- Type Parameters:
T- - the type of the configurationR- - the type of the replaced configuration- Parameters:
configurationHolder- - the instance ofAsConfigurationHolderto clone- Returns:
- the new instance
-