Class LoaderHelper

java.lang.Object
io.jmix.core.impl.repository.query.utils.LoaderHelper

public class LoaderHelper extends Object
Utility class contains common methods to apply Spring Data repositories special query parameters on FluentLoader.
  • Constructor Details

    • LoaderHelper

      public LoaderHelper()
  • Method Details

    • applyPageableForConditionLoader

      public static <T> FluentLoader.ByCondition<T> applyPageableForConditionLoader(FluentLoader.ByCondition<T> loader, org.springframework.data.domain.Pageable pageable)
    • applyPageableForQueryLoader

      public static <T> FluentLoader.ByQuery<T> applyPageableForQueryLoader(FluentLoader.ByQuery<T> loader, org.springframework.data.domain.Pageable pageable)
    • springToJmixSort

      public static Sort springToJmixSort(@Nullable org.springframework.data.domain.Sort sort)