| Package | Description |
|---|---|
| de.hybris.platform.promotions.result | |
| de.hybris.platform.promotions.util |
| Modifier and Type | Method and Description |
|---|---|
protected static PromotionOrderEntry |
PromotionOrderView.doPeek(SessionContext ctx,
java.util.List<PromotionOrderEntry> workingEntries) |
PromotionOrderEntry |
PromotionOrderView.peek(SessionContext ctx)
Look at the next promotion order entry from this view.
|
PromotionOrderEntry |
PromotionOrderView.peekFromHead(SessionContext ctx,
java.util.Comparator<PromotionOrderEntry> comparator)
Look at the next promotion order entry from this view in the order specified.
|
PromotionOrderEntry |
PromotionOrderView.peekFromTail(SessionContext ctx,
java.util.Comparator<PromotionOrderEntry> comparator)
Look at the next promotion order entry from this view in the reverse of the order specified.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Comparator<PromotionOrderEntry> |
PromotionEvaluationContext.createPriceComparator(SessionContext ctx)
Create a comparator for the current context that orders by price in natural order (lowest to highest).
|
java.util.List<PromotionOrderEntry> |
PromotionOrderView.getAllEntries(SessionContext ctx)
Get all the entries in this view.
|
java.util.List<PromotionOrderEntry> |
PromotionOrderView.getAllEntriesByPrice(SessionContext ctx)
Get all the entries in this view sorted by price.
|
protected java.util.List<PromotionOrderEntry> |
PromotionOrderView.getOrderEntries() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PromotionOrderEntryConsumed> |
PromotionOrderView.consumeFromHead(SessionContext ctx,
java.util.Comparator<PromotionOrderEntry> comparator,
long quantity)
Consume products from this view in the specified order.
|
java.util.List<PromotionOrderEntryConsumed> |
PromotionOrderView.consumeFromTail(SessionContext ctx,
java.util.Comparator<PromotionOrderEntry> comparator,
long quantity)
Consume products from this view in the reverse of the specfied order.
|
protected static java.util.List<PromotionOrderEntryConsumed> |
PromotionOrderView.doConsume(SessionContext ctx,
java.util.List<PromotionOrderEntry> workingEntries,
AbstractPromotion promotion,
long quantity) |
protected static PromotionOrderEntry |
PromotionOrderView.doPeek(SessionContext ctx,
java.util.List<PromotionOrderEntry> workingEntries) |
PromotionOrderEntry |
PromotionOrderView.peekFromHead(SessionContext ctx,
java.util.Comparator<PromotionOrderEntry> comparator)
Look at the next promotion order entry from this view in the order specified.
|
PromotionOrderEntry |
PromotionOrderView.peekFromTail(SessionContext ctx,
java.util.Comparator<PromotionOrderEntry> comparator)
Look at the next promotion order entry from this view in the reverse of the order specified.
|
| Constructor and Description |
|---|
PromotionOrderView(AbstractPromotion promotion,
java.util.List<PromotionOrderEntry> orderEntries) |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Comparator<PromotionOrderEntry> |
Comparators.promotionOrderEntryByPriceComparator |
| Modifier and Type | Method and Description |
|---|---|
int |
Comparators.PromotionOrderEntryByPriceComparator.compare(PromotionOrderEntry a,
PromotionOrderEntry b) |
Copyright © 2018 SAP SE. All Rights Reserved.