Interface CMSComponent
-
- All Known Implementing Classes:
ListOfCategories,ListPosts,ViewPost
public interface CMSComponent
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Stringexternalize()voidhandle(Page page, TemplateContext componentContext, TemplateContext globalContext)Provides the necessary info needed to render the component on a given page and context.static CMSComponentinternalize(String name)
-
-
-
Method Detail
-
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)
-
-