|
||||||||||
| 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. |
java.lang.Long |
getId()
Gets the primary key. |
java.lang.String |
getOrderItemMatchRule()
Returns the MVEL rule to apply against an order to determine if this content should be displayed. |
java.lang.Integer |
getQuantity()
|
StructuredContent |
getStructuredContent()
Returns the parent StructuredContent item to which this
field belongs. |
void |
setId(java.lang.Long id)
Sets the primary key. |
void |
setOrderItemMatchRule(java.lang.String orderItemMatchRule)
An valid MVEL syntax rule to be used to process the |
void |
setQuantity(java.lang.Integer quantity)
|
void |
setStructuredContent(StructuredContent structuredContent)
Sets the parent StructuredContent item. |
| Method Detail |
|---|
@Nullable java.lang.Long getId()
void setId(@Nullable
java.lang.Long id)
id - the new primary keyjava.lang.Integer getQuantity()
void setQuantity(java.lang.Integer quantity)
quantity - java.lang.String getOrderItemMatchRule()
void setOrderItemMatchRule(java.lang.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 | |||||||||