Class FilterMetadataTools
java.lang.Object
io.jmix.flowui.component.genericfilter.FilterMetadataTools
- Direct Known Subclasses:
UiDataFilterMetadataTools
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AccessManager
protected final UiComponentProperties
protected final Metadata
protected final MetadataTools
-
Constructor Summary
ConstructorDescriptionFilterMetadataTools
(MetadataTools metadataTools, UiComponentProperties uiComponentProperties, AccessManager accessManager, Metadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<MetaPropertyPath>
getPropertyPaths
(MetaClass filterMetaClass, String query, MetaClass currentMetaClass, int currentDepth, String currentPropertyPath, Predicate<MetaPropertyPath> propertiesFilterPredicate) getPropertyPaths
(MetaClass filterMetaClass, String query, Predicate<MetaPropertyPath> propertiesFilterPredicate) protected boolean
isAggregateFunction
(MetaPropertyPath propertyPath, String query) protected boolean
isCrossDataStoreReference
(MetaProperty metaProperty) protected boolean
isKeyValueCrossDataStoreReferenceAllowed
(MetaPropertyPath propertyPath, String query) protected boolean
isMetaPropertyPathAllowed
(MetaPropertyPath propertyPath, String query)
-
Field Details
-
metadataTools
-
metadata
-
componentProperties
-
accessManager
-
-
Constructor Details
-
FilterMetadataTools
public FilterMetadataTools(MetadataTools metadataTools, UiComponentProperties uiComponentProperties, AccessManager accessManager, Metadata metadata)
-
-
Method Details
-
getPropertyPaths
public List<MetaPropertyPath> getPropertyPaths(MetaClass filterMetaClass, String query, @Nullable Predicate<MetaPropertyPath> propertiesFilterPredicate) -
getPropertyPaths
protected List<MetaPropertyPath> getPropertyPaths(MetaClass filterMetaClass, String query, MetaClass currentMetaClass, int currentDepth, String currentPropertyPath, @Nullable Predicate<MetaPropertyPath> propertiesFilterPredicate) -
isMetaPropertyPathAllowed
-
isAggregateFunction
-
isCrossDataStoreReference
-
isKeyValueCrossDataStoreReferenceAllowed
protected boolean isKeyValueCrossDataStoreReferenceAllowed(MetaPropertyPath propertyPath, String query)
-