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

All Known Subinterfaces:
JpaOptionTemplateRepository<D>, OptionTemplateRepository<D>
All Known Implementing Classes:
JpaCustomizedOptionTemplateRepository

public interface CustomizedOptionTemplateRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
Advanced functionality related to OptionTemplate maintenance and filtering.
Since:
CatalogServices 2.1.5, CatalogServices 2.2.1
  • Method Summary

    Modifier and Type
    Method
    Description
    findAllByCategoryContextIdIn(Collection<String> categoryContextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Retrieves a list of option templates whose category context IDs match any of the given IDs.
  • Method Details

    • findAllByCategoryContextIdIn

      @Policy(operationTypes=READ) List<D> findAllByCategoryContextIdIn(Collection<String> categoryContextIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)

      Retrieves a list of option templates whose category context IDs match any of the given IDs.

      Note - this method was previously declared in OptionTemplateRepository directly, but was moved to this interface in CatalogServices 2.1.5/2.2.1 to allow for a custom implementation.

      Parameters:
      categoryContextIds - the category context IDs to query for
      contextInfo - the context to perform the operation in
      Returns:
      a list of option templates whose category context IDs match any of the given IDs
      Since:
      CatalogServices 2.1.5, CatalogServices 2.2.1