Interface FilteringService
- All Known Implementing Classes:
DefaultFilteringService
public interface FilteringService
A filter service for all outbound item dto's collected by
StreamingChangesCollector.-
Method Summary
Modifier and TypeMethodDescriptionapplyFilters(@NotNull OutboundItemDTO dto, @NotNull IntegrationObjectModel io) Searches for an applicableSyncFilterfrom the syncFilterList and calls evaluate on the first applicable filter if any is found.
-
Method Details
-
applyFilters
Optional<OutboundItemDTO> applyFilters(@NotNull @NotNull OutboundItemDTO dto, @NotNull @NotNull IntegrationObjectModel io) Searches for an applicableSyncFilterfrom the syncFilterList and calls evaluate on the first applicable filter if any is found. Consumes the item change dto and returns optional empty if an applicableSyncFilterfilters it out when evaluating.- Parameters:
dto- - outbound item dtoio- - integration object- Returns:
- - outbound item dto that will be sent to the spring configuration channel for synchronization, or an empty optional
-