Class CMSPageContentManager
java.lang.Object
io.goobi.viewer.model.cms.pages.content.CMSPageContentManager
- All Implemented Interfaces:
Serializable
Loads
components to include in a CMSPage.- Author:
- Florian Alpers
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCMSPageContentManager(Path... configFolders) Loads CMS components from one or more folders. -
Method Summary
-
Constructor Details
-
CMSPageContentManager
Loads CMS components from one or more folders. Folders may live on the regular filesystem or be mounted from a JAR viaFileSystems.newFileSystem(java.net.URI, java.util.Map), which is the realistic case for module-contributed templates shipped inside a deployed JAR.- Parameters:
configFolders- one or more folders containing component XML template files- Throws:
IOException- if reading any of the folders fails
-
-
Method Details
-
getComponents
-
getComponent
-