Interface PageInitializer
- All Superinterfaces:
Prioritizable
- All Known Implementing Classes:
DefaultStaticPageInitializer
,ProjectsCatalogPageInitializer
,UserDirectoryPageInitializer
,UserSignupPageInitializer
Interface for the creation of a new page with predefined content and configuration
This can for example be use to generate some default pages during site initialization
-
Method Summary
Modifier and TypeMethodDescriptioncreatePage
(ModifiableSitemapElement parent) Create a new page in the parentMethods inherited from interface org.ametys.runtime.plugin.component.Prioritizable
getPriority
-
Method Details
-
createPage
Create a new page in the parent- Parameters:
parent
- the parent where the new page should be created- Returns:
- the new page or empty if no page was created
-