PortletEntityRegistryService.
This store persit the PortletEntityRegistry informations.
Method Summary |
org.apache.pluto.om.entity.PortletApplicationEntityList |
getPortletApplicationEntityList()
Returns the portlet application instance with the given id. |
java.util.Map |
getPortletEntities()
|
org.apache.pluto.om.entity.PortletEntity |
getPortletEntity(org.apache.pluto.om.common.ObjectID id)
Returns the portlet Entity with the given id. |
void |
init(javax.servlet.ServletConfig servletConfig,
Properties properties)
Initializes the service using the servlet configuration
and the service properties. |
void |
load()
|
void |
postInit()
This methods can be used to setup things after the services has
been initialized via init. |
void |
refresh(org.apache.pluto.om.entity.PortletEntity portletEntity)
|
void |
store()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_FILE
public static final java.lang.String CONFIG_FILE
- See Also:
- Constant Field Values
DEFAULT_MAPPING
public static final java.lang.String DEFAULT_MAPPING
- See Also:
- Constant Field Values
CONFIG_MAPPING
protected static final java.lang.String CONFIG_MAPPING
- See Also:
- Constant Field Values
mapping
protected org.exolab.castor.mapping.Mapping mapping
servletContext
protected javax.servlet.ServletContext servletContext
registry
protected PortletApplicationEntityListImpl registry
portletEntitiesKeyObjectID
protected java.util.Map portletEntitiesKeyObjectID
PortletEntityRegistryServiceFileImpl
public PortletEntityRegistryServiceFileImpl()
init
public void init(javax.servlet.ServletConfig servletConfig,
Properties properties)
throws java.lang.Exception
- Description copied from class:
Service
- Initializes the service using the servlet configuration
and the service properties.
- Overrides:
init
in class Service
- Parameters:
servletConfig
- the servlet configurationproperties
- the service properties
- Throws:
java.lang.Exception
- if the initialization fails
getPortletApplicationEntityList
public org.apache.pluto.om.entity.PortletApplicationEntityList getPortletApplicationEntityList()
- Description copied from class:
PortletEntityRegistryService
- Returns the portlet application instance with the given id.
- Specified by:
getPortletApplicationEntityList
in class PortletEntityRegistryService
- Returns:
- the portlet application instance
getPortletEntity
public org.apache.pluto.om.entity.PortletEntity getPortletEntity(org.apache.pluto.om.common.ObjectID id)
- Description copied from class:
PortletEntityRegistryService
- Returns the portlet Entity with the given id.
- Specified by:
getPortletEntity
in class PortletEntityRegistryService
- Parameters:
id
- the identifier of the portlet Entity to be returned
- Returns:
- the portlet Entity
store
public void store()
throws java.io.IOException
- Specified by:
store
in class PortletEntityRegistryService
- Throws:
java.io.IOException
load
public void load()
throws java.io.IOException
- Specified by:
load
in class PortletEntityRegistryService
- Throws:
java.io.IOException
refresh
public void refresh(org.apache.pluto.om.entity.PortletEntity portletEntity)
- Specified by:
refresh
in class PortletEntityRegistryService
getPortletEntities
public java.util.Map getPortletEntities()
postInit
public void postInit()
throws java.lang.Exception
- Description copied from class:
Service
- This methods can be used to setup things after the services has
been initialized via init.
- Overrides:
postInit
in class Service
- Throws:
java.lang.Exception
- if the postInit fails for any reason
Copyright © 2003-2009 . All Rights Reserved.