hu.midori.kosmos.portlet
Class AbstractKosmosPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by hu.midori.kosmos.portlet.AbstractKosmosPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig
Direct Known Subclasses:
CcMonitoringPortlet, JiraMonitoringPortlet, SfMonitoringPortlet, SvnMonitoringPortlet

public abstract class AbstractKosmosPortlet
extends javax.portlet.GenericPortlet

Each Kosmos portlet must extend this baseclass.

Version:
$Id$
Author:
Aron Gombas

Constructor Summary
AbstractKosmosPortlet()
           
 
Method Summary
protected static java.lang.String getFixedViewInitParameter(javax.portlet.PortletConfig config)
          Returns the appropriate portlet init parameter.
protected static java.lang.String getMonitoredResourceInitParameter(javax.portlet.PortletConfig config)
          Returns the appropriate portlet init parameter.
protected static java.util.List<java.lang.String> getMonitoredUrlsInitParameter(javax.portlet.PortletConfig config)
          Returns the appropriate portlet init parameter.
protected static java.lang.String getServiceUrlInitParameter(javax.portlet.PortletConfig config)
          Returns the appropriate portlet init parameter.
 void processAction(javax.portlet.ActionRequest arg0, javax.portlet.ActionResponse arg1)
          This dummy method needs only to make Liferay happy: Liferay will call this when minimizing/maximizing the portlet window, and the implementation in GenericPortlet simply throws an exception.
protected  void renderJsp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, java.lang.String jspName)
          Renders a JSP.
protected  void renderJsp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, java.lang.String jspName, java.lang.String title)
          Renders a JSP and sets the portlet title.
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, doView, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractKosmosPortlet

public AbstractKosmosPortlet()
Method Detail

renderJsp

protected void renderJsp(javax.portlet.RenderRequest request,
                         javax.portlet.RenderResponse response,
                         java.lang.String jspName,
                         java.lang.String title)
Renders a JSP and sets the portlet title.


renderJsp

protected void renderJsp(javax.portlet.RenderRequest request,
                         javax.portlet.RenderResponse response,
                         java.lang.String jspName)
Renders a JSP.


processAction

public void processAction(javax.portlet.ActionRequest arg0,
                          javax.portlet.ActionResponse arg1)
This dummy method needs only to make Liferay happy: Liferay will call this when minimizing/maximizing the portlet window, and the implementation in GenericPortlet simply throws an exception.

Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class javax.portlet.GenericPortlet

getMonitoredResourceInitParameter

protected static java.lang.String getMonitoredResourceInitParameter(javax.portlet.PortletConfig config)
Returns the appropriate portlet init parameter.


getServiceUrlInitParameter

protected static java.lang.String getServiceUrlInitParameter(javax.portlet.PortletConfig config)
Returns the appropriate portlet init parameter.


getMonitoredUrlsInitParameter

protected static java.util.List<java.lang.String> getMonitoredUrlsInitParameter(javax.portlet.PortletConfig config)
Returns the appropriate portlet init parameter.


getFixedViewInitParameter

protected static java.lang.String getFixedViewInitParameter(javax.portlet.PortletConfig config)
Returns the appropriate portlet init parameter.