Class SapProductAvailabilityBOImpl
java.lang.Object
de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
de.hybris.platform.sap.sapproductavailability.businessobject.impl.SapProductAvailabilityBOImpl
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,SapProductAvailabilityBO,Serializable,Cloneable
public class SapProductAvailabilityBOImpl
extends BusinessObjectBase
implements SapProductAvailabilityBO
- See Also:
-
Field Summary
Fields 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.core.common.message.MessageListHolder
INVALID, VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadPlant(ProductModel product, String customerId) Returns the plant name given information about a product.readPlantForCustomerMaterial(String material, String customerId) Gets the plant from the customer material record.readProductAvailability(ProductModel product, String customerId, String plant, Long requestedQuantity) reads the current stock level for a product + future available quantitiesMethods inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
addExtensionData, addMessage, clearMessages, clearMessages, clearOwnMessages, clone, copyMessages, copyMessages, createUniqueHandle, destroy, determineBackendObject, equals, getBackendBusinessObject, getBackendBusinessObject, getBackendType, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getMessageList, getModuleConfigurationAccess, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hashCode, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setBackendObject, setBackendType, setExtensionMap, setGenericFactory, setHandle, setInvalid, setModuleConfigurationAccess, setTechKey, setValid, toString
-
Constructor Details
-
SapProductAvailabilityBOImpl
public SapProductAvailabilityBOImpl()
-
-
Method Details
-
getSapProductAvailabilityBackend
- Returns:
- the sapProductAvailabilityBackend
- Throws:
BackendException
-
readProductAvailability
public SapProductAvailability readProductAvailability(ProductModel product, String customerId, String plant, Long requestedQuantity) Description copied from interface:SapProductAvailabilityBOreads the current stock level for a product + future available quantities- Specified by:
readProductAvailabilityin interfaceSapProductAvailabilityBO- Returns:
-
readPlantForCustomerMaterial
Description copied from interface:SapProductAvailabilityBOGets the plant from the customer material record. Uses RFC BAPI_CUSTMATINFO_GETDETAILM.- Specified by:
readPlantForCustomerMaterialin interfaceSapProductAvailabilityBO- Returns:
- Plant
-
readPlant
Description copied from interface:SapProductAvailabilityBOReturns the plant name given information about a product.- Specified by:
readPlantin interfaceSapProductAvailabilityBO- Returns:
- String plant
-