public class MVCPortlet extends LiferayPortlet
| Modifier and Type | Field and Description |
|---|---|
protected String |
aboutTemplate |
protected boolean |
clearRequestParameters |
protected String |
configTemplate |
protected boolean |
copyRequestParameters |
protected String |
editDefaultsTemplate |
protected String |
editGuestTemplate |
protected String |
editTemplate |
protected String |
helpTemplate |
protected String |
previewTemplate |
protected String |
printTemplate |
protected String |
templatePath |
protected String |
viewTemplate |
addProcessActionSuccessMessage, alwaysSendRedirect, validPathsAUTOMATIC_RESOURCE_DISPATCH| Constructor and Description |
|---|
MVCPortlet() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
callActionMethod(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected boolean |
callResourceMethod(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
protected void |
checkPermissions(PortletRequest portletRequest) |
void |
destroy() |
void |
doAbout(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doConfig(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
doDispatch(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doEdit(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doEditDefaults(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doEditGuest(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doHelp(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doPreview(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doPrint(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
doView(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected MVCCommandCache<MVCActionCommand> |
getActionMVCCommandCache() |
protected String |
getMVCPathAttributeName(String namespace) |
protected String |
getPath(PortletRequest portletRequest,
PortletResponse portletResponse) |
protected MVCCommandCache<MVCRenderCommand> |
getRenderMVCCommandCache() |
protected MVCCommandCache<MVCResourceCommand> |
getResourceMVCCommandCache() |
protected void |
hideDefaultErrorMessage(PortletRequest portletRequest) |
protected void |
hideDefaultSuccessMessage(PortletRequest portletRequest) |
protected void |
include(String path,
ActionRequest actionRequest,
ActionResponse actionResponse) |
protected void |
include(String path,
EventRequest eventRequest,
EventResponse eventResponse) |
protected void |
include(String path,
PortletRequest portletRequest,
PortletResponse portletResponse,
String lifecycle) |
protected void |
include(String path,
RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
include(String path,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
void |
init() |
protected void |
invokeHideDefaultSuccessMessage(PortletRequest portletRequest) |
void |
invokeTaglibDiscussionPagination(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
void |
processAction(ActionRequest actionRequest,
ActionResponse actionResponse) |
void |
render(RenderRequest renderRequest,
RenderResponse renderResponse) |
void |
serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
addSuccessMessage, checkPath, getActionMethod, getJSONContentType, getPaths, getRedirect, getResourceMethod, getServletContext, getTitle, initValidPaths, isAddSuccessMessage, isAlwaysSendRedirect, isEmptySessionMessages, isProcessActionRequest, isProcessPortletRequest, isProcessRenderRequest, isProcessResourceRequest, isSessionErrorException, isValidPath, sendRedirect, translate, translate, writeJSON, writeJSONdispatchAnnotatedActionMethod, dispatchAnnotatedEventMethod, dispatchAnnotatedRenderMethod, doHeaders, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletModes, getPortletName, getProcessingEventQNames, getPublicRenderParameterDefinitions, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getWindowStates, init, processEvent, renderHeadersprotected String aboutTemplate
protected boolean clearRequestParameters
protected String configTemplate
protected boolean copyRequestParameters
protected String editDefaultsTemplate
protected String editGuestTemplate
protected String editTemplate
protected String helpTemplate
protected String previewTemplate
protected String printTemplate
protected String templatePath
protected String viewTemplate
public void destroy()
destroy in interface Portletdestroy in class GenericPortletpublic void doAbout(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doAbout in class LiferayPortletIOExceptionPortletExceptionpublic void doConfig(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doConfig in class LiferayPortletIOExceptionPortletExceptionpublic void doEdit(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doEdit in class GenericPortletIOExceptionPortletExceptionpublic void doEditDefaults(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doEditDefaults in class LiferayPortletIOExceptionPortletExceptionpublic void doEditGuest(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doEditGuest in class LiferayPortletIOExceptionPortletExceptionpublic void doHelp(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doHelp in class GenericPortletIOExceptionPortletExceptionpublic void doPreview(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doPreview in class LiferayPortletIOExceptionPortletExceptionpublic void doPrint(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doPrint in class LiferayPortletIOExceptionPortletExceptionpublic void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doView in class GenericPortletIOExceptionPortletExceptionpublic void init()
throws PortletException
init in class LiferayPortletPortletException@Deprecated public void invokeTaglibDiscussionPagination(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, PortletException
IOExceptionPortletExceptionpublic void processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws IOException, PortletException
processAction in interface PortletprocessAction in class LiferayPortletIOExceptionPortletExceptionpublic void render(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
render in interface Portletrender in class GenericPortletIOExceptionPortletExceptionpublic void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, PortletException
serveResource in interface ResourceServingPortletserveResource in class LiferayPortletIOExceptionPortletExceptionprotected boolean callActionMethod(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException
callActionMethod in class LiferayPortletPortletExceptionprotected boolean callResourceMethod(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws PortletException
callResourceMethod in class LiferayPortletPortletExceptionprotected void checkPermissions(PortletRequest portletRequest) throws Exception
Exceptionprotected void doDispatch(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doDispatch in class LiferayPortletIOExceptionPortletExceptionprotected MVCCommandCache<MVCActionCommand> getActionMVCCommandCache()
protected String getMVCPathAttributeName(String namespace)
protected String getPath(PortletRequest portletRequest, PortletResponse portletResponse)
protected MVCCommandCache<MVCRenderCommand> getRenderMVCCommandCache()
protected MVCCommandCache<MVCResourceCommand> getResourceMVCCommandCache()
protected void hideDefaultErrorMessage(PortletRequest portletRequest)
protected void hideDefaultSuccessMessage(PortletRequest portletRequest)
protected void include(String path,
ActionRequest actionRequest,
ActionResponse actionResponse)
throws IOException,
PortletException
IOExceptionPortletExceptionprotected void include(String path,
EventRequest eventRequest,
EventResponse eventResponse)
throws IOException,
PortletException
IOExceptionPortletExceptionprotected void include(String path,
PortletRequest portletRequest,
PortletResponse portletResponse,
String lifecycle)
throws IOException,
PortletException
IOExceptionPortletExceptionprotected void include(String path,
RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
IOExceptionPortletExceptionprotected void include(String path,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws IOException,
PortletException
IOExceptionPortletExceptionprotected void invokeHideDefaultSuccessMessage(PortletRequest portletRequest)