Liferay 6.2-ce-ga5

com.liferay.util.bridges.mvc
Class MVCPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by com.liferay.portal.kernel.portlet.LiferayPortlet
          extended by com.liferay.util.bridges.mvc.MVCPortlet
All Implemented Interfaces:
EventPortlet, Portlet, PortletConfig, ResourceServingPortlet
Direct Known Subclasses:
FreeMarkerPortlet, JSPPortlet

public class MVCPortlet
extends LiferayPortlet


Field Summary
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
           
 
Fields inherited from class com.liferay.portal.kernel.portlet.LiferayPortlet
addProcessActionSuccessMessage, alwaysSendRedirect, validPaths
 
Fields inherited from class javax.portlet.GenericPortlet
AUTOMATIC_RESOURCE_DISPATCH
 
Constructor Summary
MVCPortlet()
           
 
Method Summary
protected  boolean callActionMethod(ActionRequest actionRequest, ActionResponse actionResponse)
           
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, checkPath, getActionMethod, getPaths, getRedirect, getTitle, initValidPaths, isAlwaysSendRedirect, isProcessActionRequest, isProcessPortletRequest, isProcessRenderRequest, isProcessResourceRequest, isSessionErrorException, isValidPath, 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, init, processEvent, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MVCPortlet

public MVCPortlet()
Method Detail

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

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

Liferay 6.2-ce-ga5