public abstract class GeneratedPromotionsManager extends Extension
PromotionsManager.Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator| Modifier and Type | Field and Description |
|---|---|
protected static String |
CATEGORYPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CategoryPromotionRelation from ((promotions))
|
protected static String |
CATEGORYPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for CategoryPromotionRelation from ((promotions))
|
protected static String |
CATEGORYPROMOTIONRELATION_TGT_ORDERED |
protected static Map<String,Map<String,Item.AttributeMode>> |
DEFAULT_INITIAL_ATTRIBUTES |
protected static OneToManyHandler<PromotionResult> |
ORDER2PROMOTIONRESULTSRELATIONALLPROMOTIONRESULTSHANDLER
OneToManyHandler for handling 1:n ALLPROMOTIONRESULTS's relation attributes from 'many' side. |
protected static String |
PRODUCTPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ProductPromotionRelation from ((promotions))
|
protected static String |
PRODUCTPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for ProductPromotionRelation from ((promotions))
|
protected static String |
PRODUCTPROMOTIONRELATION_TGT_ORDERED |
| Constructor and Description |
|---|
GeneratedPromotionsManager() |
checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyInitializationEnd, notifyInitializationStart, notifyItemRemoval, onFirstSessionCreation, writeReplaceafterItemCreation, beforeItemCreation, destroy, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, unwrap, unwrap, wrapprotected static final OneToManyHandler<PromotionResult> ORDER2PROMOTIONRESULTSRELATIONALLPROMOTIONRESULTSHANDLER
OneToManyHandler for handling 1:n ALLPROMOTIONRESULTS's relation attributes from 'many' side.protected static String PRODUCTPROMOTIONRELATION_SRC_ORDERED
protected static String PRODUCTPROMOTIONRELATION_TGT_ORDERED
protected static String PRODUCTPROMOTIONRELATION_MARKMODIFIED
protected static String CATEGORYPROMOTIONRELATION_SRC_ORDERED
protected static String CATEGORYPROMOTIONRELATION_TGT_ORDERED
protected static String CATEGORYPROMOTIONRELATION_MARKMODIFIED
protected static final Map<String,Map<String,Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
public Map<String,Item.AttributeMode> getDefaultAttributeModes(Class<? extends Item> itemClass)
getDefaultAttributeModes in class Extensionpublic Set<PromotionResult> getAllPromotionResults(SessionContext ctx, AbstractOrder item)
AbstractOrder.allPromotionResults attribute.public Set<PromotionResult> getAllPromotionResults(AbstractOrder item)
AbstractOrder.allPromotionResults attribute.public void setAllPromotionResults(SessionContext ctx, AbstractOrder item, Set<PromotionResult> value)
AbstractOrder.allPromotionResults attribute.value - the allPromotionResultspublic void setAllPromotionResults(AbstractOrder item, Set<PromotionResult> value)
AbstractOrder.allPromotionResults attribute.value - the allPromotionResultspublic void addToAllPromotionResults(SessionContext ctx, AbstractOrder item, PromotionResult value)
value to allPromotionResults.value - the item to add to allPromotionResultspublic void addToAllPromotionResults(AbstractOrder item, PromotionResult value)
value to allPromotionResults.value - the item to add to allPromotionResultspublic void removeFromAllPromotionResults(SessionContext ctx, AbstractOrder item, PromotionResult value)
value from allPromotionResults.value - the item to remove from allPromotionResultspublic void removeFromAllPromotionResults(AbstractOrder item, PromotionResult value)
value from allPromotionResults.value - the item to remove from allPromotionResultspublic AbstractPromotionAction createAbstractPromotionAction(SessionContext ctx, Map attributeValues)
public AbstractPromotionAction createAbstractPromotionAction(Map attributeValues)
public AbstractPromotionRestriction createAbstractPromotionRestriction(SessionContext ctx, Map attributeValues)
public AbstractPromotionRestriction createAbstractPromotionRestriction(Map attributeValues)
public CachedPromotionNullAction createCachedPromotionNullAction(SessionContext ctx, Map attributeValues)
public CachedPromotionNullAction createCachedPromotionNullAction(Map attributeValues)
public CachedPromotionOrderAddFreeGiftAction createCachedPromotionOrderAddFreeGiftAction(SessionContext ctx, Map attributeValues)
public CachedPromotionOrderAddFreeGiftAction createCachedPromotionOrderAddFreeGiftAction(Map attributeValues)
public CachedPromotionOrderAdjustTotalAction createCachedPromotionOrderAdjustTotalAction(SessionContext ctx, Map attributeValues)
public CachedPromotionOrderAdjustTotalAction createCachedPromotionOrderAdjustTotalAction(Map attributeValues)
public CachedPromotionOrderChangeDeliveryModeAction createCachedPromotionOrderChangeDeliveryModeAction(SessionContext ctx, Map attributeValues)
public CachedPromotionOrderChangeDeliveryModeAction createCachedPromotionOrderChangeDeliveryModeAction(Map attributeValues)
public CachedPromotionOrderEntryAdjustAction createCachedPromotionOrderEntryAdjustAction(SessionContext ctx, Map attributeValues)
public CachedPromotionOrderEntryAdjustAction createCachedPromotionOrderEntryAdjustAction(Map attributeValues)
public CachedPromotionOrderEntryConsumed createCachedPromotionOrderEntryConsumed(SessionContext ctx, Map attributeValues)
public CachedPromotionOrderEntryConsumed createCachedPromotionOrderEntryConsumed(Map attributeValues)
public CachedPromotionResult createCachedPromotionResult(SessionContext ctx, Map attributeValues)
public CachedPromotionResult createCachedPromotionResult(Map attributeValues)
public OrderPromotion createOrderPromotion(SessionContext ctx, Map attributeValues)
public OrderPromotion createOrderPromotion(Map attributeValues)
public OrderThresholdChangeDeliveryModePromotion createOrderThresholdChangeDeliveryModePromotion(SessionContext ctx, Map attributeValues)
public OrderThresholdChangeDeliveryModePromotion createOrderThresholdChangeDeliveryModePromotion(Map attributeValues)
public OrderThresholdDiscountPromotion createOrderThresholdDiscountPromotion(SessionContext ctx, Map attributeValues)
public OrderThresholdDiscountPromotion createOrderThresholdDiscountPromotion(Map attributeValues)
public OrderThresholdFreeGiftPromotion createOrderThresholdFreeGiftPromotion(SessionContext ctx, Map attributeValues)
public OrderThresholdFreeGiftPromotion createOrderThresholdFreeGiftPromotion(Map attributeValues)
public OrderThresholdFreeVoucherPromotion createOrderThresholdFreeVoucherPromotion(SessionContext ctx, Map attributeValues)
public OrderThresholdFreeVoucherPromotion createOrderThresholdFreeVoucherPromotion(Map attributeValues)
public OrderThresholdPerfectPartnerPromotion createOrderThresholdPerfectPartnerPromotion(SessionContext ctx, Map attributeValues)
public OrderThresholdPerfectPartnerPromotion createOrderThresholdPerfectPartnerPromotion(Map attributeValues)
public ProductBOGOFPromotion createProductBOGOFPromotion(SessionContext ctx, Map attributeValues)
public ProductBOGOFPromotion createProductBOGOFPromotion(Map attributeValues)
public ProductBundlePromotion createProductBundlePromotion(SessionContext ctx, Map attributeValues)
public ProductBundlePromotion createProductBundlePromotion(Map attributeValues)
public ProductFixedPricePromotion createProductFixedPricePromotion(SessionContext ctx, Map attributeValues)
public ProductFixedPricePromotion createProductFixedPricePromotion(Map attributeValues)
public ProductMultiBuyPromotion createProductMultiBuyPromotion(SessionContext ctx, Map attributeValues)
public ProductMultiBuyPromotion createProductMultiBuyPromotion(Map attributeValues)
public ProductOneToOnePerfectPartnerPromotion createProductOneToOnePerfectPartnerPromotion(SessionContext ctx, Map attributeValues)
public ProductOneToOnePerfectPartnerPromotion createProductOneToOnePerfectPartnerPromotion(Map attributeValues)
public ProductPercentageDiscountPromotion createProductPercentageDiscountPromotion(SessionContext ctx, Map attributeValues)
public ProductPercentageDiscountPromotion createProductPercentageDiscountPromotion(Map attributeValues)
public ProductPerfectPartnerBundlePromotion createProductPerfectPartnerBundlePromotion(SessionContext ctx, Map attributeValues)
public ProductPerfectPartnerBundlePromotion createProductPerfectPartnerBundlePromotion(Map attributeValues)
public ProductPerfectPartnerPromotion createProductPerfectPartnerPromotion(SessionContext ctx, Map attributeValues)
public ProductPerfectPartnerPromotion createProductPerfectPartnerPromotion(Map attributeValues)
public ProductPromotion createProductPromotion(SessionContext ctx, Map attributeValues)
public ProductPromotion createProductPromotion(Map attributeValues)
public ProductSteppedMultiBuyPromotion createProductSteppedMultiBuyPromotion(SessionContext ctx, Map attributeValues)
public ProductSteppedMultiBuyPromotion createProductSteppedMultiBuyPromotion(Map attributeValues)
public PromotionGroup createPromotionGroup(SessionContext ctx, Map attributeValues)
public PromotionGroup createPromotionGroup(Map attributeValues)
public PromotionNullAction createPromotionNullAction(SessionContext ctx, Map attributeValues)
public PromotionNullAction createPromotionNullAction(Map attributeValues)
public PromotionOrderAddFreeGiftAction createPromotionOrderAddFreeGiftAction(SessionContext ctx, Map attributeValues)
public PromotionOrderAddFreeGiftAction createPromotionOrderAddFreeGiftAction(Map attributeValues)
public PromotionOrderAdjustTotalAction createPromotionOrderAdjustTotalAction(SessionContext ctx, Map attributeValues)
public PromotionOrderAdjustTotalAction createPromotionOrderAdjustTotalAction(Map attributeValues)
public PromotionOrderChangeDeliveryModeAction createPromotionOrderChangeDeliveryModeAction(SessionContext ctx, Map attributeValues)
public PromotionOrderChangeDeliveryModeAction createPromotionOrderChangeDeliveryModeAction(Map attributeValues)
public PromotionOrderEntryAdjustAction createPromotionOrderEntryAdjustAction(SessionContext ctx, Map attributeValues)
public PromotionOrderEntryAdjustAction createPromotionOrderEntryAdjustAction(Map attributeValues)
public PromotionOrderEntryConsumed createPromotionOrderEntryConsumed(SessionContext ctx, Map attributeValues)
public PromotionOrderEntryConsumed createPromotionOrderEntryConsumed(Map attributeValues)
public PromotionPriceRow createPromotionPriceRow(SessionContext ctx, Map attributeValues)
public PromotionPriceRow createPromotionPriceRow(Map attributeValues)
public PromotionProductRestriction createPromotionProductRestriction(SessionContext ctx, Map attributeValues)
public PromotionProductRestriction createPromotionProductRestriction(Map attributeValues)
public PromotionQuantityAndPricesRow createPromotionQuantityAndPricesRow(SessionContext ctx, Map attributeValues)
public PromotionQuantityAndPricesRow createPromotionQuantityAndPricesRow(Map attributeValues)
public PromotionResult createPromotionResult(SessionContext ctx, Map attributeValues)
public PromotionResult createPromotionResult(Map attributeValues)
public PromotionUserRestriction createPromotionUserRestriction(SessionContext ctx, Map attributeValues)
public PromotionUserRestriction createPromotionUserRestriction(Map attributeValues)
public DeliveryMode getPreviousDeliveryMode(SessionContext ctx, AbstractOrder item)
AbstractOrder.previousDeliveryMode attribute.public DeliveryMode getPreviousDeliveryMode(AbstractOrder item)
AbstractOrder.previousDeliveryMode attribute.public void setPreviousDeliveryMode(SessionContext ctx, AbstractOrder item, DeliveryMode value)
AbstractOrder.previousDeliveryMode attribute.value - the previousDeliveryMode - The old delivery mode stored by the PromotionOrderChangeDeliveryModeAction.public void setPreviousDeliveryMode(AbstractOrder item, DeliveryMode value)
AbstractOrder.previousDeliveryMode attribute.value - the previousDeliveryMode - The old delivery mode stored by the PromotionOrderChangeDeliveryModeAction.public Collection<ProductPromotion> getPromotions(SessionContext ctx, Product item)
Product.promotions attribute.public Collection<ProductPromotion> getPromotions(Product item)
Product.promotions attribute.public long getPromotionsCount(SessionContext ctx, Product item)
public long getPromotionsCount(Product item)
public void setPromotions(SessionContext ctx, Product item, Collection<ProductPromotion> value)
Product.promotions attribute.value - the promotions - Promotionspublic void setPromotions(Product item, Collection<ProductPromotion> value)
Product.promotions attribute.value - the promotions - Promotionspublic void addToPromotions(SessionContext ctx, Product item, ProductPromotion value)
value to promotions.value - the item to add to promotions - Promotionspublic void addToPromotions(Product item, ProductPromotion value)
value to promotions.value - the item to add to promotions - Promotionspublic void removeFromPromotions(SessionContext ctx, Product item, ProductPromotion value)
value from promotions.value - the item to remove from promotions - Promotionspublic void removeFromPromotions(Product item, ProductPromotion value)
value from promotions.value - the item to remove from promotions - Promotionspublic Collection<ProductPromotion> getPromotions(SessionContext ctx, Category item)
Category.promotions attribute.public Collection<ProductPromotion> getPromotions(Category item)
Category.promotions attribute.public long getPromotionsCount(SessionContext ctx, Category item)
public long getPromotionsCount(Category item)
public void setPromotions(SessionContext ctx, Category item, Collection<ProductPromotion> value)
Category.promotions attribute.value - the promotions - Promotionspublic void setPromotions(Category item, Collection<ProductPromotion> value)
Category.promotions attribute.value - the promotions - Promotionspublic void addToPromotions(SessionContext ctx, Category item, ProductPromotion value)
value to promotions.value - the item to add to promotions - Promotionspublic void addToPromotions(Category item, ProductPromotion value)
value to promotions.value - the item to add to promotions - Promotionspublic void removeFromPromotions(SessionContext ctx, Category item, ProductPromotion value)
value from promotions.value - the item to remove from promotions - Promotionspublic void removeFromPromotions(Category item, ProductPromotion value)
value from promotions.value - the item to remove from promotions - PromotionsCopyright © 2017 SAP SE. All Rights Reserved.