public interface ItemSynchronizationService
ItemSynchronizationService is responsible for getting the synchronization status details for an item.| Modifier and Type | Method and Description |
|---|---|
SynchronizationItemDetailsData |
getSynchronizationItemStatus(SyncRequestData syncRequestData,
ItemModel item)
Gets the synchronization item status for a given
ItemModel taking in consideration the source and target catalog versions. |
void |
performItemSynchronization(SyncRequestData syncRequestData,
java.util.List<ItemModel> items,
SyncConfig config)
performs the synchronization of a list of
ItemModel taking in consideration the source and target catalog versions. |
SynchronizationItemDetailsData getSynchronizationItemStatus(SyncRequestData syncRequestData, ItemModel item)
ItemModel taking in consideration the source and target catalog versions.
Implementations should be able to provide details of the synchronization status of related items as well.syncRequestData - the synchronization request containing the source and target catalog versionsitem - the item model we are interested in getting the synchronization statusSynchronizationItemDetailsData, never null.java.lang.IllegalArgumentException - when any of the given parameters is null.void performItemSynchronization(SyncRequestData syncRequestData, java.util.List<ItemModel> items, SyncConfig config)
ItemModel taking in consideration the source and target catalog versions.
Implementations should be able to provide details of the synchronization status of related items as well.syncRequestData - the synchronization request containing the source and target catalog versionsitems - the list of item models that we want to synchronizeconfig - the synchronization configuration . See SyncConfig for more details.Copyright © 2018 SAP SE. All Rights Reserved.