Interface CustomizedPriceListRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>

    • Method Detail

      • findAllByUserTargetsInAndCurrencyIn

        @NonNull
        List<D> findAllByUserTargetsInAndCurrencyIn​(@NonNull
                                                    Iterable<UserTarget> userTargets,
                                                    @NonNull
                                                    Iterable<javax.money.CurrencyUnit> currencies,
                                                    @Nullable
                                                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        The common use-case will be to find all persistent PriceLists whose PriceList.getUserTargets() intersect with the userTargets provided that match the passed in currencies.
      • findAllByCurrencyIn

        @NonNull
        List<D> findAllByCurrencyIn​(@NonNull
                                    List<javax.money.CurrencyUnit> currencies,
                                    @Nullable
                                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        The common use-case will be to find all persistent PriceLists that target a given currency or fallback currency.
      • findAllByContextIdIn

        @NonNull
        org.springframework.data.domain.Page<D> findAllByContextIdIn​(@NonNull
                                                                     Iterable<String> contextId,
                                                                     @Nullable
                                                                     org.springframework.data.domain.Pageable page,
                                                                     @Nullable
                                                                     com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)