org.apache.jetspeed.portal.portlets
Class CustomizerVelocityPortlet

java.lang.Object
  extended byorg.apache.jetspeed.portal.portlets.AbstractPortlet
      extended byorg.apache.jetspeed.portal.portlets.AbstractInstancePortlet
          extended byorg.apache.jetspeed.portal.portlets.GenericMVCPortlet
              extended byorg.apache.jetspeed.portal.portlets.VelocityPortlet
                  extended byorg.apache.jetspeed.portal.portlets.CustomizerVelocityPortlet
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable
Direct Known Subclasses:
DatabaseBrowserPortlet

public class CustomizerVelocityPortlet
extends VelocityPortlet

This subclass of VelocityPortlet should be used as base portlet for all VelocityPortlets that implement their own customizer

NOTE:This supports the pre-MVC style of template based portlet development. The perefered method for defining customization is to set a parameter named "provides.customization" in the portlet config to either "true" or "false" depending on whether or not that portlet will provide it's own customizer. The portlet should also being using @see org.apache.jetspeed.portal.portlets.GenericMVCPortlet or a sub-class there of.

Author:
RaphaŽl Luta
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.portal.portlets.GenericMVCPortlet
DOC_URL, IS_CACHEABLE, PORTLET, PORTLET_CONFIG, PORTLET_ID, RENDERING_DELAYED, RUNDATA, SIMULATE_DELAY, SKIN, TEMPLATE, VIEW_TYPE
 
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
CustomizerVelocityPortlet()
           
 
Method Summary
 boolean providesCustomization()
          Whether or not this portlet provides it's own customizer.
 
Methods inherited from class org.apache.jetspeed.portal.portlets.VelocityPortlet
init
 
Methods inherited from class org.apache.jetspeed.portal.portlets.GenericMVCPortlet
buildContent, getContent, getCurrentTemplate, getViewType, isCacheable, populateRequest, renderJspTemplate, setViewType, useDelayedRendering
 
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, getCreationTime, getDescription, getDescription, getExpirationMillis, getExpire, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, isClosed, isMinimized, isShowTitleBar, 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

CustomizerVelocityPortlet

public CustomizerVelocityPortlet()
Method Detail

providesCustomization

public boolean providesCustomization()
Description copied from class: GenericMVCPortlet
Whether or not this portlet provides it's own customizer. This can be set at the registry level by adding a boolean paramter "provides.customization" Defaults to "false"

Specified by:
providesCustomization in interface Portlet
Overrides:
providesCustomization in class GenericMVCPortlet
Returns:
true if the portlet does its own customization


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