com.liferay.portal.mobile.device.rulegroup
Class DefaultActionHandlerManagerImpl

java.lang.Object
  extended by com.liferay.portal.mobile.device.rulegroup.DefaultActionHandlerManagerImpl
All Implemented Interfaces:
com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager

public class DefaultActionHandlerManagerImpl
extends java.lang.Object
implements com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager

Author:
Edward C. Han

Constructor Summary
DefaultActionHandlerManagerImpl()
           
 
Method Summary
protected  void applyAction(com.liferay.portlet.mobiledevicerules.model.MDRAction mdrAction, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void applyActions(java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> mdrActions, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler getActionHandler(java.lang.String actionType)
           
 java.util.Collection<com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler> getActionHandlers()
           
 java.util.Collection<java.lang.String> getActionHandlerTypes()
           
 void registerActionHandler(com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler actionHandler)
           
 void setActionHandlers(java.util.Collection<com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler> actionHandlers)
           
 com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler unregisterActionHandler(java.lang.String actionType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultActionHandlerManagerImpl

public DefaultActionHandlerManagerImpl()
Method Detail

applyActions

public void applyActions(java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRAction> mdrActions,
                         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:
applyActions in interface com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getActionHandler

public com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler getActionHandler(java.lang.String actionType)
Specified by:
getActionHandler in interface com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager

getActionHandlers

public java.util.Collection<com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler> getActionHandlers()
Specified by:
getActionHandlers in interface com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager

getActionHandlerTypes

public java.util.Collection<java.lang.String> getActionHandlerTypes()
Specified by:
getActionHandlerTypes in interface com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager

registerActionHandler

public void registerActionHandler(com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler actionHandler)
Specified by:
registerActionHandler in interface com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager

setActionHandlers

public void setActionHandlers(java.util.Collection<com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler> actionHandlers)

unregisterActionHandler

public com.liferay.portal.kernel.mobile.device.rulegroup.action.ActionHandler unregisterActionHandler(java.lang.String actionType)
Specified by:
unregisterActionHandler in interface com.liferay.portal.kernel.mobile.device.rulegroup.ActionHandlerManager

applyAction

protected 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
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException