Class DeleteSyncFilter
java.lang.Object
de.hybris.platform.outboundsync.job.impl.DeleteSyncFilter
- All Implemented Interfaces:
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 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
-
DeleteSyncFilter
public DeleteSyncFilter()
-
-
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
Evaluates 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.
-