Class FilterMetadataTools
java.lang.Object
io.jmix.flowui.component.genericfilter.FilterMetadataTools
- Direct Known Subclasses:
- UiDataFilterMetadataTools
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final AccessManagerprotected final UiComponentPropertiesprotected final Metadataprotected final MetadataTools
- 
Constructor SummaryConstructorsConstructorDescriptionFilterMetadataTools(MetadataTools metadataTools, UiComponentProperties uiComponentProperties, AccessManager accessManager, Metadata metadata) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbelongToCrossDataStoreReference(MetaPropertyPath propertyPath, String query) protected MetaClassgetMainFromMetaClass(String query) protected List<MetaPropertyPath>getPropertyPaths(MetaClass filterMetaClass, String query, MetaClass currentMetaClass, int propertyHierarchyDepth, int currentDepth, String currentPropertyPath, Predicate<MetaPropertyPath> propertiesFilterPredicate) getPropertyPaths(MetaClass filterMetaClass, String query, Predicate<MetaPropertyPath> propertiesFilterPredicate) getPropertyPaths(GenericFilter filter) protected booleanisAggregateFunction(MetaPropertyPath propertyPath, String query) protected booleanisCrossDataStoreReference(MetaProperty metaProperty) protected booleanisCrossDataStoreReferenceAllowed(MetaPropertyPath propertyPath) protected booleanisKeyValueCrossDataStoreReferenceAllowed(MetaPropertyPath propertyPath, String query) protected booleanisKeyValueMetaClass(MetaPropertyPath propertyPath) protected booleanisKeyValueQueryAllowed(MetaPropertyPath propertyPath, String query) protected booleanisMetaPropertyPathAllowed(MetaPropertyPath propertyPath, String query) protected booleanisMetaPropertyPathAllowedJpaAware(MetaPropertyPath propertyPath, String query) 
- 
Field Details- 
metadataTools
- 
metadata
- 
componentProperties
- 
accessManager
 
- 
- 
Constructor Details- 
FilterMetadataToolspublic FilterMetadataTools(MetadataTools metadataTools, UiComponentProperties uiComponentProperties, AccessManager accessManager, Metadata metadata) 
 
- 
- 
Method Details- 
getPropertyPathspublic List<MetaPropertyPath> getPropertyPaths(MetaClass filterMetaClass, String query, @Nullable Predicate<MetaPropertyPath> propertiesFilterPredicate) 
- 
getPropertyPaths
- 
getPropertyPathsprotected List<MetaPropertyPath> getPropertyPaths(MetaClass filterMetaClass, String query, MetaClass currentMetaClass, int propertyHierarchyDepth, int currentDepth, String currentPropertyPath, @Nullable Predicate<MetaPropertyPath> propertiesFilterPredicate) 
- 
isMetaPropertyPathAllowed
- 
isMetaPropertyPathAllowedJpaAware
- 
isKeyValueQueryAllowed
- 
isCrossDataStoreReferenceAllowed
- 
isAggregateFunction
- 
isCrossDataStoreReference
- 
belongToCrossDataStoreReference
- 
isKeyValueCrossDataStoreReferenceAllowedprotected boolean isKeyValueCrossDataStoreReferenceAllowed(MetaPropertyPath propertyPath, String query) 
- 
getMainFromMetaClass
- 
isKeyValueMetaClass
 
-