org.broadleafcommerce.cms.structure.domain
Interface StructuredContentItemCriteria

All Superinterfaces:
QuantityBasedRule, Serializable
All Known Implementing Classes:
StructuredContentItemCriteriaImpl

public interface StructuredContentItemCriteria
extends QuantityBasedRule

Implementations of this interface contain item rule data that is used for targeting StructuredContent items.

For example, a StructuredContent item could be setup to only show to user's who have a particular product in their cart.

Author:
bpolster
See Also:
org.broadleafcommerce.core.order.service.StructuredContentCartRuleProcessor

Method Summary
 StructuredContentItemCriteria cloneEntity()
          Builds a copy of this item.
 StructuredContent getStructuredContent()
          Returns the parent StructuredContent item to which this field belongs.
 void setStructuredContent(StructuredContent structuredContent)
          Sets the parent StructuredContent item.
 
Methods inherited from interface org.broadleafcommerce.common.rule.QuantityBasedRule
getId, getMatchRule, getQuantity, setId, setMatchRule, setQuantity
 

Method Detail

getStructuredContent

@Nonnull
StructuredContent getStructuredContent()
Returns the parent StructuredContent item to which this field belongs.

Returns:

setStructuredContent

void setStructuredContent(@Nonnull
                          StructuredContent structuredContent)
Sets the parent StructuredContent item.

Parameters:
structuredContent -

cloneEntity

@Nonnull
StructuredContentItemCriteria cloneEntity()
Builds a copy of this item. Used by the content management system when an item is edited.

Returns:
a copy of this item


Copyright © 2013. All Rights Reserved.