|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the interface to the Portal Persistence Service for storing and retrieving portlet instances.
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
PortletInstance |
getInstance(Portlet portlet,
Profile profile)
Retrieves a PersistentPortlet instance for this portlet. |
PortletInstance |
getInstance(Portlet portlet,
org.apache.turbine.util.RunData data)
Retrieves a portlet instance from persistent storage for the given portlet. |
java.util.List |
getInstances(Profile profile)
Retrieves a List of portlet instances for the given profile. |
java.util.List |
getInstances(org.apache.turbine.util.RunData data)
Retrieves a List of portlet instances for the current profile. |
void |
store(PortletInstance instance)
Store a portlet instance to permenant storage. |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public void store(PortletInstance instance) throws PortalPersistenceException
instance
- The portlet instance to be stored.
PortalPersistenceException
- if there were problems
storing the PSMLDocument to persistent storage.public PortletInstance getInstance(Portlet portlet, org.apache.turbine.util.RunData data)
portlet
- The portlet to retrieve an instance fordata
- Request rundata.
public PortletInstance getInstance(Portlet portlet, Profile profile)
portlet
- The portlet to retrieve an instance forprofile
- Retrieve instance from this profile.
public java.util.List getInstances(org.apache.turbine.util.RunData data) throws PortletException
data
- Request rundata.
PortletException
public java.util.List getInstances(Profile profile) throws PortletException
profile
- Retrieve instances from this profile.
PortletException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |