Package io.jmix.search.searching.impl
Class FullFieldNamesProvider
java.lang.Object
io.jmix.search.searching.impl.FullFieldNamesProvider
Class that encapsulates logic that substitutes an initial field name with the specific subfields.
Calculating such subfields depends on the field type and user permissions for the field.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldNamesForBaseField(MetaPropertyPath path, String fieldName) Returns the fields to be substituted for a given property path and field name.protected booleanisFileRefProperty(Range range) protected booleanisReferenceProperty(Range range)
-
Field Details
-
securityDecorator
-
-
Constructor Details
-
FullFieldNamesProvider
-
-
Method Details
-
getFieldNamesForBaseField
Returns the fields to be substituted for a given property path and field name. The substitution is based on the field's type and the user's permissions.- Parameters:
path-MetaPropertyPathrepresenting the relative path to the propertyfieldName- base name of the field to be evaluated- Returns:
- set of field names to be substituted based on the field type and user permissions
-
isFileRefProperty
-
isReferenceProperty
-