Class ChangeSyncFilter
java.lang.Object
de.hybris.platform.outboundsync.job.impl.ChangeSyncFilter
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluates the filtering conditions against the specified item DTO.booleanIf the evaluate method is applicable for the given outbound item DTO
-
Constructor Details
-
ChangeSyncFilter
public ChangeSyncFilter()
-
-
Method Details
-
isApplicable
Description copied from interface:SyncFilterIf the evaluate method is applicable for the given outbound item DTO- Specified by:
isApplicablein interfaceSyncFilter- Parameters:
dto- outbound item DTO- Returns:
- applicable
-
evaluate
Description copied from interface:SyncFilterEvaluates the filtering conditions against the specified item DTO.- Specified by:
evaluatein interfaceSyncFilter- Parameters:
dto- an item DTO to check against the filtering conditions.io- integration object- Returns:
- an
Optionalcontaining thedto, if it satisfies the filtering conditions; or anOptional.empty(), if it does not.
-