Class FullFieldNamesProvider

java.lang.Object
io.jmix.search.searching.impl.FullFieldNamesProvider

@Component("search_FullFieldNamesProvider") public class FullFieldNamesProvider extends Object
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 Details

  • Constructor Details

  • Method Details

    • getFieldNamesForBaseField

      public Set<String> getFieldNamesForBaseField(MetaPropertyPath path, String fieldName)
      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 - MetaPropertyPath representing the relative path to the property
      fieldName - 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

      protected boolean isFileRefProperty(Range range)
    • isReferenceProperty

      protected boolean isReferenceProperty(Range range)