org.broadleafcommerce.cms.page.domain
Class PageItemCriteriaImpl

java.lang.Object
  extended by org.broadleafcommerce.cms.page.domain.PageItemCriteriaImpl
All Implemented Interfaces:
Serializable, PageItemCriteria

@Entity
public class PageItemCriteriaImpl
extends Object
implements PageItemCriteria

Author:
bpolster
See Also:
Serialized Form

Field Summary
protected  Long id
           
protected  String orderItemMatchRule
           
protected  Page page
           
protected  Integer quantity
           
static long serialVersionUID
           
 
Constructor Summary
PageItemCriteriaImpl()
           
 
Method Summary
 PageItemCriteria cloneEntity()
          Builds a copy of this item.
 boolean equals(Object obj)
           
 Long getId()
          Gets the primary key.
 String getOrderItemMatchRule()
          Returns the MVEL rule to apply against an order to determine if this content should be displayed.
 Page getPage()
          Returns the parent Page to which this field belongs.
 Integer getQuantity()
           
 int hashCode()
           
 void setId(Long id)
          Sets the primary key.
 void setOrderItemMatchRule(String orderItemMatchRule)
          An valid MVEL syntax rule to be used to process the
 void setPage(Page page)
          Sets the parent Page.
 void setQuantity(Integer receiveQuantity)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

id

protected Long id

quantity

protected Integer quantity

orderItemMatchRule

protected String orderItemMatchRule

page

protected Page page
Constructor Detail

PageItemCriteriaImpl

public PageItemCriteriaImpl()
Method Detail

getId

public Long getId()
Description copied from interface: PageItemCriteria
Gets the primary key.

Specified by:
getId in interface PageItemCriteria
Returns:
the primary key

setId

public void setId(Long id)
Description copied from interface: PageItemCriteria
Sets the primary key.

Specified by:
setId in interface PageItemCriteria
Parameters:
id - the new primary key

getQuantity

public Integer getQuantity()
Specified by:
getQuantity in interface PageItemCriteria
Returns:

setQuantity

public void setQuantity(Integer receiveQuantity)
Specified by:
setQuantity in interface PageItemCriteria

getOrderItemMatchRule

public String getOrderItemMatchRule()
Description copied from interface: PageItemCriteria
Returns the MVEL rule to apply against an order to determine if this content should be displayed.

Specified by:
getOrderItemMatchRule in interface PageItemCriteria
Returns:
the rule as an MVEL string

setOrderItemMatchRule

public void setOrderItemMatchRule(String orderItemMatchRule)
Description copied from interface: PageItemCriteria
An valid MVEL syntax rule to be used to process the

Specified by:
setOrderItemMatchRule in interface PageItemCriteria

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


Copyright © 2013. All Rights Reserved.