Package org.ametys.cms.search.model
Class IndexationAwareElementDefinitionHelper
java.lang.Object
org.ametys.cms.search.model.IndexationAwareElementDefinitionHelper
- All Implemented Interfaces:
Component
,Contextualizable
public class IndexationAwareElementDefinitionHelper
extends Object
implements Component, Contextualizable
Helper for indexation aware element definitions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) Retrieves the default name of the definition's solr sort field
-
Field Details
-
ROLE
The component role.
-
-
Constructor Details
-
IndexationAwareElementDefinitionHelper
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
getDefaultSolrSortFieldName
Retrieves the default name of the definition's solr sort field- Parameters:
definition
- the definition- Returns:
- the name of the definition's solr sort field
-