Package com.morpheusdata.core.providers
Interface CatalogItemLayoutProvider
- All Superinterfaces:
PluginProvider
,UIExtensionProvider
- All Known Subinterfaces:
CatalogItemLayoutProvider
- All Known Implementing Classes:
AbstractCatalogItemLayoutProvider
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 Summary
Modifier and TypeMethodDescriptionrenderTemplate
(CatalogItemType catalogItemType, User user) Render details provided to your rendering engineMethods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
Methods inherited from interface com.morpheusdata.core.providers.UIExtensionProvider
getContentSecurityPolicy, getRenderer
-
Method Details
-
renderTemplate
Render details provided to your rendering engine- Parameters:
catalogItemType
- details of a Catalog Item Type to be rendereduser
- 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
-