Interface PageItemCriteria

All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<PageItemCriteria>, org.broadleafcommerce.common.rule.QuantityBasedRule, Serializable
All Known Implementing Classes:
PageItemCriteriaImpl

public interface PageItemCriteria extends org.broadleafcommerce.common.rule.QuantityBasedRule, org.broadleafcommerce.common.copy.MultiTenantCloneable<PageItemCriteria>
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

    Modifier and Type
    Method
    Description
    Builds a copy of this item.
    Returns the parent Page to which this field belongs.
    void
    setPage(Page page)
    Sets the parent Page.

    Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable

    createOrRetrieveCopyInstance

    Methods inherited from interface org.broadleafcommerce.common.rule.QuantityBasedRule

    getId, getMatchRule, getQuantity, setId, setMatchRule, setQuantity
  • Method Details

    • 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