public abstract class GeneratedProductPromotion extends AbstractPromotion
ProductPromotion.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 |
|---|---|
static String |
CATEGORIES
Qualifier of the
ProductPromotion.categories attribute |
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,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
PRODUCTBANNER
Qualifier of the
ProductPromotion.productBanner attribute |
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 |
static String |
PRODUCTS
Qualifier of the
ProductPromotion.products attribute |
CODE, 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 |
|---|
GeneratedProductPromotion() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCategories(Category value)
Generated method - Adds
value to categories. |
void |
addToCategories(SessionContext ctx,
Category value)
Generated method - Adds
value to categories. |
void |
addToProducts(Product value)
Generated method - Adds
value to products. |
void |
addToProducts(SessionContext ctx,
Product value)
Generated method - Adds
value to products. |
Collection<Category> |
getCategories()
Generated method - Getter of the
ProductPromotion.categories attribute. |
Collection<Category> |
getCategories(SessionContext ctx)
Generated method - Getter of the
ProductPromotion.categories attribute. |
long |
getCategoriesCount() |
long |
getCategoriesCount(SessionContext ctx) |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Media |
getProductBanner()
Generated method - Getter of the
ProductPromotion.productBanner attribute. |
Media |
getProductBanner(SessionContext ctx)
Generated method - Getter of the
ProductPromotion.productBanner attribute. |
Collection<Product> |
getProducts()
Generated method - Getter of the
ProductPromotion.products attribute. |
Collection<Product> |
getProducts(SessionContext ctx)
Generated method - Getter of the
ProductPromotion.products attribute. |
long |
getProductsCount() |
long |
getProductsCount(SessionContext ctx) |
void |
removeFromCategories(Category value)
Generated method - Removes
value from categories. |
void |
removeFromCategories(SessionContext ctx,
Category value)
Generated method - Removes
value from categories. |
void |
removeFromProducts(Product value)
Generated method - Removes
value from products. |
void |
removeFromProducts(SessionContext ctx,
Product value)
Generated method - Removes
value from products. |
void |
setCategories(Collection<Category> value)
Generated method - Setter of the
ProductPromotion.categories attribute. |
void |
setCategories(SessionContext ctx,
Collection<Category> value)
Generated method - Setter of the
ProductPromotion.categories attribute. |
void |
setProductBanner(Media value)
Generated method - Setter of the
ProductPromotion.productBanner attribute. |
void |
setProductBanner(SessionContext ctx,
Media value)
Generated method - Setter of the
ProductPromotion.productBanner attribute. |
void |
setProducts(Collection<Product> value)
Generated method - Setter of the
ProductPromotion.products attribute. |
void |
setProducts(SessionContext ctx,
Collection<Product> value)
Generated method - Setter of the
ProductPromotion.products attribute. |
buildDataUniqueKey, buildDataUniqueKeyForCategories, 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 PRODUCTBANNER
ProductPromotion.productBanner attributepublic static final String PRODUCTS
ProductPromotion.products attributeprotected static String PRODUCTPROMOTIONRELATION_SRC_ORDERED
protected static String PRODUCTPROMOTIONRELATION_TGT_ORDERED
protected static String PRODUCTPROMOTIONRELATION_MARKMODIFIED
public static final String CATEGORIES
ProductPromotion.categories attributeprotected static String CATEGORYPROMOTIONRELATION_SRC_ORDERED
protected static String CATEGORYPROMOTIONRELATION_TGT_ORDERED
protected static String CATEGORYPROMOTIONRELATION_MARKMODIFIED
protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedAbstractPromotionpublic Collection<Category> getCategories(SessionContext ctx)
ProductPromotion.categories attribute.public Collection<Category> getCategories()
ProductPromotion.categories attribute.public long getCategoriesCount(SessionContext ctx)
public long getCategoriesCount()
public void setCategories(SessionContext ctx, Collection<Category> value)
ProductPromotion.categories attribute.value - the categories - Categoriespublic void setCategories(Collection<Category> value)
ProductPromotion.categories attribute.value - the categories - Categoriespublic void addToCategories(SessionContext ctx, Category value)
value to categories.value - the item to add to categories - Categoriespublic void addToCategories(Category value)
value to categories.value - the item to add to categories - Categoriespublic void removeFromCategories(SessionContext ctx, Category value)
value from categories.value - the item to remove from categories - Categoriespublic void removeFromCategories(Category value)
value from categories.value - the item to remove from categories - Categoriespublic Media getProductBanner(SessionContext ctx)
ProductPromotion.productBanner attribute.public Media getProductBanner()
ProductPromotion.productBanner attribute.public void setProductBanner(SessionContext ctx, Media value)
ProductPromotion.productBanner attribute.value - the productBanner - Media to display on the product page when this promotion is available.public void setProductBanner(Media value)
ProductPromotion.productBanner attribute.value - the productBanner - Media to display on the product page when this promotion is available.public Collection<Product> getProducts(SessionContext ctx)
ProductPromotion.products attribute.public Collection<Product> getProducts()
ProductPromotion.products attribute.public long getProductsCount(SessionContext ctx)
public long getProductsCount()
public void setProducts(SessionContext ctx, Collection<Product> value)
ProductPromotion.products attribute.value - the products - Productspublic void setProducts(Collection<Product> value)
ProductPromotion.products attribute.value - the products - Productspublic void addToProducts(SessionContext ctx, Product value)
value to products.value - the item to add to products - Productspublic void addToProducts(Product value)
value to products.value - the item to add to products - Productspublic void removeFromProducts(SessionContext ctx, Product value)
value from products.value - the item to remove from products - Productspublic void removeFromProducts(Product value)
value from products.value - the item to remove from products - ProductsCopyright © 2017 SAP SE. All Rights Reserved.