org.jboss.portal.widget
Class AbstractWidgetPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.jboss.portal.widget.AbstractWidgetPortlet
All Implemented Interfaces:
javax.portlet.EventPortlet, javax.portlet.Portlet, javax.portlet.PortletConfig, javax.portlet.ResourceServingPortlet
Direct Known Subclasses:
GGWidgetPortlet, NetvibesWidgetPortlet

public abstract class AbstractWidgetPortlet
extends javax.portlet.GenericPortlet

Version:
$Revision$
Author:
Emanuel Muckenhuber

Field Summary
protected  javax.portlet.PortletMode EDIT_CONTENT
          .
static java.lang.String INIT_PARAM_CONNECTION_TIMEOUT
          .
static java.lang.String INIT_PARAM_ENTRY_EXPIRATION
          .
static java.lang.String INIT_PARAM_FETCH_WIDGETS_ON_LOOKUP
          .
static java.lang.String INIT_PARAM_QUERY_EXPIRATION
          .
 
Constructor Summary
AbstractWidgetPortlet()
           
 
Method Summary
 void destroy()
           
protected abstract  WidgetProvider getProvider()
           
 void init()
           
 
Methods inherited from class javax.portlet.GenericPortlet
doDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, render, serveResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT_PARAM_CONNECTION_TIMEOUT

public static final java.lang.String INIT_PARAM_CONNECTION_TIMEOUT
.

See Also:
Constant Field Values

INIT_PARAM_ENTRY_EXPIRATION

public static final java.lang.String INIT_PARAM_ENTRY_EXPIRATION
.

See Also:
Constant Field Values

INIT_PARAM_QUERY_EXPIRATION

public static final java.lang.String INIT_PARAM_QUERY_EXPIRATION
.

See Also:
Constant Field Values

INIT_PARAM_FETCH_WIDGETS_ON_LOOKUP

public static final java.lang.String INIT_PARAM_FETCH_WIDGETS_ON_LOOKUP
.

See Also:
Constant Field Values

EDIT_CONTENT

protected final javax.portlet.PortletMode EDIT_CONTENT
.

Constructor Detail

AbstractWidgetPortlet

public AbstractWidgetPortlet()
Method Detail

getProvider

protected abstract WidgetProvider getProvider()
Returns:
WidgetProvider

init

public void init()
          throws javax.portlet.PortletException
Overrides:
init in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException

destroy

public void destroy()
Specified by:
destroy in interface javax.portlet.Portlet
Overrides:
destroy in class javax.portlet.GenericPortlet