public abstract class NodePortlet
extends javax.portlet.GenericPortlet
| Modifier and Type | Field and Description |
|---|---|
static String |
NODE_RESOURCE_ID |
| Constructor and Description |
|---|
NodePortlet() |
| Modifier and Type | Method and Description |
|---|---|
protected NodeBean |
generateNodeBean(org.gatein.api.navigation.Node node,
org.gatein.api.site.SiteId siteId,
boolean showEmptyCategory) |
protected abstract int |
getNodeLevel(javax.portlet.PortletRequest request) |
protected boolean |
getShowEmptyCategory(javax.portlet.PortletRequest request) |
void |
serveResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
The serveResource method is used for handling AJAX requests.
|
destroy, doDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, init, processAction, processEvent, renderpublic static final String NODE_RESOURCE_ID
public void serveResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
throws javax.portlet.PortletException,
IOException
serveResource in interface javax.portlet.ResourceServingPortletserveResource in class javax.portlet.GenericPortletrequest - the resource requestresponse - the resource responsejavax.portlet.PortletException - if the portlet has problems fulfilling the rendering requestIOException - if the streaming causes an I/O problemGenericPortlet.serveResource(javax.portlet.ResourceRequest, javax.portlet.ResourceResponse)protected NodeBean generateNodeBean(org.gatein.api.navigation.Node node, org.gatein.api.site.SiteId siteId, boolean showEmptyCategory)
protected boolean getShowEmptyCategory(javax.portlet.PortletRequest request)
protected abstract int getNodeLevel(javax.portlet.PortletRequest request)
Copyright © 2018 JBoss by Red Hat. All Rights Reserved.