Method Summary |
|
public void | addPanel(Panel panel) Adds a panel to the page. |
public int | compareTo(Object o) |
public Page | copy() Copies the page and all of its modules. |
public void | delete() Deletes any modules associated with this page using
Module.destroyModule.destroy() and deletes the page; be sure to call
Page.loadFullloadFull() before calling this method. |
public Map | getPanels() Returns a map of
Panel s. |
public SiteContext | getSiteContext() Returns the current site context for this object, throwing an exception if
it hasn't been set. |
protected void | init() |
public void | load(Key key) |
public List | loadAll() Loads all pages in the system; a shallow load is performed. |
public void | loadForAlias(String alias) Loads the page for alias, returning true if the page was
found. |
public void | loadFull(Key key) Loads the page and any modules referenced by its panels. |
public void | loadFullForAlias(String alias) Loads the page for alias and any modules referenced by its
panels. |
public void | save() |
public void | saveNew() |
protected void | setDefaultAliasName() Returns an alias name for title by converting it to lower case
and removing any whitespace or special characters; if a page exists with
the alias, a number is appended and incremented until a unique alias is
calculated. |
public void | setSiteContext(SiteContext siteContext) Implements SiteContextCapable.setSiteContext(). |
public String | toString() |