public class ContentSearchable extends AbstractContentBasedSearchable
Searchable
for Content
sModifier and Type | Field and Description |
---|---|
private static String |
__CRITERION_DEFINITIONS_PREFIX_ID |
static String |
PARAMETER_CONTENT_TYPES
The additional parameter for content types
|
static String |
ROLE
Avalon Role
|
_associatedContentReturnable, _criteriaPosition, _label, _pageReturnable
_manager, _pluginName
Constructor and Description |
---|
ContentSearchable() |
Modifier and Type | Method and Description |
---|---|
protected String |
associatedContentReturnableRole()
The Avalon Role for the associated Content Returnable
|
protected Collection<String> |
getContentTypes(AdditionalParameterValueMap additionalParameterValues)
Gets the content types which will be used to retrieve the criteria relative to the Indexing Model
|
protected String |
getCriterionDefinitionPrefix()
Gets the prefix for criterion definitions
|
Optional<Query> |
joinQuery(Query queryOnCriterion,
Collection<Returnable> returnables,
AdditionalParameterValueMap additionalParameters)
Returns the query which joins the given one (on a criterion) with the given result types
|
configure, contextualize, criteriaPosition, dispose, getCriteria, getIndexingFieldCriterionDefinitionPrefix, getLabel, getSystemPropertyCriterionDefinitionPrefix, initialize, relationsWith, service
additionalServiceParameters, setPluginInfo
getLogger, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalServiceParameters
public static final String PARAMETER_CONTENT_TYPES
private static final String __CRITERION_DEFINITIONS_PREFIX_ID
public ContentSearchable()
protected String associatedContentReturnableRole()
AbstractContentBasedSearchable
associatedContentReturnableRole
in class AbstractContentBasedSearchable
protected String getCriterionDefinitionPrefix()
AbstractContentBasedSearchable
getCriterionDefinitionPrefix
in class AbstractContentBasedSearchable
protected Collection<String> getContentTypes(AdditionalParameterValueMap additionalParameterValues)
AbstractContentBasedSearchable
getContentTypes
in class AbstractContentBasedSearchable
additionalParameterValues
- The additional parameter valuespublic Optional<Query> joinQuery(Query queryOnCriterion, Collection<Returnable> returnables, AdditionalParameterValueMap additionalParameters)
Searchable
queryOnCriterion
- The query on the criterion to join fromreturnables
- The returnables to join toadditionalParameters
- The additional parameters