com.liferay.util.bridges.mvc
Class MVCPortlet
java.lang.Object
javax.portlet.GenericPortlet
com.liferay.portal.kernel.portlet.LiferayPortlet
com.liferay.util.bridges.mvc.MVCPortlet
- All Implemented Interfaces:
- EventPortlet, Portlet, PortletConfig, ResourceServingPortlet
- Direct Known Subclasses:
- JSPPortlet, TranslatorPortlet
public class MVCPortlet
- extends LiferayPortlet
Method Summary |
protected boolean |
callActionMethod(ActionRequest actionRequest,
ActionResponse actionResponse)
|
protected void |
checkPath(String path)
|
protected void |
checkPermissions(PortletRequest portletRequest)
|
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 String |
getPath(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()
|
void |
invokeTaglibDiscussion(ActionRequest actionRequest,
ActionResponse actionResponse)
|
void |
processAction(ActionRequest actionRequest,
ActionResponse actionResponse)
|
void |
serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
|
Methods inherited from class com.liferay.portal.kernel.portlet.LiferayPortlet |
addSuccessMessage, getActionMethod, getRedirect, isProcessActionRequest, isProcessPortletRequest, isProcessRenderRequest, isProcessResourceRequest, isSessionErrorException, sendRedirect, translate, translate, translate, writeJSON, writeJSON |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doHeaders, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processEvent, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
aboutTemplate
protected String aboutTemplate
clearRequestParameters
protected boolean clearRequestParameters
configTemplate
protected String configTemplate
copyRequestParameters
protected boolean copyRequestParameters
editDefaultsTemplate
protected String editDefaultsTemplate
editGuestTemplate
protected String editGuestTemplate
editTemplate
protected String editTemplate
helpTemplate
protected String helpTemplate
previewTemplate
protected String previewTemplate
printTemplate
protected String printTemplate
templatePath
protected String templatePath
viewTemplate
protected String viewTemplate
MVCPortlet
public MVCPortlet()
doAbout
public void doAbout(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doAbout
in class LiferayPortlet
- Throws:
IOException
PortletException
doConfig
public void doConfig(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doConfig
in class LiferayPortlet
- Throws:
IOException
PortletException
doEdit
public void doEdit(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doEdit
in class GenericPortlet
- Throws:
IOException
PortletException
doEditDefaults
public void doEditDefaults(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doEditDefaults
in class LiferayPortlet
- Throws:
IOException
PortletException
doEditGuest
public void doEditGuest(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doEditGuest
in class LiferayPortlet
- Throws:
IOException
PortletException
doHelp
public void doHelp(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doHelp
in class GenericPortlet
- Throws:
IOException
PortletException
doPreview
public void doPreview(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doPreview
in class LiferayPortlet
- Throws:
IOException
PortletException
doPrint
public void doPrint(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doPrint
in class LiferayPortlet
- Throws:
IOException
PortletException
doView
public void doView(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doView
in class GenericPortlet
- Throws:
IOException
PortletException
init
public void init()
throws PortletException
- Overrides:
init
in class LiferayPortlet
- Throws:
PortletException
invokeTaglibDiscussion
public void invokeTaglibDiscussion(ActionRequest actionRequest,
ActionResponse actionResponse)
throws Exception
- Throws:
Exception
processAction
public void processAction(ActionRequest actionRequest,
ActionResponse actionResponse)
throws IOException,
PortletException
- Specified by:
processAction
in interface Portlet
- Overrides:
processAction
in class LiferayPortlet
- Throws:
IOException
PortletException
serveResource
public void serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws IOException,
PortletException
- Specified by:
serveResource
in interface ResourceServingPortlet
- Overrides:
serveResource
in class LiferayPortlet
- Throws:
IOException
PortletException
callActionMethod
protected boolean callActionMethod(ActionRequest actionRequest,
ActionResponse actionResponse)
throws PortletException
- Overrides:
callActionMethod
in class LiferayPortlet
- Throws:
PortletException
checkPath
protected void checkPath(String path)
throws PortletException
- Throws:
PortletException
checkPermissions
protected void checkPermissions(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
doDispatch
protected void doDispatch(RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Overrides:
doDispatch
in class LiferayPortlet
- Throws:
IOException
PortletException
getPath
protected String getPath(PortletRequest portletRequest)
include
protected void include(String path,
ActionRequest actionRequest,
ActionResponse actionResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException
include
protected void include(String path,
EventRequest eventRequest,
EventResponse eventResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException
include
protected void include(String path,
PortletRequest portletRequest,
PortletResponse portletResponse,
String lifecycle)
throws IOException,
PortletException
- Throws:
IOException
PortletException
include
protected void include(String path,
RenderRequest renderRequest,
RenderResponse renderResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException
include
protected void include(String path,
ResourceRequest resourceRequest,
ResourceResponse resourceResponse)
throws IOException,
PortletException
- Throws:
IOException
PortletException