com.liferay.portal.mobile.device.rulegroup
Class DefaultRuleGroupProcessorImpl
java.lang.Object
com.liferay.portal.mobile.device.rulegroup.DefaultRuleGroupProcessorImpl
- All Implemented Interfaces:
- RuleGroupProcessor
public class DefaultRuleGroupProcessorImpl
- extends Object
- implements RuleGroupProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRuleGroupProcessorImpl
public DefaultRuleGroupProcessorImpl()
evaluateRuleGroups
public MDRRuleGroupInstance evaluateRuleGroups(ThemeDisplay themeDisplay)
throws SystemException
- Specified by:
evaluateRuleGroups
in interface RuleGroupProcessor
- Throws:
SystemException
getRuleHandler
public RuleHandler getRuleHandler(String ruleType)
- Specified by:
getRuleHandler
in interface RuleGroupProcessor
getRuleHandlers
public Collection<RuleHandler> getRuleHandlers()
- Specified by:
getRuleHandlers
in interface RuleGroupProcessor
getRuleHandlerTypes
public Collection<String> getRuleHandlerTypes()
- Specified by:
getRuleHandlerTypes
in interface RuleGroupProcessor
registerRuleHandler
public void registerRuleHandler(RuleHandler ruleHandler)
- Specified by:
registerRuleHandler
in interface RuleGroupProcessor
setMDRRuleGroupInstanceLocalService
public void setMDRRuleGroupInstanceLocalService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
setMDRRuleGroupLocalService
public void setMDRRuleGroupLocalService(MDRRuleGroupLocalService mdrRuleGroupLocalService)
setRuleHandlers
public void setRuleHandlers(Collection<RuleHandler> ruleHandlers)
unregisterRuleHandler
public RuleHandler unregisterRuleHandler(String ruleType)
- Specified by:
unregisterRuleHandler
in interface RuleGroupProcessor
evaluateRule
protected boolean evaluateRule(MDRRule rule,
ThemeDisplay themeDisplay)
evaluateRuleGroupInstances
protected MDRRuleGroupInstance evaluateRuleGroupInstances(String className,
long classPK,
ThemeDisplay themeDisplay)
throws SystemException
- Throws:
SystemException