public class StaticPageContentManager extends Object
Constructor and Description |
---|
StaticPageContentManager() |
Modifier and Type | Method and Description |
---|---|
void |
addSection(StaticPageSection section)
Add a new section.
|
List<StaticPageSection> |
getSections()
Get all added sections.
|
StaticPageSection |
removeSection(String id)
Remove a previously added section from the list.
|
public void addSection(StaticPageSection section)
section
- the section to addpublic List<StaticPageSection> getSections()
public StaticPageSection removeSection(String id)
id
- the ID of the section to removeCopyright © 2019 Communote team. All rights reserved.