Class CPQItemSalesDoc
java.lang.Object
de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.SimpleItemImpl
de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.ItemBaseImpl
de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.ItemSalesDoc
de.hybris.platform.sap.sapproductconfigsombol.transaction.item.businessobject.impl.CPQItemSalesDoc
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,StatusObject,Item,ItemBase,SimpleItem,CPQItem,Serializable,Cloneable,Comparable<SimpleItem>
Represents the backend's view of the configurable items of a shopping basket.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.ItemBase
ItemBase.ItemUsage -
Field Summary
Fields inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.ItemSalesDoc
alternativProductList, billStatus, copiedFromOtherItem, deliveryExists, fromCatalog, giftCard, individualText, parentHandle, paymentTerms, pricingDate, processingStatus, procStatus, rejectionCode, shipStatus, shipToLine, substitutionReasonId, systemProductId, userStatusListFields inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.ItemBaseImpl
businessObjectType, cancelable, configType, configurable, confirmedDeliveryDate, confirmedQuantity, createdAt, currency, deletable, deliveredQuantity, deliveredQuantityUnit, deliveryPriority, erroneous, freeQuantity, freightValue, grossValue, grossValueWOFreight, itemCategory, itemUsage, itmTypeUsage, latestDeliveryDate, netPrice, netPriceUnit, netQuantPriceUnit, netValue, netValueWOFreight, oldQuantity, partnerList, possibleUnits, predecessorList, priceRelevant, productExists, quantityToDeliver, reqDeliveryDate, scheduleLines, statistical, successorList, taxValue, text, totalDiscount, totalValue, variantFields inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
backendObject, backendType, bobMessages, bobState, extensionData, genericFactory, handle, moduleConfigurationAccess, techKeyFields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.Item
DELIVERY_DELAYED, DELIVERY_IN_STOCK, DELIVERY_OUT_OF_STOCK, DELIVERY_PARTLYFields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.ItemBase
ITEM_CONFIGTYPE_VARIANTFields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the given object is equals to this instance.de.hybris.platform.sap.productconfig.runtime.interf.external.Configurationde.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModelReturn product configuration representationinthashCode()Calculate the hashCode for the current instance.booleanDo we need to send the product configuration to the back end?voidsetExternalConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.external.Configuration externalConfiguration) Sets external representation of configurationvoidvoidsetProductConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel productConfiguration) Sets product configurationvoidsetProductConfigurationDirty(boolean productConfigurationDirty) States that the configuration is dirty, i.e.Methods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.ItemSalesDoc
applyAlternativeProduct, clone, createAlternativProductList, getAlternativProductList, getBillingStatus, getOverallStatus, getParentHandle, getPaymentTerms, getPricingDate, getProcessingStatus, getQuantityToPay, getRejectionCode, getShippingStatus, getShipTo, getSubstitutionReasonId, getSystemProductId, isChangeAllowed, isCopiedFromOtherItem, isFreeGood, isFromCatalog, isGiftCard, isMergeSupported, isSubItem, setAlternativProductList, setBillingStatus, setCopiedFromOtherItem, setFromCatalog, setGiftCard, setOverallStatus, setParentHandle, setPaymentTerms, setPricingDate, setProcessingStatus, setRejectionCode, setShippingStatus, setShipTo, setSubstitutionReasonId, setSystemProductId, setUserStatusList, toStringMethods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.ItemBaseImpl
addPredecessor, addSuccessor, clonePredecessorList, cloneScheduleLines, cloneSuccessorList, createConnectedDocumentItemData, createScheduleLine, createText, getConfigType, getConfirmedDeliveryDate, getConfirmedQuantity, getCreatedAt, getCurrency, getDeliveredQuantity, getDeliveredQuantityUnit, getDeliveryPriority, getFreeQuantity, getFreightValue, getGrossValue, getGrossValueWOFreight, getItemCategory, getItemUsage, getItmTypeUsage, getNetPrice, getNetPriceUnit, getNetPriceWOFreight, getNetQuantPriceUnit, getNetValue, getNetValueWOFreight, getOldQuantity, getPartnerListData, getPossibleUnits, getPredecessorList, getQuantityToDeliver, getReqDeliveryDate, getScheduleLines, getSuccessorList, getTaxValue, getText, getTotalDiscount, init, isCancelable, isConfigurable, isConfigurationDirty, isDeletable, isErroneous, isPriceRelevant, isProductEmpty, isProductExists, isStatistical, isVariant, setBusinessObjectType, setCancelable, setConfigType, setConfigurable, setConfigurableDirty, setConfirmedDeliveryDate, setConfirmedQuantity, setCreatedAt, setCurrency, setDeletable, setDeliverdQuantity, setDeliverdQuantityUnit, setDeliveryPriority, setErroneous, setFreeQuantity, setFreightValue, setGrossValue, setGrossValueWOFreight, setItemCategory, setItemUsage, setItmTypeUsage, setLatestDeliveryDate, setNetPrice, setNetPriceUnit, setNetPriceWOFreight, setNetQuantPriceUnit, setNetValue, setNetValueWOFreight, setOldQuantity, setPartnerList, setPartnerListData, setPossibleUnits, setPriceRelevant, setProductExists, setQuantity, setQuantityToDeliver, setReqDeliveryDate, setScheduleLines, setStatistical, setTaxValue, setText, setTotalDiscount, setVariantMethods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.impl.SimpleItemImpl
compareTo, getDescription, getLastQuantity, getNumberInt, getParentId, getProductGuid, getProductId, getQuantity, getTypedExtensionMap, getUnit, isProductChanged, setDescription, setNumberInt, setParentId, setProductChanged, setProductGuid, setProductId, setUnitMethods inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
addExtensionData, addMessage, clearMessages, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, determineBackendObject, getBackendBusinessObject, getBackendBusinessObject, getBackendType, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getMessageList, getModuleConfigurationAccess, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hasMessages, hasOwnMessages, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setBackendObject, setBackendType, setExtensionMap, setGenericFactory, setHandle, setInvalid, setModuleConfigurationAccess, setTechKey, setValidMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.sap.core.bol.businessobject.BusinessObject
addExtensionData, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setExtensionMap, setHandle, setInvalid, setTechKey, setValidMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.Item
applyAlternativeProduct, createAlternativProductList, getAlternativProductList, getBillingStatus, getOverallStatus, getParentHandle, getPaymentTerms, getPricingDate, getProcessingStatus, getQuantityToPay, getRejectionCode, getShippingStatus, getShipTo, getSubstitutionReasonId, getSystemProductId, isChangeAllowed, isCopiedFromOtherItem, isFreeGood, isFromCatalog, isMergeSupported, isSubItem, setAlternativProductList, setCopiedFromOtherItem, setFromCatalog, setParentHandle, setPaymentTerms, setPricingDate, setProcessingStatus, setRejectionCode, setShipTo, setSubstitutionReasonId, setSystemProductIdMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.ItemBase
addPredecessor, addSuccessor, clone, createConnectedDocumentItemData, createScheduleLine, createText, getConfigType, getConfirmedDeliveryDate, getConfirmedQuantity, getCreatedAt, getCurrency, getDeliveredQuantity, getDeliveredQuantityUnit, getDeliveryPriority, getFreeQuantity, getFreightValue, getGrossValue, getGrossValueWOFreight, getItemCategory, getItemUsage, getItmTypeUsage, getNetPrice, getNetPriceUnit, getNetPriceWOFreight, getNetQuantPriceUnit, getNetValue, getNetValueWOFreight, getOldQuantity, getPartnerListData, getPossibleUnits, getPredecessorList, getQuantityToDeliver, getReqDeliveryDate, getScheduleLines, getSuccessorList, getTaxValue, getText, getTotalDiscount, isCancelable, isConfigurable, isConfigurationDirty, isDeletable, isErroneous, isProductEmpty, isProductExists, isStatistical, isVariant, setBusinessObjectType, setCancelable, setConfigType, setConfigurable, setConfigurableDirty, setConfirmedDeliveryDate, setConfirmedQuantity, setCreatedAt, setCurrency, setDeletable, setDeliverdQuantity, setDeliverdQuantityUnit, setDeliveryPriority, setErroneous, setFreeQuantity, setFreightValue, setGrossValue, setGrossValueWOFreight, setItemCategory, setItemUsage, setItmTypeUsage, setLatestDeliveryDate, setNetPrice, setNetPriceUnit, setNetPriceWOFreight, setNetQuantPriceUnit, setNetValue, setNetValueWOFreight, setOldQuantity, setPartnerListData, setPossibleUnits, setPriceRelevant, setProductExists, setQuantityToDeliver, setReqDeliveryDate, setScheduleLines, setStatistical, setTaxValue, setText, setTotalDiscount, setVariantMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageListMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.SimpleItem
getDescription, getLastQuantity, getNumberInt, getParentId, getProductGuid, getProductId, getQuantity, getTypedExtensionMap, getUnit, isProductChanged, setDescription, setNumberInt, setParentId, setProductChanged, setProductGuid, setProductId, setQuantity, setUnitMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.StatusObject
setBillingStatus, setOverallStatus, setShippingStatus
-
Constructor Details
-
CPQItemSalesDoc
public CPQItemSalesDoc()
-
-
Method Details
-
getProductConfiguration
public de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel getProductConfiguration()Description copied from interface:CPQItemReturn product configuration representation- Specified by:
getProductConfigurationin interfaceCPQItem- Returns:
- the productConfiguration
-
setProductConfiguration
public void setProductConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel productConfiguration) Description copied from interface:CPQItemSets product configuration- Specified by:
setProductConfigurationin interfaceCPQItem- Parameters:
productConfiguration- the productConfiguration to set
-
isProductConfigurationDirty
public boolean isProductConfigurationDirty()Description copied from interface:CPQItemDo we need to send the product configuration to the back end?- Specified by:
isProductConfigurationDirtyin interfaceCPQItem- Returns:
- the productConfigurationDirty
-
setProductConfigurationDirty
public void setProductConfigurationDirty(boolean productConfigurationDirty) Description copied from interface:CPQItemStates that the configuration is dirty, i.e. needs to be sent to the backend- Specified by:
setProductConfigurationDirtyin interfaceCPQItem- Parameters:
productConfigurationDirty- the productConfigurationDirty to set
-
getExternalConfiguration
public de.hybris.platform.sap.productconfig.runtime.interf.external.Configuration getExternalConfiguration()- Specified by:
getExternalConfigurationin interfaceCPQItem- Returns:
- the externalConfiguration
-
setExternalConfiguration
public void setExternalConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.external.Configuration externalConfiguration) Description copied from interface:CPQItemSets external representation of configuration- Specified by:
setExternalConfigurationin interfaceCPQItem- Parameters:
externalConfiguration- the externalConfiguration to set
-
getKbDate
-
setKbDate
-
equals
Check if the given object is equals to this instance.- Overrides:
equalsin classItemSalesDoc- Parameters:
object- The object to check- Returns:
- TRUE if it equals or FALSE if not
-
hashCode
public int hashCode()Calculate the hashCode for the current instance.- Overrides:
hashCodein classItemSalesDoc- Returns:
- The hashCode value
-