Package | Description |
---|---|
com.neurosys.ecom.orders.service | |
com.neurosys.ecom.strategy.service |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPromotionService<T extends Promotion>
Default impl for
PromotionService
This class will also generate Events of Type T or Object[]{I, causeSource as String} (after saving the Order )
Since this implements ChangeGenerator ; it will also generate Events of TypeUpdate Promotion - new Object[]{ StandardOperation.#EDIT , Promotion }
Delete Promotion - new Object[]{StandardOperation.#DELETE , Promotion }
Update PromotionForUser - new Object[]{StandardOperation.#EDIT , PromotionForUser }
Delete PromotionForUser - new Object[]{StandardOperation.#DELETE , PromotionForUser }
Generate Coupons for Users - new Object[]{StandardOperation.#ADD , List of PromotionForUser , Object ...context}
Delete Coupons for Users - new Object[]{StandardOperation.#DELETE , List of PromotionForUser , Object ...context}
Notify Users - new Object[]{StandardOperation.#NOTIFY , List of PromotionForUser , Object ...context}
|
Modifier and Type | Field and Description |
---|---|
protected PromotionService<Promotion> |
DefaultPromotionStrategy.promotionService |
Modifier and Type | Method and Description |
---|---|
PromotionService<Promotion> |
DefaultPromotionStrategy.getPromotionService() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPromotionStrategy.setPromotionService(PromotionService<Promotion> promotionService) |
Copyright © 2018. All rights reserved.