public class BaseSynchronizationStatusServiceTest extends ServicelayerBaseTest
| Modifier and Type | Field and Description |
|---|---|
protected CatalogSynchronizationService |
catalogSynchronizationService |
protected CatalogTypeService |
catalogTypeService |
protected ModelService |
modelService |
protected SynchronizationStatusService |
synchronizationStatusService |
jaloSession| Constructor and Description |
|---|
BaseSynchronizationStatusServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertSyncInfoEquals(SyncItemInfo actual,
SyncItemStatus expectedStatus,
PK expectedSyncJobPk,
PK expectedPk) |
protected CatalogModel |
createCatalog(java.lang.String id) |
protected CatalogVersionModel |
createCatalogVersion(CatalogModel catalog,
java.lang.String version) |
protected ProductModel |
createProductInCatalogVersion(java.lang.String theCode,
CatalogVersionModel catalogVersion) |
protected SyncItemJobModel |
createSyncJob(CatalogVersionModel source,
CatalogVersionModel target) |
protected SyncItemJobModel |
createSyncJob(java.lang.String code,
CatalogVersionModel source,
CatalogVersionModel target) |
protected java.lang.Integer |
getMaxThreads() |
protected void |
performSynchronization(SyncItemJobModel syncItemJobModel,
java.util.List<ItemModel> items,
SyncConfig syncConfig) |
protected SyncConfig |
prepareSyncConfig() |
protected <T> T |
resolveCounterpart(CatalogVersionModel targetCatalogVersion,
ItemModel itemModel,
java.lang.String qualifier) |
void |
setCatalogTypeService(CatalogTypeService catalogTypeService) |
void |
setModelService(ModelService modelService) |
void |
setSynchronizationStatusService(SynchronizationStatusService synchronizationStatusService) |
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected ModelService modelService
protected CatalogTypeService catalogTypeService
protected SynchronizationStatusService synchronizationStatusService
protected CatalogSynchronizationService catalogSynchronizationService
public BaseSynchronizationStatusServiceTest()
protected <T> T resolveCounterpart(CatalogVersionModel targetCatalogVersion, ItemModel itemModel, java.lang.String qualifier)
protected void performSynchronization(SyncItemJobModel syncItemJobModel, java.util.List<ItemModel> items, SyncConfig syncConfig)
protected void assertSyncInfoEquals(SyncItemInfo actual, SyncItemStatus expectedStatus, PK expectedSyncJobPk, PK expectedPk)
protected SyncConfig prepareSyncConfig()
protected SyncItemJobModel createSyncJob(java.lang.String code, CatalogVersionModel source, CatalogVersionModel target)
protected SyncItemJobModel createSyncJob(CatalogVersionModel source, CatalogVersionModel target)
protected CatalogModel createCatalog(java.lang.String id)
protected CatalogVersionModel createCatalogVersion(CatalogModel catalog, java.lang.String version)
protected ProductModel createProductInCatalogVersion(java.lang.String theCode, CatalogVersionModel catalogVersion)
protected java.lang.Integer getMaxThreads()
public void setModelService(ModelService modelService)
public void setCatalogTypeService(CatalogTypeService catalogTypeService)
public void setSynchronizationStatusService(SynchronizationStatusService synchronizationStatusService)
Copyright © 2018 SAP SE. All Rights Reserved.