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

All Known Subinterfaces:
FacetRepository<D>, JpaFacetRepository<D>
All Known Implementing Classes:
JpaCustomizedFacetRepository

public interface CustomizedFacetRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
Since:
Search Service 2.1.4, Release Train 2.1.4, Search Service 2.2.0, Release Train 2.2.0
Author:
Dima Myroniuk (dmyroniuk)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasNonProductionRecordsByFieldIdsInTenant(Iterable<String> fieldDefinitionContextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Returns true if there is non-production JpaFacet that match the given fieldDefinitionContextIds and the given context.
  • Method Details

    • hasNonProductionRecordsByFieldIdsInTenant

      @Policy(operationTypes=READ) boolean hasNonProductionRecordsByFieldIdsInTenant(Iterable<String> fieldDefinitionContextIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Returns true if there is non-production JpaFacet that match the given fieldDefinitionContextIds and the given context.
      Parameters:
      fieldDefinitionContextIds - IDs of parent FieldDefinition to match against
      contextInfo - Request context information around sandbox and multitenant state
      Returns:
      true if there is non-production records that match the given fieldDefinitionContextIds and the given context, and false otherwise