public class PortletEntityRegistryServiceFileImpl extends PortletEntityRegistryService
PortletEntityRegistryService.
This store persit the PortletEntityRegistry informations.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE |
protected static java.lang.String |
CONFIG_MAPPING |
static java.lang.String |
DEFAULT_MAPPING |
protected org.exolab.castor.mapping.Mapping |
mapping |
protected java.util.Map |
portletEntitiesKeyObjectID |
protected PortletApplicationEntityListImpl |
registry |
protected javax.servlet.ServletContext |
servletContext |
Constructor and Description |
---|
PortletEntityRegistryServiceFileImpl() |
Modifier and Type | Method and Description |
---|---|
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() |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String DEFAULT_MAPPING
protected static final java.lang.String CONFIG_MAPPING
protected org.exolab.castor.mapping.Mapping mapping
protected javax.servlet.ServletContext servletContext
protected PortletApplicationEntityListImpl registry
protected java.util.Map portletEntitiesKeyObjectID
public PortletEntityRegistryServiceFileImpl()
public void init(javax.servlet.ServletConfig servletConfig, Properties properties) throws java.lang.Exception
Service
public org.apache.pluto.om.entity.PortletApplicationEntityList getPortletApplicationEntityList()
PortletEntityRegistryService
getPortletApplicationEntityList
in class PortletEntityRegistryService
public org.apache.pluto.om.entity.PortletEntity getPortletEntity(org.apache.pluto.om.common.ObjectID id)
PortletEntityRegistryService
getPortletEntity
in class PortletEntityRegistryService
id
- the identifier of the portlet Entity to be returnedpublic void store() throws java.io.IOException
store
in class PortletEntityRegistryService
java.io.IOException
public void load() throws java.io.IOException
load
in class PortletEntityRegistryService
java.io.IOException
public void refresh(org.apache.pluto.om.entity.PortletEntity portletEntity)
refresh
in class PortletEntityRegistryService
public java.util.Map getPortletEntities()
Copyright © 2003-2013 . All Rights Reserved.