Class GeneratedInMemoryCart
- 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.servicelayer.internal.jalo.order.GeneratedInMemoryCart
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
InMemoryCart
public abstract class GeneratedInMemoryCart extends Cart
Generated class for typeInMemoryCart
.- 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 Modifier and Type Field Description protected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
protected static OneToManyHandler<AbstractOrderEntry>
ENTRIESHANDLER
OneToManyHandler
for handling 1:n ENTRIES's relation attributes from 'many' side.-
Fields inherited from class de.hybris.platform.jalo.order.Cart
END_DATE, START_DATE
-
Fields inherited from class de.hybris.platform.jalo.order.GeneratedCart
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 GeneratedInMemoryCart()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToEntries(SessionContext ctx, InMemoryCartEntry value)
Generated method - Addsvalue
to entries.void
addToEntries(InMemoryCartEntry value)
Generated method - Addsvalue
to entries.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.util.List<AbstractOrderEntry>
getEntries()
Generated method - Getter of theInMemoryCart.entries
attribute.java.util.List<AbstractOrderEntry>
getEntries(SessionContext ctx)
Generated method - Getter of theInMemoryCart.entries
attribute.void
removeFromEntries(SessionContext ctx, InMemoryCartEntry value)
Generated method - Removesvalue
from entries.void
removeFromEntries(InMemoryCartEntry value)
Generated method - Removesvalue
from entries.void
setEntries(SessionContext ctx, java.util.List<AbstractOrderEntry> value)
Generated method - Setter of theInMemoryCart.entries
attribute.void
setEntries(java.util.List<AbstractOrderEntry> value)
Generated method - Setter of theInMemoryCart.entries
attribute.-
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, getSessionId, getSessionId, removeFromEntries, removeFromEntries, 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, 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
-
-
-
-
Field Detail
-
ENTRIESHANDLER
protected static final OneToManyHandler<AbstractOrderEntry> ENTRIESHANDLER
OneToManyHandler
for handling 1:n ENTRIES's relation attributes from 'many' side.
-
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 classGeneratedCart
-
getEntries
public java.util.List<AbstractOrderEntry> getEntries(SessionContext ctx)
Generated method - Getter of theInMemoryCart.entries
attribute.- Overrides:
getEntries
in classGeneratedCart
- Returns:
- the entries
-
getEntries
public java.util.List<AbstractOrderEntry> getEntries()
Generated method - Getter of theInMemoryCart.entries
attribute.- Overrides:
getEntries
in classGeneratedCart
- Returns:
- the entries
-
setEntries
public void setEntries(SessionContext ctx, java.util.List<AbstractOrderEntry> value)
Generated method - Setter of theInMemoryCart.entries
attribute.- Overrides:
setEntries
in classGeneratedCart
- Parameters:
value
- the entries
-
setEntries
public void setEntries(java.util.List<AbstractOrderEntry> value)
Generated method - Setter of theInMemoryCart.entries
attribute.- Overrides:
setEntries
in classGeneratedCart
- Parameters:
value
- the entries
-
addToEntries
public void addToEntries(SessionContext ctx, InMemoryCartEntry value)
Generated method - Addsvalue
to entries.- Parameters:
value
- the item to add to entries
-
addToEntries
public void addToEntries(InMemoryCartEntry value)
Generated method - Addsvalue
to entries.- Parameters:
value
- the item to add to entries
-
removeFromEntries
public void removeFromEntries(SessionContext ctx, InMemoryCartEntry value)
Generated method - Removesvalue
from entries.- Parameters:
value
- the item to remove from entries
-
removeFromEntries
public void removeFromEntries(InMemoryCartEntry value)
Generated method - Removesvalue
from entries.- Parameters:
value
- the item to remove from entries
-
-