org.broadleafcommerce.cms.page.domain
Interface PageItemCriteria

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

public interface PageItemCriteria
extends QuantityBasedRule

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

For example, a Page 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.PageCartRuleProcessor

Method Summary
 PageItemCriteria cloneEntity()
          Builds a copy of this item.
 Page getPage()
          Returns the parent Page to which this field belongs.
 void setPage(Page page)
          Sets the parent Page.
 
Methods inherited from interface org.broadleafcommerce.common.rule.QuantityBasedRule
getId, getMatchRule, getQuantity, setId, setMatchRule, setQuantity
 

Method Detail

getPage

@Nonnull
Page getPage()
Returns the parent Page to which this field belongs.

Returns:

setPage

void setPage(@Nonnull
             Page page)
Sets the parent Page.

Parameters:
page -

cloneEntity

@Nonnull
PageItemCriteria 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.