org.apache.jetspeed.portal.portlets
Class FileWatchPortlet

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.portlets.AbstractInstancePortlet
          extended byorg.apache.jetspeed.portal.portlets.FileWatchPortlet
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable
Direct Known Subclasses:
FileServerPortlet, JetspeedContent, NewRSSPortlet, RSSPortlet, WMLFilePortlet

public abstract class FileWatchPortlet
extends AbstractInstancePortlet

Just like AbstractPortlet except that when its URL is modified on disk it automatically expires itself.

Version:
$Id: FileWatchPortlet.java,v 1.9 2004/02/23 04:03:34 jford Exp $
Author:
Kevin A. Burton
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
FileWatchPortlet()
           
 
Method Summary
 Expire getExpire()
          Expire this Portlet if it's URL Changes on disk.
 
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractInstancePortlet
getHandle
 
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, 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

FileWatchPortlet

public FileWatchPortlet()
Method Detail

getExpire

public Expire getExpire()
Expire this Portlet if it's URL Changes on disk.

Specified by:
getExpire in interface Cacheable
Overrides:
getExpire in class AbstractPortlet
Returns:
Expire


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