public abstract class GeneratedProductBOGOFPromotion extends ProductPromotion
ProductBOGOFPromotion.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
FREECOUNT
Qualifier of the
ProductBOGOFPromotion.freeCount attribute |
static String |
MESSAGECOULDHAVEFIRED
Qualifier of the
ProductBOGOFPromotion.messageCouldHaveFired attribute |
static String |
MESSAGEFIRED
Qualifier of the
ProductBOGOFPromotion.messageFired attribute |
static String |
QUALIFYINGCOUNT
Qualifier of the
ProductBOGOFPromotion.qualifyingCount attribute |
CATEGORIES, CATEGORYPROMOTIONRELATION_MARKMODIFIED, CATEGORYPROMOTIONRELATION_SRC_ORDERED, CATEGORYPROMOTIONRELATION_TGT_ORDERED, PRODUCTBANNER, PRODUCTPROMOTIONRELATION_MARKMODIFIED, PRODUCTPROMOTIONRELATION_SRC_ORDERED, PRODUCTPROMOTIONRELATION_TGT_ORDERED, PRODUCTSCODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, PRIORITY, PROMOTIONGROUP, PROMOTIONGROUPHANDLER, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLELANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedProductBOGOFPromotion() |
| Modifier and Type | Method and Description |
|---|---|
Map<Language,String> |
getAllMessageCouldHaveFired()
Generated method - Getter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
Map<Language,String> |
getAllMessageCouldHaveFired(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
Map<Language,String> |
getAllMessageFired()
Generated method - Getter of the
ProductBOGOFPromotion.messageFired attribute. |
Map<Language,String> |
getAllMessageFired(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.messageFired attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Integer |
getFreeCount()
Generated method - Getter of the
ProductBOGOFPromotion.freeCount attribute. |
Integer |
getFreeCount(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.freeCount attribute. |
int |
getFreeCountAsPrimitive()
Generated method - Getter of the
ProductBOGOFPromotion.freeCount attribute. |
int |
getFreeCountAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.freeCount attribute. |
String |
getMessageCouldHaveFired()
Generated method - Getter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
String |
getMessageCouldHaveFired(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
String |
getMessageFired()
Generated method - Getter of the
ProductBOGOFPromotion.messageFired attribute. |
String |
getMessageFired(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.messageFired attribute. |
Integer |
getQualifyingCount()
Generated method - Getter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
Integer |
getQualifyingCount(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
int |
getQualifyingCountAsPrimitive()
Generated method - Getter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
int |
getQualifyingCountAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
void |
setAllMessageCouldHaveFired(Map<Language,String> value)
Generated method - Setter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
void |
setAllMessageCouldHaveFired(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
void |
setAllMessageFired(Map<Language,String> value)
Generated method - Setter of the
ProductBOGOFPromotion.messageFired attribute. |
void |
setAllMessageFired(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
ProductBOGOFPromotion.messageFired attribute. |
void |
setFreeCount(int value)
Generated method - Setter of the
ProductBOGOFPromotion.freeCount attribute. |
void |
setFreeCount(Integer value)
Generated method - Setter of the
ProductBOGOFPromotion.freeCount attribute. |
void |
setFreeCount(SessionContext ctx,
int value)
Generated method - Setter of the
ProductBOGOFPromotion.freeCount attribute. |
void |
setFreeCount(SessionContext ctx,
Integer value)
Generated method - Setter of the
ProductBOGOFPromotion.freeCount attribute. |
void |
setMessageCouldHaveFired(SessionContext ctx,
String value)
Generated method - Setter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
void |
setMessageCouldHaveFired(String value)
Generated method - Setter of the
ProductBOGOFPromotion.messageCouldHaveFired attribute. |
void |
setMessageFired(SessionContext ctx,
String value)
Generated method - Setter of the
ProductBOGOFPromotion.messageFired attribute. |
void |
setMessageFired(String value)
Generated method - Setter of the
ProductBOGOFPromotion.messageFired attribute. |
void |
setQualifyingCount(int value)
Generated method - Setter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
void |
setQualifyingCount(Integer value)
Generated method - Setter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
void |
setQualifyingCount(SessionContext ctx,
int value)
Generated method - Setter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
void |
setQualifyingCount(SessionContext ctx,
Integer value)
Generated method - Setter of the
ProductBOGOFPromotion.qualifyingCount attribute. |
buildDataUniqueKey, findAllProducts, findEligibleProductsInBasketaddToCategories, addToCategories, addToProducts, addToProducts, getCategories, getCategories, getCategoriesCount, getCategoriesCount, getProductBanner, getProductBanner, getProducts, getProducts, getProductsCount, getProductsCount, removeFromCategories, removeFromCategories, removeFromProducts, removeFromProducts, setCategories, setCategories, setProductBanner, setProductBanner, setProducts, setProductsbuildDataUniqueKeyForCategories, buildDataUniqueKeyForPriceRows, buildDataUniqueKeyForProducts, buildMD5Hash, buildPromotionResultDataUnigueKey, createImmutableDeepClone, createItem, deepCloneAttributes, deepClonePriceRows, deletePromotionPriceRows, evaluate, findImmutablePromotionByUniqueKey, findOrCreateImmutableClone, formatMessage, getAllPromotionType, getDataUniqueKey, getPriceForOrder, getPromotionResultDataUnigueKey, getPromotionType, getRestrictions, getResultDescription, remove, setPromotionGroup, setRestrictions, toStringgetAllPromotionType, getCode, getCode, getDescription, getDescription, getDetailsURL, getDetailsURL, getEndDate, getEndDate, getImmutableKey, getImmutableKey, getImmutableKeyHash, getImmutableKeyHash, getPriority, getPriority, getPriorityAsPrimitive, getPriorityAsPrimitive, getPromotionGroup, getPromotionGroup, getPromotionType, getRestrictions, getStartDate, getStartDate, getTitle, getTitle, isEnabled, isEnabled, isEnabledAsPrimitive, isEnabledAsPrimitive, setCode, setCode, setDescription, setDescription, setDetailsURL, setDetailsURL, setEnabled, setEnabled, setEnabled, setEnabled, setEndDate, setEndDate, setImmutableKey, setImmutableKey, setImmutableKeyHash, setImmutableKeyHash, setPriority, setPriority, setPriority, setPriority, setPromotionGroup, setRestrictions, setStartDate, setStartDate, setTitle, setTitlegetInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, useTA, writeReplacegetImplementation, setTenantpublic static final String QUALIFYINGCOUNT
ProductBOGOFPromotion.qualifyingCount attributepublic static final String FREECOUNT
ProductBOGOFPromotion.freeCount attributepublic static final String MESSAGEFIRED
ProductBOGOFPromotion.messageFired attributepublic static final String MESSAGECOULDHAVEFIRED
ProductBOGOFPromotion.messageCouldHaveFired attributeprotected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedProductPromotionpublic Integer getFreeCount(SessionContext ctx)
ProductBOGOFPromotion.freeCount attribute.public Integer getFreeCount()
ProductBOGOFPromotion.freeCount attribute.public int getFreeCountAsPrimitive(SessionContext ctx)
ProductBOGOFPromotion.freeCount attribute.public int getFreeCountAsPrimitive()
ProductBOGOFPromotion.freeCount attribute.public void setFreeCount(SessionContext ctx, Integer value)
ProductBOGOFPromotion.freeCount attribute.value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).public void setFreeCount(Integer value)
ProductBOGOFPromotion.freeCount attribute.value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).public void setFreeCount(SessionContext ctx, int value)
ProductBOGOFPromotion.freeCount attribute.value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).public void setFreeCount(int value)
ProductBOGOFPromotion.freeCount attribute.value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).public String getMessageCouldHaveFired(SessionContext ctx)
ProductBOGOFPromotion.messageCouldHaveFired attribute.public String getMessageCouldHaveFired()
ProductBOGOFPromotion.messageCouldHaveFired attribute.public Map<Language,String> getAllMessageCouldHaveFired(SessionContext ctx)
ProductBOGOFPromotion.messageCouldHaveFired attribute.public Map<Language,String> getAllMessageCouldHaveFired()
ProductBOGOFPromotion.messageCouldHaveFired attribute.public void setMessageCouldHaveFired(SessionContext ctx, String value)
ProductBOGOFPromotion.messageCouldHaveFired attribute.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.public void setMessageCouldHaveFired(String value)
ProductBOGOFPromotion.messageCouldHaveFired attribute.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.public void setAllMessageCouldHaveFired(SessionContext ctx, Map<Language,String> value)
ProductBOGOFPromotion.messageCouldHaveFired attribute.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.public void setAllMessageCouldHaveFired(Map<Language,String> value)
ProductBOGOFPromotion.messageCouldHaveFired attribute.value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.public String getMessageFired(SessionContext ctx)
ProductBOGOFPromotion.messageFired attribute.public String getMessageFired()
ProductBOGOFPromotion.messageFired attribute.public Map<Language,String> getAllMessageFired(SessionContext ctx)
ProductBOGOFPromotion.messageFired attribute.public Map<Language,String> getAllMessageFired()
ProductBOGOFPromotion.messageFired attribute.public void setMessageFired(SessionContext ctx, String value)
ProductBOGOFPromotion.messageFired attribute.value - the messageFired - The message to show when the promotion has fired.public void setMessageFired(String value)
ProductBOGOFPromotion.messageFired attribute.value - the messageFired - The message to show when the promotion has fired.public void setAllMessageFired(SessionContext ctx, Map<Language,String> value)
ProductBOGOFPromotion.messageFired attribute.value - the messageFired - The message to show when the promotion has fired.public void setAllMessageFired(Map<Language,String> value)
ProductBOGOFPromotion.messageFired attribute.value - the messageFired - The message to show when the promotion has fired.public Integer getQualifyingCount(SessionContext ctx)
ProductBOGOFPromotion.qualifyingCount attribute.public Integer getQualifyingCount()
ProductBOGOFPromotion.qualifyingCount attribute.public int getQualifyingCountAsPrimitive(SessionContext ctx)
ProductBOGOFPromotion.qualifyingCount attribute.public int getQualifyingCountAsPrimitive()
ProductBOGOFPromotion.qualifyingCount attribute.public void setQualifyingCount(SessionContext ctx, Integer value)
ProductBOGOFPromotion.qualifyingCount attribute.value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).public void setQualifyingCount(Integer value)
ProductBOGOFPromotion.qualifyingCount attribute.value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).public void setQualifyingCount(SessionContext ctx, int value)
ProductBOGOFPromotion.qualifyingCount attribute.value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).public void setQualifyingCount(int value)
ProductBOGOFPromotion.qualifyingCount attribute.value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).Copyright © 2017 SAP SE. All Rights Reserved.