Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.mobile.device.rulegroup.DefaultRuleGroupProcessorImpl
All Implemented Interfaces:
RuleGroupProcessor

public class DefaultRuleGroupProcessorImpl
extends Object
implements RuleGroupProcessor


Constructor Summary
DefaultRuleGroupProcessorImpl()
           
 
Method Summary
protected  boolean evaluateRule(MDRRule rule, ThemeDisplay themeDisplay)
           
protected  MDRRuleGroupInstance evaluateRuleGroupInstances(String className, long classPK, ThemeDisplay themeDisplay)
           
 MDRRuleGroupInstance evaluateRuleGroups(ThemeDisplay themeDisplay)
           
 RuleHandler getRuleHandler(String ruleType)
           
 Collection<RuleHandler> getRuleHandlers()
           
 Collection<String> getRuleHandlerTypes()
           
 void registerRuleHandler(RuleHandler ruleHandler)
           
 void setMDRRuleGroupInstanceLocalService(MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService)
           
 void setMDRRuleGroupLocalService(MDRRuleGroupLocalService mdrRuleGroupLocalService)
           
 void setRuleHandlers(Collection<RuleHandler> ruleHandlers)
           
 RuleHandler unregisterRuleHandler(String ruleType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRuleGroupProcessorImpl

public DefaultRuleGroupProcessorImpl()
Method Detail

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

Liferay 6.1.2-ce-ga3