Liferay 7.0-ce-b4

com.liferay.portal.struts
Class FindStrutsAction

java.lang.Object
  extended by com.liferay.portal.kernel.struts.BaseStrutsAction
      extended by com.liferay.portal.struts.FindStrutsAction
All Implemented Interfaces:
StrutsAction

public abstract class FindStrutsAction
extends BaseStrutsAction


Constructor Summary
FindStrutsAction()
           
 
Method Summary
 String execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected abstract  long getGroupId(long primaryKey)
           
protected abstract  String getPrimaryKeyParameterName()
           
protected abstract  String getStrutsAction(javax.servlet.http.HttpServletRequest request, String portletId)
           
protected abstract  String[] initPortletIds()
           
protected  PortletURL processPortletURL(javax.servlet.http.HttpServletRequest request, PortletURL portletURL)
           
protected  void setPrimaryKeyParameter(PortletURL portletURL, long primaryKey)
           
 
Methods inherited from class com.liferay.portal.kernel.struts.BaseStrutsAction
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindStrutsAction

public FindStrutsAction()
Method Detail

execute

public String execute(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws Exception
Specified by:
execute in interface StrutsAction
Overrides:
execute in class BaseStrutsAction
Throws:
Exception

getGroupId

protected abstract long getGroupId(long primaryKey)
                            throws Exception
Throws:
Exception

getPrimaryKeyParameterName

protected abstract String getPrimaryKeyParameterName()

getStrutsAction

protected abstract String getStrutsAction(javax.servlet.http.HttpServletRequest request,
                                          String portletId)

initPortletIds

protected abstract String[] initPortletIds()

processPortletURL

protected PortletURL processPortletURL(javax.servlet.http.HttpServletRequest request,
                                       PortletURL portletURL)
                                throws Exception
Throws:
Exception

setPrimaryKeyParameter

protected void setPrimaryKeyParameter(PortletURL portletURL,
                                      long primaryKey)
                               throws Exception
Throws:
Exception

Liferay 7.0-ce-b4