Interface CatalogItemLayoutProvider

All Superinterfaces:
PluginProvider, UIExtensionProvider
All Known Subinterfaces:
CatalogItemLayoutProvider
All Known Implementing Classes:
AbstractCatalogItemLayoutProvider

public interface CatalogItemLayoutProvider extends UIExtensionProvider
This provider provides a means to define custom layouts for rendering catalog item detail pages. The default layout easily renders markdown, and the user input form via the OptionType model. This enables full customizability of the page.
Since:
0.15.2
  • Method Details

    • renderTemplate

      HTMLResponse renderTemplate(CatalogItemType catalogItemType, User user)
      Render details provided to your rendering engine
      Parameters:
      catalogItemType - details of a Catalog Item Type to be rendered
      user - the current user rendering the template. This is useful in case the view needs to change based on some user permission or existence of user.
      Returns:
      result of rendering an template