public class CourseSearchable extends AbstractContentBasedSearchable
Searchable
for Course
sModifier 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
Returnable s. |
configure, contextualize, criteriaPosition, dispose, getCriteria, getIndexingFieldCriterionDefinitionPrefix, getLabel, getSystemPropertyCriterionDefinitionPrefix, initialize, service
additionalServiceParameters, setPluginInfo
getLogger, setLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalServiceParameters
private static final String __CRITERION_DEFINITIONS_PREFIX_ID
public CourseSearchable()
protected String associatedContentReturnableRole()
AbstractContentBasedSearchable
associatedContentReturnableRole
in class AbstractContentBasedSearchable
protected String getCriterionDefinitionPrefix()
AbstractContentBasedSearchable
getCriterionDefinitionPrefix
in class AbstractContentBasedSearchable
public Collection<Returnable> relationsWith()
Searchable
Returnable
s.
Returnable.relationsWith()
declares the relation, it is useless to declare it twice)relationsWith
in interface Searchable
relationsWith
in class AbstractContentBasedSearchable
Returnable
sprotected 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