java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.repository.support.JpaCatalogQueryHelper

public class JpaCatalogQueryHelper extends Object
Convenience methods to help query for JPA catalog-related entities.
Author:
Sunny Yu
  • Constructor Details

    • JpaCatalogQueryHelper

      public JpaCatalogQueryHelper()
  • Method Details

    • countNonProductionRecordsByProductIdsInTenant

      public long countNonProductionRecordsByProductIdsInTenant(Class<?> managedType, @NonNull @NonNull Iterable<String> productContextIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • buildProductContextIdInFilter

      protected jakarta.persistence.criteria.Predicate buildProductContextIdInFilter(Collection<String> productContextIds, jakarta.persistence.criteria.Root<?> categoryProductEntity, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder, Map<String,Object> parameterValues)