org.apache.jetspeed.portal.portlets
Class AbstractInstancePortlet

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.portlets.AbstractInstancePortlet
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable
Direct Known Subclasses:
BogusPortlet, FileWatchPortlet, GenericMVCPortlet, IFramePortlet, RedirectPortlet, WebClippingPortlet, WebPagePortlet, WebPagePortlet2

public class AbstractInstancePortlet
extends AbstractPortlet

Extend AbstractPortlet to re-define the handle used for portlet caching: This handle uses the portlet's unique id and the portal page's id to form a portlet instance id for caching.

Author:
David Sean Taylor, Glenn R. Golden
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
content
 
Fields inherited from interface org.apache.jetspeed.portal.Portlet
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL
 
Constructor Summary
AbstractInstancePortlet()
           
 
Method Summary
static java.lang.Object getHandle(java.lang.Object config)
          Construct the handle used for caching.
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet
allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getContent, getCreationTime, getDescription, getDescription, getExpirationMillis, getExpire, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, init, isCacheable, isClosed, isMinimized, isShowTitleBar, providesCustomization, refresh, setAttribute, setCacheable, setCachedObject, setClosed, setContent, setContent, setContent, setCreationTime, setDescription, setExpirationMillis, setHandle, setID, setImage, setMinimized, setName, setPortletConfig, setTitle, setTitle, supportsType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInstancePortlet

public AbstractInstancePortlet()
Method Detail

getHandle

public static java.lang.Object getHandle(java.lang.Object config)
Construct the handle used for caching.

Parameters:
config - The config object, expected to be a PortletConfig.


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.