javax.portlet
Class GenericPortlet
java.lang.Object
javax.portlet.GenericPortlet
- All Implemented Interfaces:
- Portlet
- Direct Known Subclasses:
- AbstractPortlet, AdminPortlet, CrossContextSessionPortlet, DefaultPortlet, TestCachedContentPortlet, TestDispatcherPortlet, TestExceptionDuringActionPortlet, TestHelloWorldPortlet, TestPortlet, TestPortletModePortlet, TestPortletPreferencesPortlet, TestRedirectPortlet, TestResourceBundlePortlet, TestSecuredProtocolPortlet, TestSecurityPortlet, TestSessionPortlet, TestUserInformationPortlet
public abstract class GenericPortlet
- extends java.lang.Object
- implements Portlet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericPortlet
public GenericPortlet()
init
public void init()
throws PortletException
- Throws:
PortletException
getPortletConfig
public PortletConfig getPortletConfig()
getPortletName
public java.lang.String getPortletName()
getPortletContext
public PortletContext getPortletContext()
doDispatch
protected void doDispatch(RenderRequest request,
RenderResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Throws:
PortletException
PortletSecurityException
java.io.IOException
doView
protected void doView(RenderRequest request,
RenderResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Throws:
PortletException
PortletSecurityException
java.io.IOException
doHelp
protected void doHelp(RenderRequest request,
RenderResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Throws:
PortletException
PortletSecurityException
java.io.IOException
doEdit
protected void doEdit(RenderRequest request,
RenderResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Throws:
PortletException
PortletSecurityException
java.io.IOException
getResourceBundle
public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
getTitle
protected java.lang.String getTitle(RenderRequest request)
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getInitParameterNames
public java.util.Enumeration getInitParameterNames()
init
public void init(PortletConfig config)
throws PortletException
- Specified by:
init
in interface Portlet
- Throws:
PortletException
processAction
public void processAction(ActionRequest request,
ActionResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Specified by:
processAction
in interface Portlet
- Throws:
PortletException
PortletSecurityException
java.io.IOException
render
public void render(RenderRequest request,
RenderResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Specified by:
render
in interface Portlet
- Throws:
PortletException
PortletSecurityException
java.io.IOException
destroy
public void destroy()
- Specified by:
destroy
in interface Portlet