Class DynamicCalculatedAttributeFetchPlanSupport

java.lang.Object
io.jmix.dynmodel.impl.DynamicCalculatedAttributeFetchPlanSupport

@Component("dynmod_DynamicCalculatedAttributeFetchPlanSupport") public class DynamicCalculatedAttributeFetchPlanSupport extends Object
Expands fetch plans with dependencies required by included calculated dynamic attributes.
  • Field Details

  • Constructor Details

    • DynamicCalculatedAttributeFetchPlanSupport

      public DynamicCalculatedAttributeFetchPlanSupport()
  • Method Details

    • expand

      public FetchPlan expand(MetaClass metaClass, FetchPlan fetchPlan)
      Adds direct dependsOn properties for each calculated attribute included in the fetch plan.
      Parameters:
      metaClass - fetch plan owner metadata class
      fetchPlan - original fetch plan
      Returns:
      original fetch plan if no expansion is needed, otherwise an expanded copy