Class GeneratedProductPromotion
java.lang.Object
de.hybris.platform.util.BridgeAbstraction
de.hybris.platform.jalo.Item
de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.GenericItem
de.hybris.platform.promotions.jalo.GeneratedAbstractPromotion
de.hybris.platform.promotions.jalo.AbstractPromotion
de.hybris.platform.promotions.jalo.GeneratedProductPromotion
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
ProductPromotion
Generated class for type
ProductPromotion.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringQualifier of theProductPromotion.categoriesattributeprotected static StringRelation disable markmodifed parameter constants for CategoryPromotionRelation from ((promotions))protected static StringRelation ordering override parameter constants for CategoryPromotionRelation from ((promotions))protected static Stringprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theProductPromotion.productBannerattributeprotected static StringRelation disable markmodifed parameter constants for ProductPromotionRelation from ((promotions))protected static StringRelation ordering override parameter constants for ProductPromotionRelation from ((promotions))protected static Stringstatic final StringQualifier of theProductPromotion.productsattributeFields inherited from class de.hybris.platform.promotions.jalo.GeneratedAbstractPromotion
CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONGROUPHANDLER, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLEFields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToCategories(Category value) Generated method - Addsvalueto categories.voidaddToCategories(SessionContext ctx, Category value) Generated method - Addsvalueto categories.voidaddToProducts(Product value) Generated method - Addsvalueto products.voidaddToProducts(SessionContext ctx, Product value) Generated method - Addsvalueto products.Generated method - Getter of theProductPromotion.categoriesattribute.Generated method - Getter of theProductPromotion.categoriesattribute.longlongprotected Map<String,Item.AttributeMode> Generated method - Getter of theProductPromotion.productBannerattribute.Generated method - Getter of theProductPromotion.productBannerattribute.Generated method - Getter of theProductPromotion.productsattribute.Generated method - Getter of theProductPromotion.productsattribute.longlongbooleanisMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.voidremoveFromCategories(Category value) Generated method - Removesvaluefrom categories.voidremoveFromCategories(SessionContext ctx, Category value) Generated method - Removesvaluefrom categories.voidremoveFromProducts(Product value) Generated method - Removesvaluefrom products.voidremoveFromProducts(SessionContext ctx, Product value) Generated method - Removesvaluefrom products.voidsetCategories(SessionContext ctx, Collection<Category> value) Generated method - Setter of theProductPromotion.categoriesattribute.voidsetCategories(Collection<Category> value) Generated method - Setter of theProductPromotion.categoriesattribute.voidsetProductBanner(Media value) Generated method - Setter of theProductPromotion.productBannerattribute.voidsetProductBanner(SessionContext ctx, Media value) Generated method - Setter of theProductPromotion.productBannerattribute.voidsetProducts(SessionContext ctx, Collection<Product> value) Generated method - Setter of theProductPromotion.productsattribute.voidsetProducts(Collection<Product> value) Generated method - Setter of theProductPromotion.productsattribute.Methods inherited from class de.hybris.platform.promotions.jalo.AbstractPromotion
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, toStringMethods inherited from class de.hybris.platform.promotions.jalo.GeneratedAbstractPromotion
getAllName, getAllName, getAllPromotionType, getCode, getCode, getDescription, getDescription, getDetailsURL, getDetailsURL, getEndDate, getEndDate, getImmutableKey, getImmutableKey, getImmutableKeyHash, getImmutableKeyHash, getName, getName, getPriority, getPriority, getPriorityAsPrimitive, getPriorityAsPrimitive, getPromotionGroup, getPromotionGroup, getPromotionType, getRestrictions, getStartDate, getStartDate, getTitle, getTitle, isEnabled, isEnabled, isEnabledAsPrimitive, isEnabledAsPrimitive, setAllName, setAllName, setCode, setCode, setDescription, setDescription, setDetailsURL, setDetailsURL, setEnabled, setEnabled, setEnabled, setEnabled, setEndDate, setEndDate, setImmutableKey, setImmutableKey, setImmutableKeyHash, setImmutableKeyHash, setName, setName, setPriority, setPriority, setPriority, setPriority, setPromotionGroup, setRestrictions, setStartDate, setStartDate, setTitle, setTitleMethods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, getPartOfRemovedSessionMarker, 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, notifyManagerAboutItemRemoval, readResolve, 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, suppressRelation, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
PRODUCTBANNER
Qualifier of theProductPromotion.productBannerattribute- See Also:
-
PRODUCTS
Qualifier of theProductPromotion.productsattribute- See Also:
-
PRODUCTPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for ProductPromotionRelation from ((promotions)) -
PRODUCTPROMOTIONRELATION_TGT_ORDERED
-
PRODUCTPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ProductPromotionRelation from ((promotions)) -
CATEGORIES
Qualifier of theProductPromotion.categoriesattribute- See Also:
-
CATEGORYPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for CategoryPromotionRelation from ((promotions)) -
CATEGORYPROMOTIONRELATION_TGT_ORDERED
-
CATEGORYPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CategoryPromotionRelation from ((promotions)) -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedProductPromotion
public GeneratedProductPromotion()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classGeneratedAbstractPromotion
-
getCategories
Generated method - Getter of theProductPromotion.categoriesattribute.- Returns:
- the categories - Categories
-
getCategories
Generated method - Getter of theProductPromotion.categoriesattribute.- Returns:
- the categories - Categories
-
getCategoriesCount
-
getCategoriesCount
public long getCategoriesCount() -
setCategories
Generated method - Setter of theProductPromotion.categoriesattribute.- Parameters:
value- the categories - Categories
-
setCategories
Generated method - Setter of theProductPromotion.categoriesattribute.- Parameters:
value- the categories - Categories
-
addToCategories
Generated method - Addsvalueto categories.- Parameters:
value- the item to add to categories - Categories
-
addToCategories
Generated method - Addsvalueto categories.- Parameters:
value- the item to add to categories - Categories
-
removeFromCategories
Generated method - Removesvaluefrom categories.- Parameters:
value- the item to remove from categories - Categories
-
removeFromCategories
Generated method - Removesvaluefrom categories.- Parameters:
value- the item to remove from categories - Categories
-
isMarkModifiedDisabled
@Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isMarkModifiedDisabledin classItem
-
getProductBanner
Generated method - Getter of theProductPromotion.productBannerattribute.- Returns:
- the productBanner - Media to display on the product page when this promotion is available.
-
getProductBanner
Generated method - Getter of theProductPromotion.productBannerattribute.- Returns:
- the productBanner - Media to display on the product page when this promotion is available.
-
setProductBanner
Generated method - Setter of theProductPromotion.productBannerattribute.- Parameters:
value- the productBanner - Media to display on the product page when this promotion is available.
-
setProductBanner
Generated method - Setter of theProductPromotion.productBannerattribute.- Parameters:
value- the productBanner - Media to display on the product page when this promotion is available.
-
getProducts
Generated method - Getter of theProductPromotion.productsattribute.- Returns:
- the products - Products
-
getProducts
Generated method - Getter of theProductPromotion.productsattribute.- Returns:
- the products - Products
-
getProductsCount
-
getProductsCount
public long getProductsCount() -
setProducts
Generated method - Setter of theProductPromotion.productsattribute.- Parameters:
value- the products - Products
-
setProducts
Generated method - Setter of theProductPromotion.productsattribute.- Parameters:
value- the products - Products
-
addToProducts
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products - Products
-
addToProducts
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products - Products
-
removeFromProducts
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products - Products
-
removeFromProducts
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products - Products
-
Utilities.getMarkModifiedOverride(de.hybris.platform.jalo.type.RelationType)