Class ChangeSyncFilter

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

public class ChangeSyncFilter extends Object implements SyncFilter
A filter for non-delete changes collected by DefaultFilteringService. If the changed item type has a root item, then the change is passed through. Otherwise the change is filtered out.
  • Constructor Details

    • ChangeSyncFilter

      public ChangeSyncFilter()
  • 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

      Description copied from interface: SyncFilter
      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.