org.chromattic.docs.reference.website
Class Page

java.lang.Object
  extended by org.chromattic.docs.reference.website.Page

public abstract class Page
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Page()
           
 
Method Summary
abstract  java.util.Collection<Page> getChildren()
          Returns the collection of page children.
abstract  Content getContent()
          Returns the content associated to this page.
abstract  java.lang.String getName()
          Returns the page name.
abstract  Page getParent()
          Returns the page parent.
abstract  WebSite getSite()
          Returns the parent site.
abstract  void setContent(Content content)
          Set thet content on this page
abstract  void setParent(Page page)
          Update the page parent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page()
Method Detail

getName

public abstract java.lang.String getName()
Returns the page name.

Returns:
the page name

getChildren

public abstract java.util.Collection<Page> getChildren()
Returns the collection of page children.

Returns:
the children

getParent

public abstract Page getParent()
Returns the page parent.

Returns:
the parent

setParent

public abstract void setParent(Page page)
Update the page parent.

Parameters:
page - the parent

getSite

public abstract WebSite getSite()
Returns the parent site.

Returns:
the parent site

getContent

public abstract Content getContent()
Returns the content associated to this page.

Returns:
the content

setContent

public abstract void setContent(Content content)
Set thet content on this page

Parameters:
content - the content


Copyright © 2011 eXo Platform SAS. All Rights Reserved.