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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBuilds a copy of this item.<G extends PageItemCriteria>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) booleangetId()getPage()Returns the parentPageto which this field belongs.inthashCode()voidvoidsetMatchRule(String matchRule) voidSets the parentPage.voidsetQuantity(Integer receiveQuantity)
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
id
-
quantity
-
orderItemMatchRule
-
page
-
-
Constructor Details
-
PageItemCriteriaImpl
public PageItemCriteriaImpl()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceorg.broadleafcommerce.common.rule.QuantityBasedRule
-
setId
- Specified by:
setIdin interfaceorg.broadleafcommerce.common.rule.QuantityBasedRule
-
getQuantity
- Specified by:
getQuantityin interfaceorg.broadleafcommerce.common.rule.QuantityBasedRule
-
setQuantity
- Specified by:
setQuantityin interfaceorg.broadleafcommerce.common.rule.QuantityBasedRule
-
getMatchRule
- Specified by:
getMatchRulein interfaceorg.broadleafcommerce.common.rule.QuantityBasedRule
-
setMatchRule
- Specified by:
setMatchRulein interfaceorg.broadleafcommerce.common.rule.QuantityBasedRule
-
getPage
Description copied from interface:PageItemCriteriaReturns the parentPageto which this field belongs.- Specified by:
getPagein interfacePageItemCriteria- Returns:
-
setPage
Description copied from interface:PageItemCriteriaSets the parentPage.- Specified by:
setPagein interfacePageItemCriteria
-
hashCode
public int hashCode() -
equals
-
cloneEntity
Description copied from interface:PageItemCriteriaBuilds a copy of this item. Used by the content management system when an item is edited.- Specified by:
cloneEntityin interfacePageItemCriteria- 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:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<PageItemCriteria>- Throws:
CloneNotSupportedException
-