public class CourseSearchable extends AbstractContentBasedSearchable
Searchable for Courses| Modifier and Type | Field and Description |
|---|---|
private static String |
__CRITERION_DEFINITIONS_PREFIX_ID |
static String |
ROLE
Avalon Role
|
_associatedContentReturnable, _criteriaPosition, _label, _pageReturnable_manager, _pluginName| Constructor and Description |
|---|
CourseSearchable() |
| 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
|
Collection<Returnable> |
relationsWith()
Retrieves the relations the type must have with some
Returnables. |
configure, contextualize, criteriaPosition, dispose, getCriteria, getIndexingFieldCriterionDefinitionPrefix, getLabel, getSystemPropertyCriterionDefinitionPrefix, initialize, serviceadditionalServiceParameters, setPluginInfogetLogger, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadditionalServiceParametersprivate static final String __CRITERION_DEFINITIONS_PREFIX_ID
public CourseSearchable()
protected String associatedContentReturnableRole()
AbstractContentBasedSearchableassociatedContentReturnableRole in class AbstractContentBasedSearchableprotected String getCriterionDefinitionPrefix()
AbstractContentBasedSearchablegetCriterionDefinitionPrefix in class AbstractContentBasedSearchablepublic Collection<Returnable> relationsWith()
SearchableReturnables.
Returnable.relationsWith() declares the relation, it is useless to declare it twice)relationsWith in interface SearchablerelationsWith in class AbstractContentBasedSearchableReturnablesprotected Collection<String> getContentTypes(AdditionalParameterValueMap additionalParameterValues)
AbstractContentBasedSearchablegetContentTypes in class AbstractContentBasedSearchableadditionalParameterValues - The additional parameter valuespublic Optional<Query> joinQuery(Query queryOnCriterion, Collection<Returnable> returnables, AdditionalParameterValueMap additionalParameters)
SearchablequeryOnCriterion - The query on the criterion to join fromreturnables - The returnables to join toadditionalParameters - The additional parameters