Package org.ametys.cms.search.content
Class ContentValuesExtractorFactory.SearchModelContentValuesExtractor
java.lang.Object
org.ametys.cms.search.content.ContentValuesExtractorFactory.AbstractContentValuesExtractor
org.ametys.cms.search.content.ContentValuesExtractorFactory.SearchModelContentValuesExtractor
- All Implemented Interfaces:
ContentValuesExtractorFactory.ContentValuesExtractor
- Enclosing class:
- ContentValuesExtractorFactory
public class ContentValuesExtractorFactory.SearchModelContentValuesExtractor
extends ContentValuesExtractorFactory.AbstractContentValuesExtractor
A ContentValuesExtractor backed by a
SearchModel
.-
Constructor Summary
ConstructorDescriptionSearchModelContentValuesExtractor
(SearchModel searchModel) Build a ContentValuesExtractor referencing aSearchModel
. -
Method Summary
Modifier and TypeMethodDescriptionprotected ViewItemContainer
_getResultItems
(Collection<? extends Model> model, Map<String, Object> contextualParameters) Retrieves the view to use to extract valuesMethods inherited from class org.ametys.cms.search.content.ContentValuesExtractorFactory.AbstractContentValuesExtractor
getValues
-
Constructor Details
-
SearchModelContentValuesExtractor
Build a ContentValuesExtractor referencing aSearchModel
.- Parameters:
searchModel
- theSearchModel
.
-
-
Method Details
-
_getResultItems
protected ViewItemContainer _getResultItems(Collection<? extends Model> model, Map<String, Object> contextualParameters) Description copied from class:ContentValuesExtractorFactory.AbstractContentValuesExtractor
Retrieves the view to use to extract values- Specified by:
_getResultItems
in classContentValuesExtractorFactory.AbstractContentValuesExtractor
- Parameters:
model
- the modelcontextualParameters
- The search contextual parameters.- Returns:
- the
View
to use to extract values
-