Liferay 7.0-ce-b4

com.liferay.portal.struts
Class BaseFindActionHelper

java.lang.Object
  extended by com.liferay.portal.struts.BaseFindActionHelper
All Implemented Interfaces:
FindActionHelper
Direct Known Subclasses:
BaseStrutsPortletFindActionHelper

public abstract class BaseFindActionHelper
extends Object
implements FindActionHelper


Constructor Summary
protected BaseFindActionHelper()
           
 
Method Summary
protected abstract  void addRequiredParameters(javax.servlet.http.HttpServletRequest request, String portletId, PortletURL portletURL)
           
 void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected static Object[] fetchPlidAndPortletId(PermissionChecker permissionChecker, long groupId, String[] portletIds)
           
abstract  long getGroupId(long primaryKey)
           
protected static Object[] getPlidAndPortletId(ThemeDisplay themeDisplay, long groupId, long plid, String[] portletIds)
           
protected static String getPortletId(LayoutTypePortlet layoutTypePortlet, String portletId)
           
abstract  String getPrimaryKeyParameterName()
           
abstract  String[] initPortletIds()
           
abstract  PortletURL processPortletURL(javax.servlet.http.HttpServletRequest request, PortletURL portletURL)
           
abstract  void setPrimaryKeyParameter(PortletURL portletURL, long primaryKey)
           
protected static Layout setTargetLayout(javax.servlet.http.HttpServletRequest request, long groupId, long plid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFindActionHelper

protected BaseFindActionHelper()
Method Detail

execute

public void execute(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws Exception
Specified by:
execute in interface FindActionHelper
Throws:
Exception

getGroupId

public abstract long getGroupId(long primaryKey)
                         throws Exception
Specified by:
getGroupId in interface FindActionHelper
Throws:
Exception

getPrimaryKeyParameterName

public abstract String getPrimaryKeyParameterName()
Specified by:
getPrimaryKeyParameterName in interface FindActionHelper

initPortletIds

public abstract String[] initPortletIds()
Specified by:
initPortletIds in interface FindActionHelper

processPortletURL

public abstract PortletURL processPortletURL(javax.servlet.http.HttpServletRequest request,
                                             PortletURL portletURL)
                                      throws Exception
Specified by:
processPortletURL in interface FindActionHelper
Throws:
Exception

setPrimaryKeyParameter

public abstract void setPrimaryKeyParameter(PortletURL portletURL,
                                            long primaryKey)
                                     throws Exception
Specified by:
setPrimaryKeyParameter in interface FindActionHelper
Throws:
Exception

fetchPlidAndPortletId

protected static Object[] fetchPlidAndPortletId(PermissionChecker permissionChecker,
                                                long groupId,
                                                String[] portletIds)
                                         throws Exception
Throws:
Exception

getPlidAndPortletId

protected static Object[] getPlidAndPortletId(ThemeDisplay themeDisplay,
                                              long groupId,
                                              long plid,
                                              String[] portletIds)
                                       throws Exception
Throws:
Exception

getPortletId

protected static String getPortletId(LayoutTypePortlet layoutTypePortlet,
                                     String portletId)

setTargetLayout

protected static Layout setTargetLayout(javax.servlet.http.HttpServletRequest request,
                                        long groupId,
                                        long plid)
                                 throws Exception
Throws:
Exception

addRequiredParameters

protected abstract void addRequiredParameters(javax.servlet.http.HttpServletRequest request,
                                              String portletId,
                                              PortletURL portletURL)

Liferay 7.0-ce-b4