Class PromotionCart
- 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.GeneratedAbstractOrder
-
- de.hybris.platform.jalo.order.AbstractOrder
-
- de.hybris.platform.jalo.order.GeneratedCart
-
- de.hybris.platform.jalo.order.Cart
-
- de.hybris.platform.promotions.jalo.order.PromotionCart
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
public class PromotionCart extends Cart
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.order.AbstractOrder
AbstractOrder.DELIVERY_STATUS, AbstractOrder.EXPORT_STATUS, AbstractOrder.ORDER_STATUS, AbstractOrder.PAYMENT_STATUS
-
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 inherited from class de.hybris.platform.jalo.order.Cart
END_DATE, START_DATE
-
Fields inherited from class de.hybris.platform.jalo.order.GeneratedCart
DEFAULT_INITIAL_ATTRIBUTES, ENTRIESHANDLER, SESSIONID, USERHANDLER
-
Fields inherited from class de.hybris.platform.jalo.order.AbstractOrder
APPEND_AS_LAST, CFG_TAX_FREE_ENTRIES_SUPPORT, DELIVERY_ADDRESS, DELIVERY_COST, DELIVERY_MODE, DELIVERY_STATUS, DELIVERY_STATUS_TYPE, EXPORT_STATUS, EXPORT_STATUS_TYPE, GLOBAL_DISCOUNT_VALUES, ORDER_DISCOUNT_RELATION_NAME, ORDER_STATUS_TYPE, PAYMENT_ADDRESS, PAYMENT_COST, PAYMENT_INFO, PAYMENT_MODE, PAYMENT_STATUS, PAYMENT_STATUS_TYPE, STATUS_INFO, TOTAL, TOTAL_DISCOUNTS, TOTAL_TAX, TOTAL_TAX_VALUES
-
Fields inherited from class de.hybris.platform.jalo.order.GeneratedAbstractOrder
CALCULATED, CODE, CURRENCY, DATE, DELIVERYADDRESS, DELIVERYCOST, DELIVERYMODE, DELIVERYSTATUS, DESCRIPTION, DISCOUNTS, DISCOUNTSINCLUDEDELIVERYCOST, DISCOUNTSINCLUDEPAYMENTCOST, ENTRIES, ENTRYGROUPS, EXPIRATIONTIME, EXPORTSTATUS, GLOBALDISCOUNTVALUESINTERNAL, NAME, NET, ORDERDISCOUNTRELATION_MARKMODIFIED, ORDERDISCOUNTRELATION_SRC_ORDERED, ORDERDISCOUNTRELATION_TGT_ORDERED, PAYMENTADDRESS, PAYMENTCOST, PAYMENTINFO, PAYMENTMODE, PAYMENTSTATUS, STATUS, STATUSINFO, SUBTOTAL, TOTALDISCOUNTS, TOTALPRICE, TOTALTAX, TOTALTAXVALUESINTERNAL, USER
-
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 PromotionCart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getAttribute(SessionContext ctx, java.lang.String qualifier)
Returns the attribute value for a single item attribute with a specified session context.-
Methods inherited from class de.hybris.platform.jalo.order.Cart
createItem, createNewEntry, getAbstractOrderEntryTypeCode
-
Methods inherited from class de.hybris.platform.jalo.order.GeneratedCart
addToEntries, addToEntries, getDefaultAttributeModes, getEntries, getEntries, getSessionId, getSessionId, removeFromEntries, removeFromEntries, setEntries, setEntries, setSessionId, setSessionId
-
Methods inherited from class de.hybris.platform.jalo.order.AbstractOrder
addAbsoluteEntryTaxValue, addAllGlobalDiscountValues, addAllGlobalDiscountValues, addAllTotalTaxValues, addAllTotalTaxValues, addDiscount, addGlobalDiscountValue, addGlobalDiscountValue, addNewEntry, addNewEntry, addNewEntry, addNewEntry, addRelativeEntryTaxValue, addTotalTaxValue, addTotalTaxValue, calculate, calculate, calculateAbsoluteTotalTaxValue, calculateDiscountValues, calculateEntries, calculateSubtotal, calculateTotals, calculateTotals, calculateTotalTaxValues, convertDiscountValues, createEntryInformation, createNewDeliveryAddress, createNewDeliveryAddress, createNewEntryNumber, createNewPaymentAddress, createNewPaymentAddress, discountsIncludeDeliveryCosts, discountsIncludePaymentCosts, doSetDeliveryAddress, doSetPaymentAddress, findDeliveryCosts, findGlobalDiscounts, findPaymentCosts, getAllEntries, getAttributeValue, getCustomEntryType, getDate, getDeliveryCosts, getDeliveryCosts, getEntries, getEntriesByProduct, getEntry, getGlobalDiscountValues, getGlobalDiscountValues, getNewEntryNumberForAppending, getNextEntryNumber, getPaymentCosts, getPaymentCosts, getTotal, getTotal, getTotalDiscounts, getTotalTax, getTotalTaxValues, getTotalTaxValues, isCalculated, isCalculated, isNet, notifyDiscountsAboutCalculation, notifyDiscountsAboutRemoval, recalculate, recalculate, recalculateEntries, remove, removeAllEntries, removeAllGlobalDiscountValues, removeAllGlobalDiscountValues, removeAllTotalTaxValues, removeAllTotalTaxValues, removeDiscount, removeEntries, removeEntry, removeGlobalDiscountValue, removeGlobalDiscountValue, removeTotalTaxValue, removeTotalTaxValue, resetAdditionalCosts, resetAllValues, setAllEntries, setChanged, setCode, setCode, setComposedType, setCurrency, setCurrency, setDate, setDate, setDeliveryAddress, setDeliveryAddress, setDeliveryCost, setDeliveryCosts, setDeliveryCosts, setDeliveryMode, setDeliveryMode, setDeliveryStatus, setDeliveryStatus, setDiscountsIncludeDeliveryCost, setDiscountsIncludeDeliveryCosts, setDiscountsIncludePaymentCost, setDiscountsIncludePaymentCosts, setGlobalDiscountValues, setGlobalDiscountValues, setNet, setNet, setPaymentAddress, setPaymentAddress, setPaymentCost, setPaymentCosts, setPaymentCosts, setPaymentMode, setPaymentMode, setPaymentStatus, setPaymentStatus, setStatus, setStatus, setTotal, setTotal, setTotalTaxValues, setTotalTaxValues, setUser, setUser, shuffleEntriesOnInsertNew, tryToFindFallbackLanguage
-
Methods inherited from class de.hybris.platform.jalo.order.GeneratedAbstractOrder
addToDiscounts, addToDiscounts, addToEntries, addToEntries, getCode, getCode, getCurrency, getCurrency, getDate, getDeliveryAddress, getDeliveryAddress, getDeliveryCost, getDeliveryCost, getDeliveryCostAsPrimitive, getDeliveryCostAsPrimitive, getDeliveryMode, getDeliveryMode, getDeliveryStatus, getDeliveryStatus, getDescription, getDescription, getDiscounts, getDiscounts, getDiscountsCount, getDiscountsCount, getEntryGroups, getEntryGroups, getExpirationTime, getExpirationTime, getExportStatus, getExportStatus, getGlobalDiscountValuesInternal, getGlobalDiscountValuesInternal, getName, getName, getPaymentAddress, getPaymentAddress, getPaymentCost, getPaymentCost, getPaymentCostAsPrimitive, getPaymentCostAsPrimitive, getPaymentInfo, getPaymentInfo, getPaymentMode, getPaymentMode, getPaymentStatus, getPaymentStatus, getStatus, getStatus, getStatusInfo, getStatusInfo, getSubtotal, getSubtotal, getSubtotalAsPrimitive, getSubtotalAsPrimitive, getTotalDiscounts, getTotalDiscountsAsPrimitive, getTotalDiscountsAsPrimitive, getTotalPrice, getTotalPrice, getTotalPriceAsPrimitive, getTotalPriceAsPrimitive, getTotalTax, getTotalTaxAsPrimitive, getTotalTaxAsPrimitive, getTotalTaxValuesInternal, getTotalTaxValuesInternal, getUser, getUser, isCalculatedAsPrimitive, isCalculatedAsPrimitive, isDiscountsIncludeDeliveryCost, isDiscountsIncludeDeliveryCost, isDiscountsIncludeDeliveryCostAsPrimitive, isDiscountsIncludeDeliveryCostAsPrimitive, isDiscountsIncludePaymentCost, isDiscountsIncludePaymentCost, isDiscountsIncludePaymentCostAsPrimitive, isDiscountsIncludePaymentCostAsPrimitive, isMarkModifiedDisabled, isNet, isNetAsPrimitive, isNetAsPrimitive, removeFromDiscounts, removeFromDiscounts, removeFromEntries, removeFromEntries, setCalculated, setCalculated, setCalculated, setCalculated, setDeliveryCost, setDeliveryCost, setDeliveryCost, setDescription, setDescription, setDiscounts, setDiscounts, setDiscountsIncludeDeliveryCost, setDiscountsIncludeDeliveryCost, setDiscountsIncludeDeliveryCost, setDiscountsIncludePaymentCost, setDiscountsIncludePaymentCost, setDiscountsIncludePaymentCost, setEntryGroups, setEntryGroups, setExpirationTime, setExpirationTime, setExportStatus, setExportStatus, setGlobalDiscountValuesInternal, setGlobalDiscountValuesInternal, setName, setName, setNet, setNet, setPaymentCost, setPaymentCost, setPaymentCost, setPaymentInfo, setPaymentInfo, setStatusInfo, setStatusInfo, setSubtotal, setSubtotal, setSubtotal, setSubtotal, setTotalDiscounts, setTotalDiscounts, setTotalDiscounts, setTotalDiscounts, setTotalPrice, setTotalPrice, setTotalPrice, setTotalPrice, setTotalTax, setTotalTax, setTotalTax, setTotalTax, setTotalTaxValuesInternal, setTotalTaxValuesInternal
-
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, 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, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Method Detail
-
getAttribute
public java.lang.Object getAttribute(SessionContext ctx, java.lang.String qualifier) throws JaloSecurityException
Description copied from class:Item
Returns the attribute value for a single item attribute with a specified session context.- Overrides:
getAttribute
in classItem
- Parameters:
ctx
- the session context defining the language to fetch the value for (applies for to localized attributes only )qualifier
- the attribute qualifier (case insensitive)- Throws:
JaloSecurityException
- in case it is not allowed to read this attribute
-
-