|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructuredContentItemCriteria
Implementations of this interface contain item rule data that is used for targeting
StructuredContent items.
For example, a StructuredContent item could be setup to only show to user's
who have a particular product in their cart.
org.broadleafcommerce.core.order.service.StructuredContentCartRuleProcessor| Method Summary | |
|---|---|
StructuredContentItemCriteria |
cloneEntity()
Builds a copy of this item. |
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. |
Integer |
getQuantity()
|
StructuredContent |
getStructuredContent()
Returns the parent StructuredContent item to which this
field belongs. |
void |
setId(Long id)
Sets the primary key. |
void |
setOrderItemMatchRule(String orderItemMatchRule)
An valid MVEL syntax rule to be used to process the |
void |
setQuantity(Integer quantity)
|
void |
setStructuredContent(StructuredContent structuredContent)
Sets the parent StructuredContent item. |
| Method Detail |
|---|
@Nullable Long getId()
void setId(@Nullable
Long id)
id - the new primary keyInteger getQuantity()
void setQuantity(Integer quantity)
quantity - String getOrderItemMatchRule()
void setOrderItemMatchRule(String orderItemMatchRule)
orderItemMatchRule - @Nonnull StructuredContent getStructuredContent()
StructuredContent item to which this
field belongs.
void setStructuredContent(@Nonnull
StructuredContent structuredContent)
StructuredContent item.
structuredContent - @Nonnull StructuredContentItemCriteria cloneEntity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||