|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.cms.structure.service.AbstractStructuredContentRuleProcessor
org.broadleafcommerce.cms.structure.service.StructuredContentDefaultRuleProcessor
@Service(value="blContentDefaultRuleProcessor") public class StructuredContentDefaultRuleProcessor
By default, this rule processor combines all of the rules from
StructuredContent.getStructuredContentMatchRules()
into a single MVEL expression.
| Constructor Summary | |
|---|---|
StructuredContentDefaultRuleProcessor()
|
|
| Method Summary | |
|---|---|
boolean |
checkForMatch(StructuredContent sc,
java.util.Map<java.lang.String,java.lang.Object> vars)
Returns true if all of the rules associated with the passed in StructuredContent
item match based on the passed in vars. |
| Methods inherited from class org.broadleafcommerce.cms.structure.service.AbstractStructuredContentRuleProcessor |
|---|
executeExpression, getContextClassNames, getParserContext, setContextClassNames |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StructuredContentDefaultRuleProcessor()
| Method Detail |
|---|
public boolean checkForMatch(StructuredContent sc,
java.util.Map<java.lang.String,java.lang.Object> vars)
StructuredContent
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 expressions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||