Class CatalogAwareModelLabelProvider<T>

    • Constructor Detail

      • CatalogAwareModelLabelProvider

        public CatalogAwareModelLabelProvider()
    • Method Detail

      • getLabel

        public java.lang.String getLabel​(TypedObject object,
                                         java.lang.String languageIso)
        Description copied from interface: ObjectLabelProvider
        get label value as a String for a given TypeObject and chosen language
        Specified by:
        getLabel in interface ObjectLabelProvider
        Overrides:
        getLabel in class AbstractModelLabelProvider<T>
        languageIso - iso code of language that label should be display in
        Returns:
        label for a given typedObject in given language
      • getCatalogVersionModel

        protected abstract CatalogVersionModel getCatalogVersionModel​(T itemModel)
        Gets the catalog version model. Should be overriden in subclasses to return proper catalog version model.
        Parameters:
        itemModel - the item model
        Returns:
        the catalog version model