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