Interface ContentTargetingItemCriteria
- All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingItemCriteria>,org.broadleafcommerce.common.rule.QuantityBasedRule,Serializable
- All Known Implementing Classes:
ContentTargetingItemCriteriaImpl
public interface ContentTargetingItemCriteria
extends org.broadleafcommerce.common.rule.QuantityBasedRule, org.broadleafcommerce.common.copy.MultiTenantCloneable<ContentTargetingItemCriteria>
Provides the capability for ContentTargeters to depend on items in the users cart.
- Author:
- bpolster
-
Method Summary
Modifier and TypeMethodDescriptionBuilds a copy of this item.Returns the associatedContentTargetervoidsetContentTargeter(ContentTargeter contentTargeter) Sets the parentContentTargeterMethods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstanceMethods inherited from interface org.broadleafcommerce.common.rule.QuantityBasedRule
getId, getMatchRule, getQuantity, setId, setMatchRule, setQuantity
-
Method Details
-
getContentTargeter
Returns the associatedContentTargeter- Returns:
-
setContentTargeter
Sets the parentContentTargeter- Parameters:
contentTargeter-
-
cloneEntity
Builds a copy of this item. Used by the content management system when an item is edited.- Returns:
- a copy of this item
-