com.liferay.portal.mobile.device.rulegroup.rule.impl
Class SimpleRuleHandler

java.lang.Object
  extended by com.liferay.portal.mobile.device.rulegroup.rule.impl.SimpleRuleHandler
All Implemented Interfaces:
com.liferay.portal.kernel.mobile.device.rulegroup.rule.RuleHandler

public class SimpleRuleHandler
extends java.lang.Object
implements com.liferay.portal.kernel.mobile.device.rulegroup.rule.RuleHandler

Author:
Edward Han

Constructor Summary
SimpleRuleHandler()
           
 
Method Summary
 boolean evaluateRule(com.liferay.portlet.mobiledevicerules.model.MDRRule mdrRule, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
static java.lang.String getHandlerType()
           
 java.util.Collection<java.lang.String> getPropertyNames()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRuleHandler

public SimpleRuleHandler()
Method Detail

getHandlerType

public static java.lang.String getHandlerType()

evaluateRule

public boolean evaluateRule(com.liferay.portlet.mobiledevicerules.model.MDRRule mdrRule,
                            com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
evaluateRule in interface com.liferay.portal.kernel.mobile.device.rulegroup.rule.RuleHandler

getPropertyNames

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

getType

public java.lang.String getType()
Specified by:
getType in interface com.liferay.portal.kernel.mobile.device.rulegroup.rule.RuleHandler