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,java.io.Serializable,java.lang.Cloneable,java.lang.Comparable<SimpleItem>
public class CPQItemSalesDoc extends ItemSalesDoc implements CPQItem
Represents the backend's view of the configurable items of a shopping basket.- See Also:
- Serialized Form
-
-
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, userStatusList
-
Fields 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, variant
-
Fields inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
backendObject, backendType, bobMessages, bobState, extensionData, genericFactory, handle, moduleConfigurationAccess, techKey
-
Fields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.Item
DELIVERY_DELAYED, DELIVERY_IN_STOCK, DELIVERY_OUT_OF_STOCK, DELIVERY_PARTLY
-
Fields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.item.businessobject.interf.ItemBase
ITEM_CONFIGTYPE_VARIANT
-
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID
-
-
Constructor Summary
Constructors Constructor Description CPQItemSalesDoc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)Check if the given object is equals to this instance.ConfigurationgetExternalConfiguration()java.util.DategetKbDate()ConfigModelgetProductConfiguration()Return product configuration representationinthashCode()Calculate the hashCode for the current instance.booleanisProductConfigurationDirty()Do we need to send the product configuration to the back end?voidsetExternalConfiguration(Configuration externalConfiguration)Sets external representation of configurationvoidsetKbDate(java.util.Date kbDate)voidsetProductConfiguration(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, toString
-
Methods 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, setVariant
-
Methods 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, setUnit
-
Methods 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, setValid
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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, setValid
-
Methods 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, setSystemProductId
-
Methods 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, setVariant
-
Methods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageList
-
Methods 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, setUnit
-
Methods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.businessobject.interf.StatusObject
setBillingStatus, setOverallStatus, setShippingStatus
-
-
-
-
Method Detail
-
getProductConfiguration
public ConfigModel getProductConfiguration()
Description copied from interface:CPQItemReturn product configuration representation- Specified by:
getProductConfigurationin interfaceCPQItem- Returns:
- the productConfiguration
-
setProductConfiguration
public void setProductConfiguration(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 Configuration getExternalConfiguration()
- Specified by:
getExternalConfigurationin interfaceCPQItem- Returns:
- the externalConfiguration
-
setExternalConfiguration
public void setExternalConfiguration(Configuration externalConfiguration)
Description copied from interface:CPQItemSets external representation of configuration- Specified by:
setExternalConfigurationin interfaceCPQItem- Parameters:
externalConfiguration- the externalConfiguration to set
-
getKbDate
public java.util.Date getKbDate()
-
setKbDate
public void setKbDate(java.util.Date kbDate)
-
equals
public boolean equals(java.lang.Object object)
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
-
-