Class DefaultOutboundSyncBatchRouter
java.lang.Object
de.hybris.platform.outboundsync.router.impl.DefaultOutboundSyncBatchRouter
- All Implemented Interfaces:
OutboundSyncBatchRouter
Default implementation of
OutboundSyncBatchRouter.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultOutboundSyncBatchRouter(@NotNull BatchChangeSender batchChangeSender, @NotNull OutboundSyncService syncService, @NotNull OutboundItemFactory factory) Instantiates this base class. -
Method Summary
Modifier and TypeMethodDescriptionprotected OutboundItemDTOGroupasItemGroup(Collection<OutboundItemDTO> items) voidroute(Collection<OutboundItemDTO> outboundItemDTOs) Routes the group of DTOs based of whether or not batch is enabled.
-
Constructor Details
-
DefaultOutboundSyncBatchRouter
protected DefaultOutboundSyncBatchRouter(@NotNull @NotNull BatchChangeSender batchChangeSender, @NotNull @NotNull OutboundSyncService syncService, @NotNull @NotNull OutboundItemFactory factory) Instantiates this base class.- Parameters:
batchChangeSender- gateway for batch changessyncService- synchronization service for Item changes detectedfactory- OutboundItemDTOs to OutboundItemDTOGroup converter
-
-
Method Details
-
route
Description copied from interface:OutboundSyncBatchRouterRoutes the group of DTOs based of whether or not batch is enabled.- Specified by:
routein interfaceOutboundSyncBatchRouter- Parameters:
outboundItemDTOs- A collection of DTOs with the information about the changes in the item.
-
asItemGroup
-