org.apache.jetspeed.portal.portlets
Class VelocityPortlet

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
All Implemented Interfaces:
Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable
Direct Known Subclasses:
CustomizerVelocityPortlet

public class VelocityPortlet
extends GenericMVCPortlet

A Velocity based portlet implementation

NOTE:This supports the pre-MVC style of template based portlet development and is supplied for backward compatibility. The prefered method is to define template-based portlets is to use

Author:
Roberto Carrasco, Raphaël Luta, Paul Spencer, Scott Weaveru
See Also:
or a sub-class there of. The GenericMVCPortlet javadoc provides instructions for using using the MVC portlet model.

, 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
VelocityPortlet()
           
 
Method Summary
 void init()
          STW: Backward compatibility: set the viewType to "Velocity".
 
Methods inherited from class org.apache.jetspeed.portal.portlets.GenericMVCPortlet
buildContent, getContent, getCurrentTemplate, getViewType, isCacheable, populateRequest, providesCustomization, 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

VelocityPortlet

public VelocityPortlet()
Method Detail

init

public void init()
          throws PortletException
STW: Backward compatibility: set the viewType to "Velocity".

Specified by:
init in interface Portlet
Overrides:
init in class GenericMVCPortlet
Throws:
PortletException


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