com.liferay.portal.mobile.device.rulegroup.action.impl
Class BaseRedirectActionHandler

java.lang.Object
  extended by com.liferay.portal.mobile.device.rulegroup.action.impl.BaseRedirectActionHandler
All Implemented Interfaces:
com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler
Direct Known Subclasses:
SimpleRedirectActionHandler, SiteRedirectActionHandler

public abstract class BaseRedirectActionHandler
extends java.lang.Object
implements com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler

Author:
Edward Han

Constructor Summary
BaseRedirectActionHandler()
           
 
Method Summary
 void applyAction(com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected abstract  java.lang.String getURL(com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler
getPropertyNames, getType
 

Constructor Detail

BaseRedirectActionHandler

public BaseRedirectActionHandler()
Method Detail

applyAction

public void applyAction(com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction,
                        javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
applyAction in interface com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getURL

protected abstract java.lang.String getURL(com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction,
                                           javax.servlet.http.HttpServletRequest request,
                                           javax.servlet.http.HttpServletResponse response)
                                    throws com.liferay.portal.kernel.exception.PortalException,
                                           com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException