Class PageItemCriteriaImpl

java.lang.Object
org.broadleafcommerce.cms.page.domain.PageItemCriteriaImpl
All Implemented Interfaces:
Serializable, PageItemCriteria, org.broadleafcommerce.common.copy.MultiTenantCloneable<PageItemCriteria>, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity, org.broadleafcommerce.common.rule.QuantityBasedRule

@Entity public class PageItemCriteriaImpl extends Object implements PageItemCriteria, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
Author:
bpolster
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • id

      protected Long id
    • quantity

      protected Integer quantity
    • orderItemMatchRule

      protected String orderItemMatchRule
    • page

      protected Page page
  • Constructor Details

    • PageItemCriteriaImpl

      public PageItemCriteriaImpl()
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setId

      public void setId(Long id)
      Specified by:
      setId in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • getQuantity

      public Integer getQuantity()
      Specified by:
      getQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setQuantity

      public void setQuantity(Integer receiveQuantity)
      Specified by:
      setQuantity in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • getMatchRule

      public String getMatchRule()
      Specified by:
      getMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • setMatchRule

      public void setMatchRule(String matchRule)
      Specified by:
      setMatchRule in interface org.broadleafcommerce.common.rule.QuantityBasedRule
    • getPage

      public Page getPage()
      Description copied from interface: PageItemCriteria
      Returns the parent Page to which this field belongs.
      Specified by:
      getPage in interface PageItemCriteria
      Returns:
    • setPage

      public void setPage(Page page)
      Description copied from interface: PageItemCriteria
      Sets the parent Page.
      Specified by:
      setPage in interface PageItemCriteria
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • cloneEntity

      public PageItemCriteria cloneEntity()
      Description copied from interface: PageItemCriteria
      Builds a copy of this item. Used by the content management system when an item is edited.
      Specified by:
      cloneEntity in interface PageItemCriteria
      Returns:
      a copy of this item
    • createOrRetrieveCopyInstance

      public <G extends PageItemCriteria> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
      Specified by:
      createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<PageItemCriteria>
      Throws:
      CloneNotSupportedException