public interface Page extends WorkspaceObject
A page is a pointer with useful information pointing to a component structure.
Page can be organized as hierarchies used for the single purpose of performing property inheritance. The pages of a same hierarchy belong to the same site.
| Modifier and Type | Method and Description |
|---|---|
Page |
addChild(String name)
Create a child page and returns it.
|
void |
destroy()
Destroys the page.
|
Page |
getChild(String name)
Returns a named child or null if it does not exist.
|
Collection<Page> |
getChildren()
Returns the children.
|
WorkspaceCustomizationContext |
getCustomizationContext()
Returns the customization context of this object;
|
String |
getName()
Returns the page name.
|
Collection<PageLink> |
getNavigations()
Returns the set of navigations pointing to this page.
|
ObjectType<? extends Page> |
getObjectType()
Returns the page type.
|
Page |
getParent()
Returns the parent page
|
UIContainer |
getRootComponent()
Returns the layout of the page.
|
Site |
getSite()
Returns the site that owns the page.
|
Templatized |
templatize(WorkspaceObject object)
Templatize the provided object.
|
getAttributes, getObjectIdadapt, isAdapted, removeAdapterString getName()
ObjectType<? extends Page> getObjectType()
getObjectType in interface WorkspaceObjectSite getSite()
Page getParent()
Collection<Page> getChildren()
Page getChild(String name)
name - the child namePage addChild(String name) throws NullPointerException, IllegalArgumentException
name - the child nameNullPointerException - if the name is nullIllegalArgumentException - if a child with such name already existsUIContainer getRootComponent()
Collection<PageLink> getNavigations()
void destroy()
Templatized templatize(WorkspaceObject object) throws IllegalArgumentException
object - the object to templatizeIllegalArgumentException - if the object cannot be templatized for a particular reasonWorkspaceCustomizationContext getCustomizationContext()
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.