public abstract class BaseFindActionHelper extends Object implements FindActionHelper
Constructor and Description |
---|
BaseFindActionHelper() |
Modifier and Type | Method and Description |
---|---|
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) |
abstract long |
getGroupId(long primaryKey) |
protected abstract com.liferay.portal.kernel.portlet.PortletLayoutFinder |
getPortletLayoutFinder() |
abstract String |
getPrimaryKeyParameterName() |
abstract PortletURL |
processPortletURL(javax.servlet.http.HttpServletRequest request,
PortletURL portletURL) |
abstract void |
setPrimaryKeyParameter(PortletURL portletURL,
long primaryKey) |
protected static com.liferay.portal.kernel.model.Layout |
setTargetLayout(javax.servlet.http.HttpServletRequest request,
long groupId,
long plid) |
public void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
execute
in interface FindActionHelper
Exception
public abstract long getGroupId(long primaryKey) throws Exception
getGroupId
in interface FindActionHelper
Exception
public abstract String getPrimaryKeyParameterName()
getPrimaryKeyParameterName
in interface FindActionHelper
public abstract PortletURL processPortletURL(javax.servlet.http.HttpServletRequest request, PortletURL portletURL) throws Exception
processPortletURL
in interface FindActionHelper
Exception
public abstract void setPrimaryKeyParameter(PortletURL portletURL, long primaryKey) throws Exception
setPrimaryKeyParameter
in interface FindActionHelper
Exception
protected static com.liferay.portal.kernel.model.Layout setTargetLayout(javax.servlet.http.HttpServletRequest request, long groupId, long plid) throws Exception
Exception
protected abstract void addRequiredParameters(javax.servlet.http.HttpServletRequest request, String portletId, PortletURL portletURL)
protected abstract com.liferay.portal.kernel.portlet.PortletLayoutFinder getPortletLayoutFinder()