public class LayoutPrototypePortlet
extends com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet
| Constructor and Description |
|---|
LayoutPrototypePortlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeDisplayStyle(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
void |
deleteLayoutPrototypes(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
protected void |
doDispatch(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse) |
void |
editLayoutPrototype(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse) |
protected boolean |
isSessionErrorException(java.lang.Throwable cause) |
void |
resetMergeFailCount(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
Resets the number of failed merge attempts for the page template, which
is accessed from the action request's
layoutPrototypeId
param. |
protected void |
setLayoutPrototypeService(com.liferay.portal.kernel.service.LayoutPrototypeService layoutPrototypeService) |
callActionMethod, callResourceMethod, checkPermissions, destroy, doAbout, doConfig, doEdit, doEditDefaults, doEditGuest, doHelp, doPreview, doPrint, doView, getMVCPathAttributeName, getPath, hideDefaultErrorMessage, hideDefaultSuccessMessage, include, include, include, include, include, init, invokeHideDefaultSuccessMessage, invokeTaglibDiscussion, invokeTaglibDiscussionPagination, processAction, render, serveResourceaddSuccessMessage, checkPath, getActionMethod, getJSONContentType, getPaths, getRedirect, getResourceMethod, getServletContext, getTitle, initValidPaths, isAlwaysSendRedirect, isEmptySessionMessages, isProcessActionRequest, isProcessPortletRequest, isProcessRenderRequest, isProcessResourceRequest, isValidPath, sendRedirect, translate, translate, writeJSON, writeJSONdoHeaders, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, init, processEventpublic void changeDisplayStyle(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
public void deleteLayoutPrototypes(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void editLayoutPrototype(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
java.lang.Exceptionpublic void resetMergeFailCount(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws java.lang.Exception
layoutPrototypeId
param.
No merge from the page template to the actual page(s) is performed at this point.
actionRequest - the action requestjava.lang.Exception - if an exception occurredprotected void doDispatch(javax.portlet.RenderRequest renderRequest,
javax.portlet.RenderResponse renderResponse)
throws java.io.IOException,
javax.portlet.PortletException
doDispatch in class com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortletjava.io.IOExceptionjavax.portlet.PortletExceptionprotected boolean isSessionErrorException(java.lang.Throwable cause)
isSessionErrorException in class com.liferay.portal.kernel.portlet.LiferayPortletprotected void setLayoutPrototypeService(com.liferay.portal.kernel.service.LayoutPrototypeService layoutPrototypeService)