org.apache.pluto.portalImpl.services.portletentityregistry
Class PortletEntityRegistryService

java.lang.Object
  extended byorg.apache.pluto.portalImpl.services.Service
      extended byorg.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegistryService
Direct Known Subclasses:
PortletEntityRegistryServiceFileImpl

public abstract class PortletEntityRegistryService
extends Service

The PortletPoolService interface represents all portlet and portlet application instances available in the portal, such as a Portlet and Application Pool. It is accessed by the datastore layer to get information about the portlets and portlet applications.

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
PortletEntityRegistryService()
           
 
Method Summary
abstract  org.apache.pluto.om.entity.PortletApplicationEntityList getPortletApplicationEntityList()
          Returns the portlet application instance with the given id.
abstract  org.apache.pluto.om.entity.PortletEntity getPortletEntity(org.apache.pluto.om.common.ObjectID id)
          Returns the portlet Entity with the given id.
abstract  void load()
           
abstract  void refresh(org.apache.pluto.om.entity.PortletEntity portletEntity)
           
abstract  void store()
           
 
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

PortletEntityRegistryService

public PortletEntityRegistryService()
Method Detail

getPortletApplicationEntityList

public abstract org.apache.pluto.om.entity.PortletApplicationEntityList getPortletApplicationEntityList()
Returns the portlet application instance with the given id.

Returns:
the portlet application instance

getPortletEntity

public abstract org.apache.pluto.om.entity.PortletEntity getPortletEntity(org.apache.pluto.om.common.ObjectID id)
Returns the portlet Entity with the given id.

Parameters:
id - the identifier of the portlet Entity to be returned
Returns:
the portlet Entity

store

public abstract void store()
                    throws java.io.IOException
Throws:
java.io.IOException

load

public abstract void load()
                   throws java.io.IOException
Throws:
java.io.IOException

refresh

public abstract void refresh(org.apache.pluto.om.entity.PortletEntity portletEntity)


Copyright © 2003-2007 . All Rights Reserved.