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