Package io.jmix.searchui.component
Interface FullTextFilter
- All Superinterfaces:
Component,Component.BelongToFrame,Component.Editable,Component.Focusable,Component.HasCaption,Component.HasDescription,Component.HasIcon,FilterComponent,HasContextHelp,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,HasValue<String>,Requirable,SingleFilterComponent<String>,SupportsCaptionPosition,Validatable
- All Known Implementing Classes:
FullTextFilterImpl
@StudioComponent(caption="FullTextFilter",
category="Search",
xmlElement="fullTextFilter",
xmlns="http://jmix.io/schema/search/ui",
xmlnsAlias="search",
canvasBehaviour=FULL_TEXT_FILTER,
documentationURL="https://docs.jmix.io/jmix/%VERSION%/search/search-in-ui.html#full-text-filter",
unsupportedProperties="captionVisible")
public interface FullTextFilter
extends SingleFilterComponent<String>
FullTextFilter is a UI component used for filtering entities returned by the
DataLoader by
joining JPQL query results with the data returned from Elasticsearch. The component renders a TextField for entering full-text search criteria.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEventNested classes/interfaces inherited from interface io.jmix.ui.component.HasValue
HasValue.ValueChangeEvent<V>Nested classes/interfaces inherited from interface io.jmix.ui.component.SupportsCaptionPosition
SupportsCaptionPosition.CaptionPosition -
Field Summary
FieldsFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Method Summary
Modifier and TypeMethodDescriptionReturns aSearchStrategythat will be used for searching using this component.voidsetSearchStrategy(SearchStrategy searchStrategy) Methods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.Editable
isEditable, isEditableWithParent, setEditableMethods inherited from interface io.jmix.ui.component.Component.Focusable
focus, getTabIndex, isFocusable, setFocusable, setTabIndexMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.ui.component.FilterComponent
apply, getDataLoader, getQueryCondition, isAutoApply, isConditionModificationDelegated, setAutoApply, setConditionModificationDelegated, setDataLoaderMethods inherited from interface io.jmix.ui.component.HasContextHelp
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledMethods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabledMethods inherited from interface io.jmix.ui.component.HasValue
addValueChangeListener, clear, getEmptyValue, getValue, isEmpty, setValueMethods inherited from interface io.jmix.ui.component.Requirable
getRequiredMessage, isRequired, setRequired, setRequiredMessageMethods inherited from interface io.jmix.ui.component.SingleFilterComponent
getCaptionWidth, getCaptionWidthSizeUnit, getParameterName, getValueComponent, isCaptionVisible, setCaptionVisible, setCaptionWidth, setParameterName, setValueComponentMethods inherited from interface io.jmix.ui.component.SupportsCaptionPosition
getCaptionPosition, setCaptionPositionMethods inherited from interface io.jmix.ui.component.Validatable
isValid, isValidateOnCommit, validate
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getSearchStrategy
Returns aSearchStrategythat will be used for searching using this component. If no explicit strategy is set to the full-text filter then a default strategy will be used.- Returns:
- a
SearchStrategyor null if the strategy is not explicitly set - See Also:
-
setSearchStrategy
@StudioProperty(name="strategy", type=STRING, defaultValue="anyTermAnyField", options={"anyTermAnyField","allTermsAnyField","allTermsSingleField","phrase"}) void setSearchStrategy(@Nullable SearchStrategy searchStrategy)
-