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 TypeMethodDescriptionboolean
hasNonProductionRecordsByFieldIdsInTenant
(Iterable<String> fieldDefinitionContextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns true if there is non-productionJpaFacet
that match the givenfieldDefinitionContextIds
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-productionJpaFacet
that match the givenfieldDefinitionContextIds
and the given context.- Parameters:
fieldDefinitionContextIds
- IDs of parentFieldDefinition
to match againstcontextInfo
- 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
-