Class JpaCatalogQueryHelper
java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.repository.support.JpaCatalogQueryHelper
Convenience methods to help query for JPA catalog-related entities.
- Author:
- Sunny Yu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.persistence.criteria.Predicate
buildProductContextIdInFilter
(Collection<String> productContextIds, jakarta.persistence.criteria.Root<?> categoryProductEntity, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder, Map<String, Object> parameterValues) long
countNonProductionRecordsByProductIdsInTenant
(Class<?> managedType, @NonNull Iterable<String> productContextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
Constructor Details
-
JpaCatalogQueryHelper
public JpaCatalogQueryHelper()
-
-
Method Details
-
countNonProductionRecordsByProductIdsInTenant
-
buildProductContextIdInFilter
protected jakarta.persistence.criteria.Predicate buildProductContextIdInFilter(Collection<String> productContextIds, jakarta.persistence.criteria.Root<?> categoryProductEntity, jakarta.persistence.criteria.CriteriaBuilder criteriaBuilder, Map<String, Object> parameterValues)
-