public class ShareableCourseSearchUICriteria extends AbstractCustomSearchUICriterion
| Modifier and Type | Field and Description |
|---|---|
protected ODFHelper |
_odfHelper
The ODF helper
|
protected ShareableCourseHelper |
_shareableCourseHelper
The shareable course helper
|
_contentHelper, _cTypeEP, _resolver, _userManager, _userPopulationDAO| Constructor and Description |
|---|
ShareableCourseSearchUICriteria() |
| Modifier and Type | Method and Description |
|---|---|
protected Query |
_getFieldQuery(Set<String> values,
String metadataName)
Get query for the shareable course field.
|
String |
getFieldId()
Get the field identifier.
|
Query.Operator |
getOperator()
Get the criterion Operator.
|
Query |
getQuery(Object value,
Query.Operator customOperator,
Map<String,Object> allValues,
String language,
Map<String,Object> contextualParameters)
Get the
Query associated to the given value. |
MetadataType |
getType()
Retrieves the type.
|
void |
service(ServiceManager manager) |
configureId_configureI18nizableText, _initializeValidator, configure, configureLabelsAndGroup, configureUIProperties, configureValues, configureWidget, configureWidgetParameters, getChangeClassName, getContentTypeId, getFacetLabel, getGroup, getInitClassName, getMetadataDefinition, getSearchField, getSubmitClassName, isHidden, isMultiple, setChangeClassName, setContentTypeId, setGroup, setHidden, setInitClassName, setMultiple, setSubmitClassNamegetDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultValue, getDescription, getLabel, getValidator, getWidget, getWidgetParametersgetId, getQuery, isFacetable, isFacetable, isSortable, isSortablegetEnumeratorprotected ODFHelper _odfHelper
protected ShareableCourseHelper _shareableCourseHelper
public ShareableCourseSearchUICriteria()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSearchUICriterionServiceExceptionpublic String getFieldId()
SearchUICriterionpublic Query.Operator getOperator()
SearchCriterionpublic MetadataType getType()
ParametergetType in interface FieldgetType in class Parameter<MetadataType>public Query getQuery(Object value, Query.Operator customOperator, Map<String,Object> allValues, String language, Map<String,Object> contextualParameters)
SearchCriterionQuery associated to the given value.value - The user-submitted value (or the default value if not set) for this criterion.customOperator - In advanced search mode, the operator chosen by the user. null to use the criterion-defined operator (simple search mode).allValues - All the user-submitted values.language - The current search language.contextualParameters - the search contextual parameters.Query associated to the given value.protected Query _getFieldQuery(Set<String> values, String metadataName)
values - the valuesmetadataName - the metadata name of the field