org.apache.jetspeed.demo.simple
Class AttributeScopeServlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.portals.bridges.common.GenericServletPortlet
          extended by org.apache.jetspeed.demo.simple.AttributeScopeServlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class AttributeScopeServlet
extends org.apache.portals.bridges.common.GenericServletPortlet

This class only exists to maintain the Help and View page names. As soon as the container/engine will retain the preferences this class can be replaced by configuring portlet preferences.

Version:
$Id: AttributeScopeServlet.java 553014 2007-07-03 23:10:53Z ate $

Field Summary
 
Fields inherited from class org.apache.portals.bridges.common.GenericServletPortlet
PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
 
Constructor Summary
AttributeScopeServlet()
          Set default page values when class is created
 
Method Summary
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse actionResponse)
          Increment attributes in different scopes
 
Methods inherited from class org.apache.portals.bridges.common.GenericServletPortlet
doCustom, doEdit, doHelp, doView, getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, init, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeScopeServlet

public AttributeScopeServlet()
Set default page values when class is created

Method Detail

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse actionResponse)
                   throws javax.portlet.PortletException,
                          java.io.IOException
Increment attributes in different scopes

Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class org.apache.portals.bridges.common.GenericServletPortlet
Throws:
javax.portlet.PortletException
java.io.IOException
See Also:
GenericPortlet.processAction(javax.portlet.ActionRequest, javax.portlet.ActionResponse)


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.