Interface CustomizedSegmentMemberRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
-
- All Known Subinterfaces:
JpaSegmentMemberRepository<D>
,SegmentMemberRepository<D>
- All Known Implementing Classes:
JpaCustomizedSegmentMemberRepository
public interface CustomizedSegmentMemberRepository<D extends com.broadleafcommerce.data.tracking.core.Trackable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<D>
readAllBySegmentId(String segmentId, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Reads the segment members for the specified customer segment id matching the given filters.D
save(D entity, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Iterable<D>
saveAll(Iterable<D> entities, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
-
-
Method Detail
-
save
@Policy(operationTypes={UPDATE,DELETE,CREATE}, param=0) @NonNull D save(@NonNull D entity, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
saveAll
@Policy(operationTypes={UPDATE,DELETE,CREATE}, param=0) @NonNull Iterable<D> saveAll(@NonNull Iterable<D> entities, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
readAllBySegmentId
@Policy(operationTypes=READ) Stream<D> readAllBySegmentId(String segmentId, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Reads the segment members for the specified customer segment id matching the given filters.- Parameters:
segmentId
- theCustomerSegment
idfilters
- additional filters to apply in the querycontextInfo
- Request context information around sandbox and multitenant state- Returns:
- the segment members for the specified customer segment id matching the given filters
-
-