Class DeleteSyncFilter

java.lang.Object
de.hybris.platform.outboundsync.job.impl.DeleteSyncFilter
All Implemented Interfaces:
SyncFilter

public class DeleteSyncFilter extends Object implements SyncFilter
A filter for changes collected by StreamingChangesCollector, that passes the change through, if the changed item type and type of the root item, it relates to, belong to the integration object. Otherwise the change is filtered out.
  • Constructor Details

    • DeleteSyncFilter

      public DeleteSyncFilter()
  • Method Details

    • isApplicable

      public boolean isApplicable(OutboundItemDTO dto)
      Description copied from interface: SyncFilter
      If the evaluate method is applicable for the given outbound item DTO
      Specified by:
      isApplicable in interface SyncFilter
      Parameters:
      dto - outbound item DTO
      Returns:
      applicable
    • evaluate

      Evaluates the filtering conditions against the specified item DTO.
      Specified by:
      evaluate in interface SyncFilter
      Parameters:
      dto - an item DTO to check against the filtering conditions.
      io - integration object
      Returns:
      an Optional containing the dto, if it satisfies the filtering conditions; or an Optional.empty(), if it does not.