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 and Description |
---|
PageRegistryService() |
Modifier and Type | Method and Description |
---|---|
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.
|
public abstract RootFragment getRootFragment()
public abstract Fragment getFragment(java.lang.String id)
public abstract void addFragment(Fragment fragment) throws java.lang.Exception
fragment
- the fragment to addjava.lang.Exception
Copyright © 2003-2013 . All Rights Reserved.