public interface PageBuilder
This interface can be used to create Pages and PageComponents. A page is basically designed as a list
of optionally nested PageComponents. Use the PageBuilderFactory service to get a PageBuilder instance.
This interface must not be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
PageComponent |
createComponent(String resourceType)
Convenience method to create a
PageComponent for a resource type. |
PageComponent |
createComponent(String resourceType,
ValueMap properties)
Convenience method to create a
PageComponent for a resource type and the given properties. |
PageComponent |
createComponent(String resourceType,
ValueMap properties,
String nameHint)
Factory method to create a new
PageComponent. |
Page |
createPage(String pageRoot,
String pageName,
String pageTitle,
String templatePath,
String designPath,
List<PageComponent> components)
Create a new
Page. |
Page |
recreatePage(String pageRoot,
String pageName,
String pageTitle,
String templatePath,
String designPath,
List<PageComponent> components)
Recreate a
Page. |
PageComponent createComponent(String resourceType)
PageComponent for a resource type.resourceType - The PageComponents resource typePageComponentPageComponent createComponent(String resourceType, ValueMap properties)
PageComponent for a resource type and the given properties.resourceType - The PageComponents resource typeproperties - The PageComponents propertiesPageComponentPageComponent createComponent(String resourceType, ValueMap properties, String nameHint)
PageComponent.resourceType - The PageComponents resource typeproperties - The PageComponents propertiesnameHint - The name hint for the PageComponentPageComponentPage createPage(String pageRoot, String pageName, String pageTitle, String templatePath, String designPath, List<PageComponent> components) throws WCMException
Page.pageRoot - The page rootpageName - The page namepageTitle - The page titletemplatePath - The path to the template to usedesignPath - The path to the design to usecomponents - List of optionally nested PageComponents that make up the page.WCMException - exception caused while creating the page.Page recreatePage(String pageRoot, String pageName, String pageTitle, String templatePath, String designPath, List<PageComponent> components) throws WCMException
Page.pageRoot - The page rootpageName - The page namepageTitle - The page titletemplatePath - The path to the template to usedesignPath - The path to the design to usecomponents - List of optionally nested PageComponents that make up the page.WCMException - exception caused while creating the page.Copyright © 2010 - 2020 Adobe. All Rights Reserved