Class PriceRowModelLabelProvider
- java.lang.Object
-
- de.hybris.platform.cockpit.services.label.AbstractModelLabelProvider<T>
-
- de.hybris.platform.cockpit.services.label.CatalogAwareModelLabelProvider<PriceRowModel>
-
- de.hybris.platform.cockpit.services.label.impl.PriceRowModelLabelProvider
-
- All Implemented Interfaces:
ObjectLabelProvider
public class PriceRowModelLabelProvider extends CatalogAwareModelLabelProvider<PriceRowModel>
Label provider implementation forPriceRowModel
-
-
Constructor Summary
Constructors Constructor Description PriceRowModelLabelProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionModel
getCatalogVersionModel(PriceRowModel itemModel)
Gets the catalog version model.protected java.lang.String
getIconPath(PriceRowModel item)
protected java.lang.String
getIconPath(PriceRowModel item, java.lang.String languageIso)
protected java.lang.String
getItemDescription(PriceRowModel item)
protected java.lang.String
getItemDescription(PriceRowModel item, java.lang.String languageIso)
protected java.lang.String
getItemLabel(PriceRowModel priceRow)
protected java.lang.String
getItemLabel(PriceRowModel priceRow, java.lang.String languageIso)
-
Methods inherited from class de.hybris.platform.cockpit.services.label.CatalogAwareModelLabelProvider
getLabel, getLabel
-
Methods inherited from class de.hybris.platform.cockpit.services.label.AbstractModelLabelProvider
getDescription, getDescription, getIconPath, getIconPath, getModelService, setModelService
-
-
-
-
Method Detail
-
getItemLabel
protected java.lang.String getItemLabel(PriceRowModel priceRow)
- Specified by:
getItemLabel
in classAbstractModelLabelProvider<PriceRowModel>
-
getItemLabel
protected java.lang.String getItemLabel(PriceRowModel priceRow, java.lang.String languageIso)
- Specified by:
getItemLabel
in classAbstractModelLabelProvider<PriceRowModel>
-
getCatalogVersionModel
protected CatalogVersionModel getCatalogVersionModel(PriceRowModel itemModel)
Description copied from class:CatalogAwareModelLabelProvider
Gets the catalog version model. Should be overriden in subclasses to return proper catalog version model.- Specified by:
getCatalogVersionModel
in classCatalogAwareModelLabelProvider<PriceRowModel>
- Parameters:
itemModel
- the item model- Returns:
- the catalog version model
-
getIconPath
protected java.lang.String getIconPath(PriceRowModel item)
- Specified by:
getIconPath
in classAbstractModelLabelProvider<PriceRowModel>
-
getIconPath
protected java.lang.String getIconPath(PriceRowModel item, java.lang.String languageIso)
- Specified by:
getIconPath
in classAbstractModelLabelProvider<PriceRowModel>
-
getItemDescription
protected java.lang.String getItemDescription(PriceRowModel item)
- Specified by:
getItemDescription
in classAbstractModelLabelProvider<PriceRowModel>
-
getItemDescription
protected java.lang.String getItemDescription(PriceRowModel item, java.lang.String languageIso)
- Specified by:
getItemDescription
in classAbstractModelLabelProvider<PriceRowModel>
-
-