public class VelocityPortlet
extends javax.portlet.GenericPortlet
Constructor and Description |
---|
VelocityPortlet() |
Modifier and Type | Method and Description |
---|---|
void |
doEdit(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
void |
doHelp(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
void |
doView(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
protected String |
getTemplateId(String name) |
void |
init(javax.portlet.PortletConfig portletConfig) |
protected void |
mergeTemplate(String templateId,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
protected void |
mergeTemplate(String templateId,
com.liferay.portal.kernel.template.Template template,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
protected void |
prepareTemplate(com.liferay.portal.kernel.template.Template template,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
void |
processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
serveResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
destroy, dispatchAnnotatedActionMethod, dispatchAnnotatedEventMethod, dispatchAnnotatedRenderMethod, doDispatch, doHeaders, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletModes, getPortletName, getProcessingEventQNames, getPublicRenderParameterDefinitions, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, getWindowStates, init, processEvent, render, renderHeaders
public void doEdit(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse) throws IOException, javax.portlet.PortletException
doEdit
in class javax.portlet.GenericPortlet
IOException
javax.portlet.PortletException
public void doHelp(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse) throws javax.portlet.PortletException
doHelp
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
public void doView(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse) throws javax.portlet.PortletException
doView
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
public void init(javax.portlet.PortletConfig portletConfig) throws javax.portlet.PortletException
init
in interface javax.portlet.Portlet
init
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
public void processAction(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse) throws javax.portlet.PortletException
processAction
in interface javax.portlet.Portlet
processAction
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
public void serveResource(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws IOException, javax.portlet.PortletException
serveResource
in interface javax.portlet.ResourceServingPortlet
serveResource
in class javax.portlet.GenericPortlet
IOException
javax.portlet.PortletException
protected String getTemplateId(String name)
protected void mergeTemplate(String templateId, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse) throws Exception
Exception
protected void mergeTemplate(String templateId, com.liferay.portal.kernel.template.Template template, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse) throws Exception
Exception
protected void prepareTemplate(com.liferay.portal.kernel.template.Template template, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)