Interface CMSComponent

All Known Implementing Classes:
ListOfCategories, ListPosts, ViewPost

public interface CMSComponent
  • Method Details

    • handle

      void handle(Page page, TemplateContext componentContext, TemplateContext globalContext)
      Provides the necessary info needed to render the component on a given page and context.
      Parameters:
      page - the page where the component will be rendered.
      componentContext - local context for the component.
      globalContext - global context where the component is being rendered.
    • externalize

      default String externalize()
    • internalize

      static CMSComponent internalize(String name)