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

All Known Subinterfaces:
JpaPromotionalCategoryProductRepository<D>, PromotionalCategoryProductRepository<D>
All Known Implementing Classes:
JpaCustomizedPromotionalCategoryProductRepository

public interface CustomizedPromotionalCategoryProductRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
Advanced functionality related to PromotionalCategoryProduct maintenance and filtering.
Author:
Samarth Dhruva (samarthd)
  • Method Summary

    Modifier and Type
    Method
    Description
    findByCategoryContextId(String categoryContextId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Finds all of the PromotionalCategoryProduct relationships in the database associated with the given category context ID.
  • Method Details

    • findByCategoryContextId

      @Policy(operationTypes=READ) @NonNull Stream<D> findByCategoryContextId(@NonNull String categoryContextId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Finds all of the PromotionalCategoryProduct relationships in the database associated with the given category context ID.
      Parameters:
      categoryContextId - the category context ID to find the relationships for
      contextInfo - context surrounding sandboxing and multitenant state
      Returns:
      the PromotionalCategoryProduct relationships in the database that match the given category context ID