Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.portlet
Class LiferayPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by com.liferay.portal.kernel.portlet.LiferayPortlet
All Implemented Interfaces:
EventPortlet, Portlet, PortletConfig, ResourceServingPortlet
Direct Known Subclasses:
MVCPortlet, StrutsPortlet, TagsCompilerPortlet, WAIPortlet

public class LiferayPortlet
extends GenericPortlet


Field Summary
protected  boolean addProcessActionSuccessMessage
           
 
Constructor Summary
LiferayPortlet()
           
 
Method Summary
protected  void addSuccessMessage(ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  boolean callActionMethod(ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  void doAbout(RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void doConfig(RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void doDispatch(RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void doEditDefaults(RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void doEditGuest(RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void doPreview(RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  void doPrint(RenderRequest renderRequest, RenderResponse renderResponse)
           
protected  Method getActionMethod(String actionName)
           
protected  String getRedirect(ActionRequest actionRequest, ActionResponse actionResponse)
           
 void init()
           
protected  boolean isProcessActionRequest(ActionRequest actionRequest)
           
protected  boolean isProcessPortletRequest(PortletRequest portletRequest)
           
protected  boolean isProcessRenderRequest(RenderRequest renderRequest)
           
protected  boolean isProcessResourceRequest(ResourceRequest resourceRequest)
           
protected  boolean isSessionErrorException(Throwable cause)
           
 void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
           
protected  void sendRedirect(ActionRequest actionRequest, ActionResponse actionResponse)
           
 void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse)
           
protected  String translate(PortletRequest portletRequest, String key)
           
protected  String translate(PortletRequest portletRequest, String key, Object argument)
           
protected  String translate(PortletRequest portletRequest, String key, Object[] arguments)
           
protected  void writeJSON(PortletRequest portletRequest, ActionResponse actionResponse, Object json)
           
protected  void writeJSON(PortletRequest portletRequest, MimeResponse mimeResponse, Object json)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doEdit, doHeaders, doHelp, doView, 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
 

Field Detail

addProcessActionSuccessMessage

protected boolean addProcessActionSuccessMessage
Constructor Detail

LiferayPortlet

public LiferayPortlet()
Method Detail

init

public void init()
          throws PortletException
Overrides:
init in class GenericPortlet
Throws:
PortletException

processAction

public void processAction(ActionRequest actionRequest,
                          ActionResponse actionResponse)
                   throws IOException,
                          PortletException
Specified by:
processAction in interface Portlet
Overrides:
processAction in class GenericPortlet
Throws:
IOException
PortletException

serveResource

public void serveResource(ResourceRequest resourceRequest,
                          ResourceResponse resourceResponse)
                   throws IOException,
                          PortletException
Specified by:
serveResource in interface ResourceServingPortlet
Overrides:
serveResource in class GenericPortlet
Throws:
IOException
PortletException

addSuccessMessage

protected void addSuccessMessage(ActionRequest actionRequest,
                                 ActionResponse actionResponse)

callActionMethod

protected boolean callActionMethod(ActionRequest actionRequest,
                                   ActionResponse actionResponse)
                            throws PortletException
Throws:
PortletException

doAbout

protected void doAbout(RenderRequest renderRequest,
                       RenderResponse renderResponse)
                throws IOException,
                       PortletException
Throws:
IOException
PortletException

doConfig

protected void doConfig(RenderRequest renderRequest,
                        RenderResponse renderResponse)
                 throws IOException,
                        PortletException
Throws:
IOException
PortletException

doDispatch

protected void doDispatch(RenderRequest renderRequest,
                          RenderResponse renderResponse)
                   throws IOException,
                          PortletException
Overrides:
doDispatch in class GenericPortlet
Throws:
IOException
PortletException

doEditDefaults

protected void doEditDefaults(RenderRequest renderRequest,
                              RenderResponse renderResponse)
                       throws IOException,
                              PortletException
Throws:
IOException
PortletException

doEditGuest

protected void doEditGuest(RenderRequest renderRequest,
                           RenderResponse renderResponse)
                    throws IOException,
                           PortletException
Throws:
IOException
PortletException

doPreview

protected void doPreview(RenderRequest renderRequest,
                         RenderResponse renderResponse)
                  throws IOException,
                         PortletException
Throws:
IOException
PortletException

doPrint

protected void doPrint(RenderRequest renderRequest,
                       RenderResponse renderResponse)
                throws IOException,
                       PortletException
Throws:
IOException
PortletException

getActionMethod

protected Method getActionMethod(String actionName)
                          throws NoSuchMethodException
Throws:
NoSuchMethodException

getRedirect

protected String getRedirect(ActionRequest actionRequest,
                             ActionResponse actionResponse)

isProcessActionRequest

protected boolean isProcessActionRequest(ActionRequest actionRequest)

isProcessPortletRequest

protected boolean isProcessPortletRequest(PortletRequest portletRequest)

isProcessRenderRequest

protected boolean isProcessRenderRequest(RenderRequest renderRequest)

isProcessResourceRequest

protected boolean isProcessResourceRequest(ResourceRequest resourceRequest)

isSessionErrorException

protected boolean isSessionErrorException(Throwable cause)

sendRedirect

protected void sendRedirect(ActionRequest actionRequest,
                            ActionResponse actionResponse)
                     throws IOException
Throws:
IOException

translate

protected String translate(PortletRequest portletRequest,
                           String key)

translate

protected String translate(PortletRequest portletRequest,
                           String key,
                           Object argument)

translate

protected String translate(PortletRequest portletRequest,
                           String key,
                           Object[] arguments)

writeJSON

protected void writeJSON(PortletRequest portletRequest,
                         ActionResponse actionResponse,
                         Object json)
                  throws IOException
Throws:
IOException

writeJSON

protected void writeJSON(PortletRequest portletRequest,
                         MimeResponse mimeResponse,
                         Object json)
                  throws IOException
Throws:
IOException

Liferay 6.1.2-ce-ga3