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
ConstructorsConstructorDescriptionSearchModelContentValuesExtractor(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.AbstractContentValuesExtractorRetrieves the view to use to extract values- Specified by:
_getResultItemsin classContentValuesExtractorFactory.AbstractContentValuesExtractor- Parameters:
model- the modelcontextualParameters- The search contextual parameters.- Returns:
- the
Viewto use to extract values
-