org.apache.pluto.portalImpl.services.pageregistry
Class PageRegistry
java.lang.Object
org.apache.pluto.portalImpl.services.pageregistry.PageRegistry
public class PageRegistry
- extends java.lang.Object
This class is a static accessor for a PageRegistryService
implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cService
private static PageRegistryService cService
PageRegistry
public PageRegistry()
getRootFragment
public static RootFragment getRootFragment()
- Returns the description of the complete portal site
- Returns:
- the object model description
getFragment
public static Fragment getFragment(java.lang.String id)
- Returns the fragment with the given id
return the fragment object with this id
addFragment
public static void addFragment(Fragment fragment)
throws java.lang.Exception
- Add a fragment to the page registry
- Parameters:
fragment
- the fragment to add
- Throws:
java.lang.Exception
setRootFragment
public static void setRootFragment()