Class DefaultSyncJobApplicableTypesStrategy
- java.lang.Object
-
- de.hybris.platform.catalog.synchronization.strategy.DefaultSyncJobApplicableTypesStrategy
-
- All Implemented Interfaces:
SyncJobApplicableTypesStrategy
public class DefaultSyncJobApplicableTypesStrategy extends java.lang.Object implements SyncJobApplicableTypesStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultSyncJobApplicableTypesStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckIfApplicable(ItemModel theItem, SyncItemJobModel syncItemJob)Check whether given item is applicable for a given context i.e.protected booleanisTypeInRootTypes(java.lang.String typeCode, SyncItemJobModel syncItemJob)voidsetCatalogTypeService(CatalogTypeService catalogTypeService)voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
isTypeInRootTypes
protected boolean isTypeInRootTypes(java.lang.String typeCode, SyncItemJobModel syncItemJob)
-
checkIfApplicable
public boolean checkIfApplicable(ItemModel theItem, SyncItemJobModel syncItemJob)
Description copied from interface:SyncJobApplicableTypesStrategyCheck whether given item is applicable for a given context i.e. givensyncItemJob.- Specified by:
checkIfApplicablein interfaceSyncJobApplicableTypesStrategy- Returns:
- true when the synchronization is possible on a given item within given context - false otherwise
-
setCatalogTypeService
public void setCatalogTypeService(CatalogTypeService catalogTypeService)
-
setTypeService
public void setTypeService(TypeService typeService)
-
-