public interface ItemSynchronizationFacade
ItemSynchronizationFacade facade is responsible for providing methods for getting the
synchronization status of a specific ItemModel.| Modifier and Type | Method and Description |
|---|---|
SyncItemStatusData |
getSynchronizationItemStatus(SyncRequestData syncRequestData,
ItemSynchronizationData itemSynchronizationData)
Retrieves the synchronization status for a given
ItemModel. |
SyncItemStatusData |
getSynchronizationItemStatus(SyncRequestData syncRequestData,
ItemSynchronizationData itemSynchronizationData,
SyncItemStatusConfig config)
Retrieves the synchronization status for a given
ItemModel. |
void |
performItemSynchronization(SyncRequestData syncRequestData,
SynchronizationData synchronizationData)
Performs the synchronization for a list of
ItemModel. |
void |
performItemSynchronization(SyncRequestData syncRequestData,
SynchronizationData synchronizationData,
SyncConfig config)
Performs the synchronization for a list of
ItemModel. |
SyncItemStatusData getSynchronizationItemStatus(SyncRequestData syncRequestData, ItemSynchronizationData itemSynchronizationData)
ItemModel. In the method signature the client needs to provide
the SyncRequestData which contains the source and target catalog versions.
The implementation should provide a default maximum depth property to prevent the mechanism to crawl too many items.syncRequestData - the synchronization request containing the source and target catalog versionsitemSynchronizationData - the pair of identifier/type to retrieve the ItemModel of which we want to get the synchronization statusItemModel.java.lang.IllegalArgumentException - when the default maximum depth configuration is not greater than zero.SyncItemStatusData getSynchronizationItemStatus(SyncRequestData syncRequestData, ItemSynchronizationData itemSynchronizationData, SyncItemStatusConfig config)
ItemModel. In the method signature the client needs to provide
the SyncRequestData which contains the source and target catalog versions.
This method lets the client decide what is the maximum depth level to navigate on the item's dependencies.syncRequestData - the synchronization request containing the source and target catalog versionsitemSynchronizationData - the pair of identifier/type to retrieve the ItemModel of which we want to get the synchronization statusconfig - the get status configuration. See SyncItemStatusConfig for more details.ItemModel.java.lang.IllegalArgumentException - when the maximum depth configuration is not greater than zero.void performItemSynchronization(SyncRequestData syncRequestData, SynchronizationData synchronizationData)
ItemModel. In the method signature the client needs to provide
the SyncRequestData which contains the source and target catalog versions.syncRequestData - the synchronization request containing the source and target catalog versionssynchronizationData - contains the list of ItemSynchronizationData pairs of itemId/itemType that we want to synchronizevoid performItemSynchronization(SyncRequestData syncRequestData, SynchronizationData synchronizationData, SyncConfig config)
ItemModel. In the method signature the client needs to provide
the SyncRequestData which contains the source and target catalog versions.syncRequestData - the synchronization request containing the source and target catalog versionssynchronizationData - contains the list of pairs of ItemSynchronizationData itemId/itemType that we want to synchronizeconfig - the synchronization configuration . See SyncConfig for more details.Copyright © 2018 SAP SE. All Rights Reserved.