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, setSubmitClassName
getDefaultValue, getDescription, getEnumerator, getId, getLabel, getPluginName, getValidator, getWidget, getWidgetParameters, setDefaultValue, setDescription, setEnumerator, setId, setLabel, setPluginName, setType, setValidator, setWidget, setWidgetParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultValue, getDescription, getLabel, getValidator, getWidget, getWidgetParameters
getId, getQuery, isFacetable, isFacetable, isSortable, isSortable
getEnumerator
protected ODFHelper _odfHelper
protected ShareableCourseHelper _shareableCourseHelper
public ShareableCourseSearchUICriteria()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractSearchUICriterion
ServiceException
public String getFieldId()
SearchUICriterion
public Query.Operator getOperator()
SearchCriterion
public MetadataType getType()
Parameter
getType
in interface Field
getType
in class Parameter<MetadataType>
public Query getQuery(Object value, Query.Operator customOperator, Map<String,Object> allValues, String language, Map<String,Object> contextualParameters)
SearchCriterion
Query
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