Class DataLoadersHelper

java.lang.Object
io.jmix.ui.model.impl.DataLoadersHelper

public class DataLoadersHelper extends Object
Utility class working with data loaders.
  • Field Details

    • PARAM_PATTERN

      public static final Pattern PARAM_PATTERN
  • Constructor Details

    • DataLoadersHelper

      public DataLoadersHelper()
  • Method Details

    • getMasterDataLoader

      @Nullable public static DataLoader getMasterDataLoader(Nested nestedContainer)
      Returns the loader of master entity instance.
      Parameters:
      nestedContainer - nested container to start from
      Returns:
      the loader of master entity instance
    • getQueryParameters

      public static List<String> getQueryParameters(DataLoader loader)
      Extracts parameter names from the loader query text.
    • areAllParametersSet

      public static boolean areAllParametersSet(DataLoader loader)
      Returns true if all query parameters found by getQueryParameters(DataLoader) have values (null is considered as a value too).