Class DefaultCMSNavigationEntryModelUniqueIdentifierConverter
java.lang.Object
de.hybris.platform.cmsfacades.uniqueidentifier.functions.DefaultCMSNavigationEntryModelUniqueIdentifierConverter
- All Implemented Interfaces:
UniqueIdentifierConverter<CMSNavigationEntryModel>
public class DefaultCMSNavigationEntryModelUniqueIdentifierConverter
extends Object
implements UniqueIdentifierConverter<CMSNavigationEntryModel>
Default implementation for conversion of
CMSNavigationEntryModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(CMSNavigationEntryModel navigationEntryModel) Convert an ItemModel object to the correspondingItemDatainstance.protected CatalogVersionServiceprotected CMSNavigationServiceprotected org.springframework.beans.factory.ObjectFactory<ItemData>Returns the item typeItemModel#getItemTypewhere the converter should be applied to.voidsetCatalogVersionService(CatalogVersionService catalogVersionService) voidsetCmsNavigationService(CMSNavigationService cmsNavigationService) voidsetItemDataDataFactory(org.springframework.beans.factory.ObjectFactory<ItemData> itemDataDataFactory)
-
Constructor Details
-
DefaultCMSNavigationEntryModelUniqueIdentifierConverter
public DefaultCMSNavigationEntryModelUniqueIdentifierConverter()
-
-
Method Details
-
getItemType
Description copied from interface:UniqueIdentifierConverterReturns the item typeItemModel#getItemTypewhere the converter should be applied to.- Specified by:
getItemTypein interfaceUniqueIdentifierConverter<CMSNavigationEntryModel>- Returns:
- item type
-
convert
public CMSNavigationEntryModel convert(ItemData itemData) throws IllegalArgumentException, UnknownIdentifierException Convert anItemDataobject to the correspondingItemModelentity. throwIllegalArgumentException. throwUnknownIdentifierException.- Specified by:
convertin interfaceUniqueIdentifierConverter<CMSNavigationEntryModel>- Parameters:
itemData- - the item data instance that will be used in the conversion.- Returns:
- the
ItemModelentity that corresponds to the givenItemDataUniqueIdentifierConverter.getItemType(). - Throws:
IllegalArgumentExceptionUnknownIdentifierException
-
getItemDataDataFactory
-
setItemDataDataFactory
public void setItemDataDataFactory(org.springframework.beans.factory.ObjectFactory<ItemData> itemDataDataFactory) -
getCatalogVersionService
-
setCatalogVersionService
-