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:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
ProductPromotion
public abstract class GeneratedProductPromotion extends AbstractPromotion
Generated class for typeProductPromotion
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested 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
Fields Modifier and Type Field Description static java.lang.String
CATEGORIES
Qualifier of theProductPromotion.categories
attributeprotected static java.lang.String
CATEGORYPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CategoryPromotionRelation from ((promotions))protected static java.lang.String
CATEGORYPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for CategoryPromotionRelation from ((promotions))protected static java.lang.String
CATEGORYPROMOTIONRELATION_TGT_ORDERED
protected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
PRODUCTBANNER
Qualifier of theProductPromotion.productBanner
attributeprotected static java.lang.String
PRODUCTPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ProductPromotionRelation from ((promotions))protected static java.lang.String
PRODUCTPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for ProductPromotionRelation from ((promotions))protected static java.lang.String
PRODUCTPROMOTIONRELATION_TGT_ORDERED
static java.lang.String
PRODUCTS
Qualifier of theProductPromotion.products
attribute-
Fields inherited from class de.hybris.platform.promotions.jalo.GeneratedAbstractPromotion
CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, PRIORITY, PROMOTIONGROUP, PROMOTIONGROUPHANDLER, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLE
-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields 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, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedProductPromotion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToCategories(Category value)
Generated method - Addsvalue
to categories.void
addToCategories(SessionContext ctx, Category value)
Generated method - Addsvalue
to categories.void
addToProducts(Product value)
Generated method - Addsvalue
to products.void
addToProducts(SessionContext ctx, Product value)
Generated method - Addsvalue
to products.java.util.Collection<Category>
getCategories()
Generated method - Getter of theProductPromotion.categories
attribute.java.util.Collection<Category>
getCategories(SessionContext ctx)
Generated method - Getter of theProductPromotion.categories
attribute.long
getCategoriesCount()
long
getCategoriesCount(SessionContext ctx)
protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
Media
getProductBanner()
Generated method - Getter of theProductPromotion.productBanner
attribute.Media
getProductBanner(SessionContext ctx)
Generated method - Getter of theProductPromotion.productBanner
attribute.java.util.Collection<Product>
getProducts()
Generated method - Getter of theProductPromotion.products
attribute.java.util.Collection<Product>
getProducts(SessionContext ctx)
Generated method - Getter of theProductPromotion.products
attribute.long
getProductsCount()
long
getProductsCount(SessionContext ctx)
boolean
isMarkModifiedDisabled(Item referencedItem)
void
removeFromCategories(Category value)
Generated method - Removesvalue
from categories.void
removeFromCategories(SessionContext ctx, Category value)
Generated method - Removesvalue
from categories.void
removeFromProducts(Product value)
Generated method - Removesvalue
from products.void
removeFromProducts(SessionContext ctx, Product value)
Generated method - Removesvalue
from products.void
setCategories(SessionContext ctx, java.util.Collection<Category> value)
Generated method - Setter of theProductPromotion.categories
attribute.void
setCategories(java.util.Collection<Category> value)
Generated method - Setter of theProductPromotion.categories
attribute.void
setProductBanner(Media value)
Generated method - Setter of theProductPromotion.productBanner
attribute.void
setProductBanner(SessionContext ctx, Media value)
Generated method - Setter of theProductPromotion.productBanner
attribute.void
setProducts(SessionContext ctx, java.util.Collection<Product> value)
Generated method - Setter of theProductPromotion.products
attribute.void
setProducts(java.util.Collection<Product> value)
Generated method - Setter of theProductPromotion.products
attribute.-
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, toString
-
Methods inherited from class de.hybris.platform.promotions.jalo.GeneratedAbstractPromotion
getAllPromotionType, 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, setTitle
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods 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, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods 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, 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, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
PRODUCTBANNER
public static final java.lang.String PRODUCTBANNER
Qualifier of theProductPromotion.productBanner
attribute- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Qualifier of theProductPromotion.products
attribute- See Also:
- Constant Field Values
-
PRODUCTPROMOTIONRELATION_SRC_ORDERED
protected static java.lang.String PRODUCTPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for ProductPromotionRelation from ((promotions))
-
PRODUCTPROMOTIONRELATION_TGT_ORDERED
protected static java.lang.String PRODUCTPROMOTIONRELATION_TGT_ORDERED
-
PRODUCTPROMOTIONRELATION_MARKMODIFIED
protected static java.lang.String PRODUCTPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ProductPromotionRelation from ((promotions))
-
CATEGORIES
public static final java.lang.String CATEGORIES
Qualifier of theProductPromotion.categories
attribute- See Also:
- Constant Field Values
-
CATEGORYPROMOTIONRELATION_SRC_ORDERED
protected static java.lang.String CATEGORYPROMOTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for CategoryPromotionRelation from ((promotions))
-
CATEGORYPROMOTIONRELATION_TGT_ORDERED
protected static java.lang.String CATEGORYPROMOTIONRELATION_TGT_ORDERED
-
CATEGORYPROMOTIONRELATION_MARKMODIFIED
protected static java.lang.String CATEGORYPROMOTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for CategoryPromotionRelation from ((promotions))
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModes
in classGeneratedAbstractPromotion
-
getCategories
public java.util.Collection<Category> getCategories(SessionContext ctx)
Generated method - Getter of theProductPromotion.categories
attribute.- Returns:
- the categories - Categories
-
getCategories
public java.util.Collection<Category> getCategories()
Generated method - Getter of theProductPromotion.categories
attribute.- Returns:
- the categories - Categories
-
getCategoriesCount
public long getCategoriesCount(SessionContext ctx)
-
getCategoriesCount
public long getCategoriesCount()
-
setCategories
public void setCategories(SessionContext ctx, java.util.Collection<Category> value)
Generated method - Setter of theProductPromotion.categories
attribute.- Parameters:
value
- the categories - Categories
-
setCategories
public void setCategories(java.util.Collection<Category> value)
Generated method - Setter of theProductPromotion.categories
attribute.- Parameters:
value
- the categories - Categories
-
addToCategories
public void addToCategories(SessionContext ctx, Category value)
Generated method - Addsvalue
to categories.- Parameters:
value
- the item to add to categories - Categories
-
addToCategories
public void addToCategories(Category value)
Generated method - Addsvalue
to categories.- Parameters:
value
- the item to add to categories - Categories
-
removeFromCategories
public void removeFromCategories(SessionContext ctx, Category value)
Generated method - Removesvalue
from categories.- Parameters:
value
- the item to remove from categories - Categories
-
removeFromCategories
public void removeFromCategories(Category value)
Generated method - Removesvalue
from categories.- Parameters:
value
- the item to remove from categories - Categories
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabled
in classItem
-
getProductBanner
public Media getProductBanner(SessionContext ctx)
Generated method - Getter of theProductPromotion.productBanner
attribute.- Returns:
- the productBanner - Media to display on the product page when this promotion is available.
-
getProductBanner
public Media getProductBanner()
Generated method - Getter of theProductPromotion.productBanner
attribute.- Returns:
- the productBanner - Media to display on the product page when this promotion is available.
-
setProductBanner
public void setProductBanner(SessionContext ctx, Media value)
Generated method - Setter of theProductPromotion.productBanner
attribute.- Parameters:
value
- the productBanner - Media to display on the product page when this promotion is available.
-
setProductBanner
public void setProductBanner(Media value)
Generated method - Setter of theProductPromotion.productBanner
attribute.- Parameters:
value
- the productBanner - Media to display on the product page when this promotion is available.
-
getProducts
public java.util.Collection<Product> getProducts(SessionContext ctx)
Generated method - Getter of theProductPromotion.products
attribute.- Returns:
- the products - Products
-
getProducts
public java.util.Collection<Product> getProducts()
Generated method - Getter of theProductPromotion.products
attribute.- Returns:
- the products - Products
-
getProductsCount
public long getProductsCount(SessionContext ctx)
-
getProductsCount
public long getProductsCount()
-
setProducts
public void setProducts(SessionContext ctx, java.util.Collection<Product> value)
Generated method - Setter of theProductPromotion.products
attribute.- Parameters:
value
- the products - Products
-
setProducts
public void setProducts(java.util.Collection<Product> value)
Generated method - Setter of theProductPromotion.products
attribute.- Parameters:
value
- the products - Products
-
addToProducts
public void addToProducts(SessionContext ctx, Product value)
Generated method - Addsvalue
to products.- Parameters:
value
- the item to add to products - Products
-
addToProducts
public void addToProducts(Product value)
Generated method - Addsvalue
to products.- Parameters:
value
- the item to add to products - Products
-
removeFromProducts
public void removeFromProducts(SessionContext ctx, Product value)
Generated method - Removesvalue
from products.- Parameters:
value
- the item to remove from products - Products
-
removeFromProducts
public void removeFromProducts(Product value)
Generated method - Removesvalue
from products.- Parameters:
value
- the item to remove from products - Products
-
-