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.StringCATEGORIESQualifier of theProductPromotion.categoriesattributeprotected static java.lang.StringCATEGORYPROMOTIONRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for CategoryPromotionRelation from ((promotions))protected static java.lang.StringCATEGORYPROMOTIONRELATION_SRC_ORDEREDRelation ordering override parameter constants for CategoryPromotionRelation from ((promotions))protected static java.lang.StringCATEGORYPROMOTIONRELATION_TGT_ORDEREDprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringPRODUCTBANNERQualifier of theProductPromotion.productBannerattributeprotected static java.lang.StringPRODUCTPROMOTIONRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for ProductPromotionRelation from ((promotions))protected static java.lang.StringPRODUCTPROMOTIONRELATION_SRC_ORDEREDRelation ordering override parameter constants for ProductPromotionRelation from ((promotions))protected static java.lang.StringPRODUCTPROMOTIONRELATION_TGT_ORDEREDstatic java.lang.StringPRODUCTSQualifier of theProductPromotion.productsattribute-
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 voidaddToCategories(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.java.util.Collection<Category>getCategories()Generated method - Getter of theProductPromotion.categoriesattribute.java.util.Collection<Category>getCategories(SessionContext ctx)Generated method - Getter of theProductPromotion.categoriesattribute.longgetCategoriesCount()longgetCategoriesCount(SessionContext ctx)protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()MediagetProductBanner()Generated method - Getter of theProductPromotion.productBannerattribute.MediagetProductBanner(SessionContext ctx)Generated method - Getter of theProductPromotion.productBannerattribute.java.util.Collection<Product>getProducts()Generated method - Getter of theProductPromotion.productsattribute.java.util.Collection<Product>getProducts(SessionContext ctx)Generated method - Getter of theProductPromotion.productsattribute.longgetProductsCount()longgetProductsCount(SessionContext ctx)booleanisMarkModifiedDisabled(Item referencedItem)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, java.util.Collection<Category> value)Generated method - Setter of theProductPromotion.categoriesattribute.voidsetCategories(java.util.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, java.util.Collection<Product> value)Generated method - Setter of theProductPromotion.productsattribute.voidsetProducts(java.util.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, 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.productBannerattribute- See Also:
- Constant Field Values
-
PRODUCTS
public static final java.lang.String PRODUCTS
Qualifier of theProductPromotion.productsattribute- 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.categoriesattribute- 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:
getDefaultAttributeModesin classGeneratedAbstractPromotion
-
getCategories
public java.util.Collection<Category> getCategories(SessionContext ctx)
Generated method - Getter of theProductPromotion.categoriesattribute.- Returns:
- the categories - Categories
-
getCategories
public java.util.Collection<Category> getCategories()
Generated method - Getter of theProductPromotion.categoriesattribute.- 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.categoriesattribute.- Parameters:
value- the categories - Categories
-
setCategories
public void setCategories(java.util.Collection<Category> value)
Generated method - Setter of theProductPromotion.categoriesattribute.- Parameters:
value- the categories - Categories
-
addToCategories
public void addToCategories(SessionContext ctx, Category value)
Generated method - Addsvalueto categories.- Parameters:
value- the item to add to categories - Categories
-
addToCategories
public void addToCategories(Category value)
Generated method - Addsvalueto categories.- Parameters:
value- the item to add to categories - Categories
-
removeFromCategories
public void removeFromCategories(SessionContext ctx, Category value)
Generated method - Removesvaluefrom categories.- Parameters:
value- the item to remove from categories - Categories
-
removeFromCategories
public void removeFromCategories(Category value)
Generated method - Removesvaluefrom categories.- Parameters:
value- the item to remove from categories - Categories
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabledin classItem
-
getProductBanner
public Media getProductBanner(SessionContext ctx)
Generated method - Getter of theProductPromotion.productBannerattribute.- Returns:
- the productBanner - Media to display on the product page when this promotion is available.
-
getProductBanner
public Media getProductBanner()
Generated method - Getter of theProductPromotion.productBannerattribute.- 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.productBannerattribute.- 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.productBannerattribute.- 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.productsattribute.- Returns:
- the products - Products
-
getProducts
public java.util.Collection<Product> getProducts()
Generated method - Getter of theProductPromotion.productsattribute.- 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.productsattribute.- Parameters:
value- the products - Products
-
setProducts
public void setProducts(java.util.Collection<Product> value)
Generated method - Setter of theProductPromotion.productsattribute.- Parameters:
value- the products - Products
-
addToProducts
public void addToProducts(SessionContext ctx, Product value)
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products - Products
-
addToProducts
public void addToProducts(Product value)
Generated method - Addsvalueto products.- Parameters:
value- the item to add to products - Products
-
removeFromProducts
public void removeFromProducts(SessionContext ctx, Product value)
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products - Products
-
removeFromProducts
public void removeFromProducts(Product value)
Generated method - Removesvaluefrom products.- Parameters:
value- the item to remove from products - Products
-
-