Interface CustomizedDataDrivenEnumRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
- All Known Subinterfaces:
DataDrivenEnumRepository<D>,JpaDataDrivenEnumRepository<D>
- All Known Implementing Classes:
JpaCustomizedDataDrivenEnumRepository
public interface CustomizedDataDrivenEnumRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
Additional functionality for a
DataDrivenEnumRepository.- Author:
- Sunny Yu
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByContextIdIn(Collection<String> contextIds, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves all data driven enums whose context IDs match any of the given IDs.
-
Method Details
-
findAllByContextIdIn
@Policy(operationTypes=READ) Stream<D> findAllByContextIdIn(@NonNull Collection<String> contextIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves all data driven enums whose context IDs match any of the given IDs.- Parameters:
contextIds- the context IDs to query forcontextInfo- context information around sandbox and multitenant state- Returns:
- all data driven enums whose context IDs match any of the given IDs
-