|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Page
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.
| Field Summary |
|---|
| Fields inherited from interface org.gatein.mop.api.workspace.WorkspaceCustomizationContext |
|---|
TYPE |
| Method Summary | ||
|---|---|---|
Page |
addChild(String name)
Create a child page and returns it. |
|
void |
destroy()
Destroys the page. |
|
Attributes |
getCascadingAttributes()
Returns the page attributes. |
|
Page |
getChild(String name)
Returns a named child or null if it does not exist. |
|
Collection<? extends Page> |
getChildren()
Returns the children. |
|
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. |
|
|
getTemplatizedObjects(ObjectType<T> templatizedType)
Returns the templatized objects for this page. |
|
| Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceObject |
|---|
getAttributes, getObjectId |
| Methods inherited from interface org.gatein.mop.api.workspace.Templatized |
|---|
getTemplate, setTemplate |
| Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceCustomizationContext |
|---|
customize, customize, getCustomization |
| Methods inherited from interface org.gatein.mop.api.content.CustomizationContext |
|---|
contains, getContextId, getContextType |
| Method Detail |
|---|
String getName()
ObjectType<? extends Page> getObjectType()
getObjectType in interface WorkspaceObjectAttributes getCascadingAttributes()
Site getSite()
Page getParent()
Collection<? extends Page> getChildren()
Page getChild(String name)
name - the child name
Page addChild(String name)
throws NullPointerException,
IllegalArgumentException
name - the child name
NullPointerException - if the name is null
IllegalArgumentException - if a child with such name already existsUIContainer getRootComponent()
Collection<PageLink> getNavigations()
void destroy()
<T extends TemplatizedObject> Collection<? extends T> getTemplatizedObjects(ObjectType<T> templatizedType)
T - the templatized workspace object type parametertemplatizedType - the type of templatized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||