@Service(value="blPageDefaultRuleProcessor") public class PageDefaultRuleProcessor extends AbstractPageRuleProcessor
Page.getPageMatchRules()
into a single MVEL expression.Constructor and Description |
---|
PageDefaultRuleProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkForMatch(PageDTO page,
Map<String,Object> vars)
Returns true if all of the rules associated with the passed in
Page
item match based on the passed in vars. |
executeExpression, getContextClassNames, getParserContext, setContextClassNames
public boolean checkForMatch(PageDTO page, Map<String,Object> vars)
Page
item match based on the passed in vars.
Also returns true if no rules are present for the passed in item.sc
- - a structured content item to testvars
- - a map of objects used by the rule MVEL expressionsCopyright © 2014. All rights reserved.