Class GeneratedDiscount
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.jalo.order.price.GeneratedDiscount
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
Discount
Generated class for type
Discount.- 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 theDiscount.absoluteattributestatic final StringQualifier of theDiscount.codeattributestatic final StringQualifier of theDiscount.currencyattributeprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theDiscount.discountStringattributestatic final StringQualifier of theDiscount.globalattributestatic final StringQualifier of theDiscount.nameattributeprotected static StringRelation disable markmodifed parameter constants for OrderDiscountRelation from ((core))protected static StringRelation ordering override parameter constants for OrderDiscountRelation from ((core))protected static Stringstatic final StringQualifier of theDiscount.ordersattributestatic final StringQualifier of theDiscount.priorityattributestatic final StringQualifier of theDiscount.valueattributeFields 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 TypeMethodDescriptionvoidaddToOrders(AbstractOrder value) Generated method - Addsvalueto orders.voidaddToOrders(SessionContext ctx, AbstractOrder value) Generated method - Addsvalueto orders.Generated method - Getter of theDiscount.nameattribute.getAllName(SessionContext ctx) Generated method - Getter of theDiscount.nameattribute.getCode()Generated method - Getter of theDiscount.codeattribute.getCode(SessionContext ctx) Generated method - Getter of theDiscount.codeattribute.Generated method - Getter of theDiscount.currencyattribute.Generated method - Getter of theDiscount.currencyattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theDiscount.discountStringattribute.abstract StringGenerated method - Getter of theDiscount.discountStringattribute.getName()Generated method - Getter of theDiscount.nameattribute.getName(SessionContext ctx) Generated method - Getter of theDiscount.nameattribute.Generated method - Getter of theDiscount.ordersattribute.getOrders(SessionContext ctx) Generated method - Getter of theDiscount.ordersattribute.longlongGenerated method - Getter of theDiscount.priorityattribute.Generated method - Getter of theDiscount.priorityattribute.intGenerated method - Getter of theDiscount.priorityattribute.intGenerated method - Getter of theDiscount.priorityattribute.getValue()Generated method - Getter of theDiscount.valueattribute.getValue(SessionContext ctx) Generated method - Getter of theDiscount.valueattribute.doubleGenerated method - Getter of theDiscount.valueattribute.doubleGenerated method - Getter of theDiscount.valueattribute.Generated method - Getter of theDiscount.absoluteattribute.abstract BooleanisAbsolute(SessionContext ctx) Generated method - Getter of theDiscount.absoluteattribute.booleanGenerated method - Getter of theDiscount.absoluteattribute.booleanGenerated method - Getter of theDiscount.absoluteattribute.isGlobal()Generated method - Getter of theDiscount.globalattribute.isGlobal(SessionContext ctx) Generated method - Getter of theDiscount.globalattribute.booleanGenerated method - Getter of theDiscount.globalattribute.booleanGenerated method - Getter of theDiscount.globalattribute.booleanisMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.voidremoveFromOrders(AbstractOrder value) Generated method - Removesvaluefrom orders.voidremoveFromOrders(SessionContext ctx, AbstractOrder value) Generated method - Removesvaluefrom orders.voidsetAllName(SessionContext ctx, Map<Language, String> value) Generated method - Setter of theDiscount.nameattribute.voidsetAllName(Map<Language, String> value) Generated method - Setter of theDiscount.nameattribute.voidsetCode(SessionContext ctx, String value) Generated method - Setter of theDiscount.codeattribute.voidGenerated method - Setter of theDiscount.codeattribute.voidsetCurrency(Currency value) Generated method - Setter of theDiscount.currencyattribute.voidsetCurrency(SessionContext ctx, Currency value) Generated method - Setter of theDiscount.currencyattribute.voidsetGlobal(boolean value) Generated method - Setter of theDiscount.globalattribute.voidsetGlobal(SessionContext ctx, boolean value) Generated method - Setter of theDiscount.globalattribute.voidsetGlobal(SessionContext ctx, Boolean value) Generated method - Setter of theDiscount.globalattribute.voidGenerated method - Setter of theDiscount.globalattribute.voidsetName(SessionContext ctx, String value) Generated method - Setter of theDiscount.nameattribute.voidGenerated method - Setter of theDiscount.nameattribute.voidsetOrders(SessionContext ctx, Collection<AbstractOrder> value) Generated method - Setter of theDiscount.ordersattribute.voidsetOrders(Collection<AbstractOrder> value) Generated method - Setter of theDiscount.ordersattribute.voidsetPriority(int value) Generated method - Setter of theDiscount.priorityattribute.voidsetPriority(SessionContext ctx, int value) Generated method - Setter of theDiscount.priorityattribute.voidsetPriority(SessionContext ctx, Integer value) Generated method - Setter of theDiscount.priorityattribute.voidsetPriority(Integer value) Generated method - Setter of theDiscount.priorityattribute.voidsetValue(double value) Generated method - Setter of theDiscount.valueattribute.voidsetValue(SessionContext ctx, double value) Generated method - Setter of theDiscount.valueattribute.voidsetValue(SessionContext ctx, Double value) Generated method - Setter of theDiscount.valueattribute.voidGenerated method - Setter of theDiscount.valueattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
createItem, 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, 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, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
ABSOLUTE
Qualifier of theDiscount.absoluteattribute- See Also:
-
CODE
Qualifier of theDiscount.codeattribute- See Also:
-
CURRENCY
Qualifier of theDiscount.currencyattribute- See Also:
-
GLOBAL
Qualifier of theDiscount.globalattribute- See Also:
-
NAME
Qualifier of theDiscount.nameattribute- See Also:
-
PRIORITY
Qualifier of theDiscount.priorityattribute- See Also:
-
VALUE
Qualifier of theDiscount.valueattribute- See Also:
-
DISCOUNTSTRING
Qualifier of theDiscount.discountStringattribute- See Also:
-
ORDERS
Qualifier of theDiscount.ordersattribute- See Also:
-
ORDERDISCOUNTRELATION_SRC_ORDERED
Relation ordering override parameter constants for OrderDiscountRelation from ((core)) -
ORDERDISCOUNTRELATION_TGT_ORDERED
-
ORDERDISCOUNTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for OrderDiscountRelation from ((core)) -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedDiscount
public GeneratedDiscount()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
isAbsolute
Generated method - Getter of theDiscount.absoluteattribute.- Returns:
- the absolute
-
isAbsolute
Generated method - Getter of theDiscount.absoluteattribute.- Returns:
- the absolute
-
isAbsoluteAsPrimitive
Generated method - Getter of theDiscount.absoluteattribute.- Returns:
- the absolute
-
isAbsoluteAsPrimitive
public boolean isAbsoluteAsPrimitive()Generated method - Getter of theDiscount.absoluteattribute.- Returns:
- the absolute
-
getCode
Generated method - Getter of theDiscount.codeattribute.- Returns:
- the code
-
getCode
Generated method - Getter of theDiscount.codeattribute.- Returns:
- the code
-
setCode
Generated method - Setter of theDiscount.codeattribute.- Parameters:
value- the code- Throws:
ConsistencyCheckException
-
setCode
Generated method - Setter of theDiscount.codeattribute.- Parameters:
value- the code- Throws:
ConsistencyCheckException
-
getCurrency
Generated method - Getter of theDiscount.currencyattribute.- Returns:
- the currency
-
getCurrency
Generated method - Getter of theDiscount.currencyattribute.- Returns:
- the currency
-
setCurrency
Generated method - Setter of theDiscount.currencyattribute.- Parameters:
value- the currency
-
setCurrency
Generated method - Setter of theDiscount.currencyattribute.- Parameters:
value- the currency
-
getDiscountString
Generated method - Getter of theDiscount.discountStringattribute.- Returns:
- the discountString
-
getDiscountString
Generated method - Getter of theDiscount.discountStringattribute.- Returns:
- the discountString
-
isGlobal
Generated method - Getter of theDiscount.globalattribute.- Returns:
- the global
-
isGlobal
Generated method - Getter of theDiscount.globalattribute.- Returns:
- the global
-
isGlobalAsPrimitive
Generated method - Getter of theDiscount.globalattribute.- Returns:
- the global
-
isGlobalAsPrimitive
public boolean isGlobalAsPrimitive()Generated method - Getter of theDiscount.globalattribute.- Returns:
- the global
-
setGlobal
Generated method - Setter of theDiscount.globalattribute.- Parameters:
value- the global
-
setGlobal
Generated method - Setter of theDiscount.globalattribute.- Parameters:
value- the global
-
setGlobal
Generated method - Setter of theDiscount.globalattribute.- Parameters:
value- the global
-
setGlobal
public void setGlobal(boolean value) Generated method - Setter of theDiscount.globalattribute.- Parameters:
value- the global
-
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
-
getName
Generated method - Getter of theDiscount.nameattribute.- Returns:
- the name
-
getName
Generated method - Getter of theDiscount.nameattribute.- Returns:
- the name
-
getAllName
Generated method - Getter of theDiscount.nameattribute.- Returns:
- the localized name
-
getAllName
Generated method - Getter of theDiscount.nameattribute.- Returns:
- the localized name
-
setName
Generated method - Setter of theDiscount.nameattribute.- Parameters:
value- the name
-
setName
Generated method - Setter of theDiscount.nameattribute.- Parameters:
value- the name
-
setAllName
Generated method - Setter of theDiscount.nameattribute.- Parameters:
value- the name
-
setAllName
Generated method - Setter of theDiscount.nameattribute.- Parameters:
value- the name
-
getOrders
Generated method - Getter of theDiscount.ordersattribute.- Returns:
- the orders
-
getOrders
Generated method - Getter of theDiscount.ordersattribute.- Returns:
- the orders
-
getOrdersCount
-
getOrdersCount
public long getOrdersCount() -
setOrders
Generated method - Setter of theDiscount.ordersattribute.- Parameters:
value- the orders
-
setOrders
Generated method - Setter of theDiscount.ordersattribute.- Parameters:
value- the orders
-
addToOrders
Generated method - Addsvalueto orders.- Parameters:
value- the item to add to orders
-
addToOrders
Generated method - Addsvalueto orders.- Parameters:
value- the item to add to orders
-
removeFromOrders
Generated method - Removesvaluefrom orders.- Parameters:
value- the item to remove from orders
-
removeFromOrders
Generated method - Removesvaluefrom orders.- Parameters:
value- the item to remove from orders
-
getPriority
Generated method - Getter of theDiscount.priorityattribute.- Returns:
- the priority
-
getPriority
Generated method - Getter of theDiscount.priorityattribute.- Returns:
- the priority
-
getPriorityAsPrimitive
Generated method - Getter of theDiscount.priorityattribute.- Returns:
- the priority
-
getPriorityAsPrimitive
public int getPriorityAsPrimitive()Generated method - Getter of theDiscount.priorityattribute.- Returns:
- the priority
-
setPriority
Generated method - Setter of theDiscount.priorityattribute.- Parameters:
value- the priority
-
setPriority
Generated method - Setter of theDiscount.priorityattribute.- Parameters:
value- the priority
-
setPriority
Generated method - Setter of theDiscount.priorityattribute.- Parameters:
value- the priority
-
setPriority
public void setPriority(int value) Generated method - Setter of theDiscount.priorityattribute.- Parameters:
value- the priority
-
getValue
Generated method - Getter of theDiscount.valueattribute.- Returns:
- the value
-
getValue
Generated method - Getter of theDiscount.valueattribute.- Returns:
- the value
-
getValueAsPrimitive
Generated method - Getter of theDiscount.valueattribute.- Returns:
- the value
-
getValueAsPrimitive
public double getValueAsPrimitive()Generated method - Getter of theDiscount.valueattribute.- Returns:
- the value
-
setValue
Generated method - Setter of theDiscount.valueattribute.- Parameters:
value- the value
-
setValue
Generated method - Setter of theDiscount.valueattribute.- Parameters:
value- the value
-
setValue
Generated method - Setter of theDiscount.valueattribute.- Parameters:
value- the value
-
setValue
public void setValue(double value) Generated method - Setter of theDiscount.valueattribute.- Parameters:
value- the value
-
Utilities.getMarkModifiedOverride(de.hybris.platform.jalo.type.RelationType)