| java.lang.Object javax.portlet.GenericPortlet __PACKAGE__.__NAME__
__NAME__ | public class __NAME__ extends GenericPortlet (Code) | | The GenericPortlet class provides a default implementation
for the Portlet interface.
It is recommended not to extend the Portlet interface directly.
Rather, a portlet should derive
from this or any other derived class and use the provided helper
methods for the different modes.
|
__NAME__ | public __NAME__()(Code) | | |
doCustom | protected void doCustom(PortletRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code) | | Helper method to serve up the custom modes.
The default implementation throws an exception.
Parameters: request - the portlet request Parameters: response - the render response exception: PortletException - if the portlet cannot fulfilling the request exception: UnavailableException - if the portlet is unavailable to perform render exception: PortletSecurityException - if the portlet cannot fullfill this request because of security reasons exception: IOException - if the streaming causes an I/O problem |
doEdit | protected void doEdit(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code) | | Helper method to serve up the EDIT mode.
The default implementation throws an exception.
Parameters: request - the portlet request Parameters: response - the render response exception: PortletException - if the portlet cannot fulfilling the request exception: UnavailableException - if the portlet is unavailable to perform render exception: PortletSecurityException - if the portlet cannot fullfill this request because of security reasons exception: IOException - if the streaming causes an I/O problem |
doHelp | protected void doHelp(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code) | | Helper method to serve up the HELP mode.
The default implementation throws an exception.
Parameters: request - the portlet request Parameters: response - the render response exception: PortletException - if the portlet cannot fulfilling the request exception: UnavailableException - if the portlet is unavailable to perform render exception: PortletSecurityException - if the portlet cannot fullfill this request because of security reasons exception: IOException - if the streaming causes an I/O problem |
doView | protected void doView(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code) | | Helper method to serve up the mandatory VIEW mode.
The default implementation throws an exception.
Parameters: request - the portlet request Parameters: response - the render response exception: PortletException - if the portlet cannot fulfilling the request exception: UnavailableException - if the portlet is unavailable to perform render exception: PortletSecurityException - if the portlet cannot fullfill this request because of security reasons exception: IOException - if the streaming causes an I/O problem |
Methods inherited from javax.portlet.GenericPortlet | public void destroy()(Code)(Java Doc) protected void doDispatch(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code)(Java Doc) protected void doEdit(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code)(Java Doc) protected void doHelp(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code)(Java Doc) protected void doView(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code)(Java Doc) public String getInitParameter(java.lang.String name)(Code)(Java Doc) public java.util.Enumeration getInitParameterNames()(Code)(Java Doc) public PortletConfig getPortletConfig()(Code)(Java Doc) public PortletContext getPortletContext()(Code)(Java Doc) public String getPortletName()(Code)(Java Doc) public java.util.ResourceBundle getResourceBundle(java.util.Locale locale)(Code)(Java Doc) protected java.lang.String getTitle(RenderRequest request)(Code)(Java Doc) public void init(PortletConfig config) throws PortletException(Code)(Java Doc) public void init() throws PortletException(Code)(Java Doc) public void processAction(ActionRequest request, ActionResponse response) throws PortletException, java.io.IOException(Code)(Java Doc) public void render(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException(Code)(Java Doc)
|
|
|