public interface LogicalFilterComponent extends FilterComponent
DataLoader
. The component is related to LogicalCondition
which
will be used together with query when loading entities into the DataLoader
.Modifier and Type | Interface and Description |
---|---|
static class |
LogicalFilterComponent.Operation
Operation representing corresponding logical filtering condition.
|
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Modifier and Type | Method and Description |
---|---|
void |
add(FilterComponent filterComponent)
Adds a
FilterComponent to the component. |
java.util.List<FilterComponent> |
getFilterComponents() |
LogicalFilterComponent.Operation |
getOperation() |
java.util.List<FilterComponent> |
getOwnFilterComponents() |
io.jmix.core.querycondition.LogicalCondition |
getQueryCondition() |
boolean |
isOperationCaptionVisible() |
void |
remove(FilterComponent filterComponent)
Removes a
FilterComponent from the component. |
void |
removeAll()
Removes all filter components from the component.
|
void |
setOperation(LogicalFilterComponent.Operation operation)
Sets a filtering operation.
|
void |
setOperationCaptionVisible(boolean operationCaptionVisible)
Sets whether to show operation caption.
|
apply, getDataLoader, isAutoApply, isConditionModificationDelegated, setAutoApply, setConditionModificationDelegated, setDataLoader
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, withUnwrappedComposition
io.jmix.core.querycondition.LogicalCondition getQueryCondition()
getQueryCondition
in interface FilterComponent
LogicalCondition
related to the current componentvoid add(FilterComponent filterComponent)
FilterComponent
to the component. Updates the current LogicalCondition
by adding a Condition
from the FilterComponent
.filterComponent
- a FilterComponent
to addFilterComponent.getQueryCondition()
void remove(FilterComponent filterComponent)
FilterComponent
from the component. Updates the current LogicalCondition
.filterComponent
- a FilterComponent
to removevoid removeAll()
LogicalCondition
.java.util.List<FilterComponent> getOwnFilterComponents()
java.util.List<FilterComponent> getFilterComponents()
LogicalFilterComponent.Operation getOperation()
void setOperation(LogicalFilterComponent.Operation operation)
operation
- a filtering operationboolean isOperationCaptionVisible()
void setOperationCaptionVisible(boolean operationCaptionVisible)
operationCaptionVisible
- whether to show operation caption