org.broadleafcommerce.cms.structure.service
Interface StructuredContentRuleProcessor

All Known Implementing Classes:
AbstractStructuredContentRuleProcessor, StructuredContentDefaultRuleProcessor

public interface StructuredContentRuleProcessor

StructuredContent rule processors check each content item to see if it qualifies for inclusion in the result set. This is called by StructuredContentService to determine if a given content item should be returned to the caller. BLC created rule processors to solve a dependency issue. Some variables to be used in rule processing are within the scope of the CMS module while others are not. For example, checking for cart rules would tie the CMS rules engine with a direct dependency on the cart. Instead, we've opted to create this interface and allow other components to add rule-processors as needed.

See Also:
and StructuredContentCartRuleProcessor Created by bpolster.

Method Summary
 boolean checkForMatch(StructuredContent sc, java.util.Map<java.lang.String,java.lang.Object> valueMap)
          Returns true if the
 

Method Detail

checkForMatch

boolean checkForMatch(StructuredContent sc,
                      java.util.Map<java.lang.String,java.lang.Object> valueMap)
Returns true if the

Parameters:
sc -
Returns:


Copyright © 2011. All Rights Reserved.