public class DefaultCMSNavigationEntryModelUniqueIdentifierConverter extends java.lang.Object implements UniqueIdentifierConverter<CMSNavigationEntryModel>
CMSNavigationEntryModel| Constructor and Description |
|---|
DefaultCMSNavigationEntryModelUniqueIdentifierConverter() |
| Modifier and Type | Method and Description |
|---|---|
ItemData |
convert(CMSNavigationEntryModel navigationEntryModel)
Convert an ItemModel object to the corresponding
ItemData instance. |
CMSNavigationEntryModel |
convert(ItemData itemData)
|
protected CatalogVersionService |
getCatalogVersionService() |
protected CMSNavigationService |
getCmsNavigationService() |
protected <any> |
getItemDataDataFactory() |
java.lang.String |
getItemType()
Returns the item type
ItemModel#getItemType where the converter should be applied to. |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setCmsNavigationService(CMSNavigationService cmsNavigationService) |
void |
setItemDataDataFactory(<any> itemDataDataFactory) |
public DefaultCMSNavigationEntryModelUniqueIdentifierConverter()
public java.lang.String getItemType()
UniqueIdentifierConverterItemModel#getItemType where the converter should be applied to.getItemType in interface UniqueIdentifierConverter<CMSNavigationEntryModel>public ItemData convert(CMSNavigationEntryModel navigationEntryModel) throws java.lang.IllegalArgumentException
ItemData instance.
throw IllegalArgumentException.convert in interface UniqueIdentifierConverter<CMSNavigationEntryModel>navigationEntryModel - - the item model entity that will be converted.ItemData class that corresponds to the given ItemModel
UniqueIdentifierConverter.getItemType().java.lang.IllegalArgumentException - when itemModel is null.UniqueIdentifierConverter#getItemType()}.public CMSNavigationEntryModel convert(ItemData itemData) throws java.lang.IllegalArgumentException, UnknownIdentifierException
ItemData object to the corresponding ItemModel entity.
throw IllegalArgumentException.
throw UnknownIdentifierException.convert in interface UniqueIdentifierConverter<CMSNavigationEntryModel>itemData - - the item data instance that will be used in the conversion.ItemModel entity that corresponds to the given ItemData
UniqueIdentifierConverter.getItemType().java.lang.IllegalArgumentExceptionUnknownIdentifierExceptionUniqueIdentifierConverter#getItemType()}.protected <any> getItemDataDataFactory()
public void setItemDataDataFactory(<any> itemDataDataFactory)
protected CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
public void setCmsNavigationService(CMSNavigationService cmsNavigationService)
protected CMSNavigationService getCmsNavigationService()
Copyright © 2018 SAP SE. All Rights Reserved.