org.apache.pluto.portalImpl.services.pageregistry
Class PageRegistryService

java.lang.Object
  extended by org.apache.pluto.portalImpl.services.Service
      extended by org.apache.pluto.portalImpl.services.pageregistry.PageRegistryService
Direct Known Subclasses:
PageRegistryServiceFileImpl

public abstract class PageRegistryService
extends Service

The PageRegistryService interface represents a complete site with all pages, windows and portlet entries on it. It is accessed by the datastore layer to get information about the site.

The interfaces defined in this package represent an abstract object model (OM) that is applicable for different implementations. The abstract OM defines only how the data is stored and accessed in the memory. Each implementation can store the data in different ways.

This abstraction layer helps to generalize the portlet container from special implementations like data storage and moreover it is not bound to a special Application Server.


Constructor Summary
PageRegistryService()
           
 
Method Summary
abstract  void addFragment(Fragment fragment)
          Add a fragment to the page registry.
abstract  Fragment getFragment(java.lang.String id)
          Returns the fragment with the given id.
abstract  RootFragment getRootFragment()
          Returns the description of the complete portal site.
 
Methods inherited from class org.apache.pluto.portalImpl.services.Service
destroy, destroy, init, init, init, postInit, postInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageRegistryService

public PageRegistryService()
Method Detail

getRootFragment

public abstract RootFragment getRootFragment()
Returns the description of the complete portal site.

Returns:
the object model description

getFragment

public abstract Fragment getFragment(java.lang.String id)
Returns the fragment with the given id. return the fragment object with this id


addFragment

public abstract 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


Copyright © 2003-2010 . All Rights Reserved.